Loading include/media/stagefright/ACodec.h +12 −3 Original line number Diff line number Diff line Loading @@ -43,11 +43,20 @@ struct DescribeColorFormat2Params; struct DataConverter; // Treble shared memory namespace hidl { namespace memory { namespace V1_0 { namespace hidl { namespace allocator { namespace V1_0 { struct IAllocator; } // V1_0 } // allocator namespace memory { namespace V1_0 { struct IMemory; }}}; typedef hidl::memory::V1_0::IAllocator TAllocator; } // V1_0 } // memory } // hidl typedef hidl::allocator::V1_0::IAllocator TAllocator; typedef hidl::memory::V1_0::IMemory TMemory; struct ACodec : public AHierarchicalStateMachine, public CodecBase { Loading media/libaudiohal/Android.mk +1 −0 Original line number Diff line number Diff line Loading @@ -45,6 +45,7 @@ LOCAL_SHARED_LIBRARIES += \ android.hardware.audio.common@2.0 \ android.hardware.audio.common@2.0-util \ android.hardware.audio.effect@2.0 \ android.hidl.allocator@1.0 \ android.hidl.memory@1.0 \ libmedia_helper \ libmediautils Loading media/libaudiohal/EffectBufferHalHidl.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ #define LOG_TAG "EffectBufferHalHidl" //#define LOG_NDEBUG 0 #include <android/hidl/memory/1.0/IAllocator.h> #include <android/hidl/allocator/1.0/IAllocator.h> #include <hidlmemory/mapping.h> #include <utils/Log.h> Loading @@ -28,7 +28,7 @@ using ::android::hardware::Return; using ::android::hardware::Status; using ::android::hidl::memory::V1_0::IAllocator; using ::android::hidl::allocator::V1_0::IAllocator; namespace android { Loading media/libaudiohal/EffectsFactoryHalHidl.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ #define LOG_TAG "EffectsFactoryHalHidl" //#define LOG_NDEBUG 0 #include <android/hidl/memory/1.0/IAllocator.h> #include <android/hidl/allocator/1.0/IAllocator.h> #include <cutils/native_handle.h> #include <hidl/ServiceManagement.h> #include <media/EffectsFactoryApi.h> Loading Loading @@ -50,7 +50,7 @@ EffectsFactoryHalHidl::EffectsFactoryHalHidl() : ConversionHelperHidl("EffectsFa // TODO: Waiting should not be needed (b/34772726). // Also remove include of IAllocator.h and ServiceManagement.h android::hardware::details::waitForHwService( hidl::memory::V1_0::IAllocator::descriptor, "ashmem"); hidl::allocator::V1_0::IAllocator::descriptor, "ashmem"); } EffectsFactoryHalHidl::~EffectsFactoryHalHidl() { Loading media/libstagefright/ACodec.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ #include "include/SharedMemoryBuffer.h" #include "omx/OMXUtils.h" #include <android/hidl/memory/1.0/IAllocator.h> #include <android/hidl/allocator/1.0/IAllocator.h> #include <android/hidl/memory/1.0/IMemory.h> #include "omx/hal/1.0/utils/WOmxNode.h" Loading Loading
include/media/stagefright/ACodec.h +12 −3 Original line number Diff line number Diff line Loading @@ -43,11 +43,20 @@ struct DescribeColorFormat2Params; struct DataConverter; // Treble shared memory namespace hidl { namespace memory { namespace V1_0 { namespace hidl { namespace allocator { namespace V1_0 { struct IAllocator; } // V1_0 } // allocator namespace memory { namespace V1_0 { struct IMemory; }}}; typedef hidl::memory::V1_0::IAllocator TAllocator; } // V1_0 } // memory } // hidl typedef hidl::allocator::V1_0::IAllocator TAllocator; typedef hidl::memory::V1_0::IMemory TMemory; struct ACodec : public AHierarchicalStateMachine, public CodecBase { Loading
media/libaudiohal/Android.mk +1 −0 Original line number Diff line number Diff line Loading @@ -45,6 +45,7 @@ LOCAL_SHARED_LIBRARIES += \ android.hardware.audio.common@2.0 \ android.hardware.audio.common@2.0-util \ android.hardware.audio.effect@2.0 \ android.hidl.allocator@1.0 \ android.hidl.memory@1.0 \ libmedia_helper \ libmediautils Loading
media/libaudiohal/EffectBufferHalHidl.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ #define LOG_TAG "EffectBufferHalHidl" //#define LOG_NDEBUG 0 #include <android/hidl/memory/1.0/IAllocator.h> #include <android/hidl/allocator/1.0/IAllocator.h> #include <hidlmemory/mapping.h> #include <utils/Log.h> Loading @@ -28,7 +28,7 @@ using ::android::hardware::Return; using ::android::hardware::Status; using ::android::hidl::memory::V1_0::IAllocator; using ::android::hidl::allocator::V1_0::IAllocator; namespace android { Loading
media/libaudiohal/EffectsFactoryHalHidl.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ #define LOG_TAG "EffectsFactoryHalHidl" //#define LOG_NDEBUG 0 #include <android/hidl/memory/1.0/IAllocator.h> #include <android/hidl/allocator/1.0/IAllocator.h> #include <cutils/native_handle.h> #include <hidl/ServiceManagement.h> #include <media/EffectsFactoryApi.h> Loading Loading @@ -50,7 +50,7 @@ EffectsFactoryHalHidl::EffectsFactoryHalHidl() : ConversionHelperHidl("EffectsFa // TODO: Waiting should not be needed (b/34772726). // Also remove include of IAllocator.h and ServiceManagement.h android::hardware::details::waitForHwService( hidl::memory::V1_0::IAllocator::descriptor, "ashmem"); hidl::allocator::V1_0::IAllocator::descriptor, "ashmem"); } EffectsFactoryHalHidl::~EffectsFactoryHalHidl() { Loading
media/libstagefright/ACodec.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ #include "include/SharedMemoryBuffer.h" #include "omx/OMXUtils.h" #include <android/hidl/memory/1.0/IAllocator.h> #include <android/hidl/allocator/1.0/IAllocator.h> #include <android/hidl/memory/1.0/IMemory.h> #include "omx/hal/1.0/utils/WOmxNode.h" Loading