Loading services/camera/libcameraservice/device1/CameraHardwareInterface.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ //#define LOG_NDEBUG 0 #include <inttypes.h> #include <media/hardware/HardwareAPI.h> // For VideoNativeHandleMetadata #include "CameraHardwareInterface.h" namespace android { Loading services/camera/libcameraservice/device1/CameraHardwareInterface.h +0 −10 Original line number Diff line number Diff line Loading @@ -317,16 +317,6 @@ private: const camera_memory_t *data, unsigned index, void *user); // TODO: b/35625849 // Meta data buffer layout for passing a native_handle to codec // matching frameworks/native/include/media/hardware/MetadataBufferType.h and // frameworks/native/include/media/hardware/HardwareAPI.h struct VideoNativeHandleMetadata { static const uint32_t kMetadataBufferTypeNativeHandleSource = 3; uint32_t eType; // must be kMetadataBufferTypeNativeHandleSource native_handle_t* pHandle; }; // This is a utility class that combines a MemoryHeapBase and a MemoryBase // in one. Since we tend to use them in a one-to-one relationship, this is // handy. Loading Loading
services/camera/libcameraservice/device1/CameraHardwareInterface.cpp +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ //#define LOG_NDEBUG 0 #include <inttypes.h> #include <media/hardware/HardwareAPI.h> // For VideoNativeHandleMetadata #include "CameraHardwareInterface.h" namespace android { Loading
services/camera/libcameraservice/device1/CameraHardwareInterface.h +0 −10 Original line number Diff line number Diff line Loading @@ -317,16 +317,6 @@ private: const camera_memory_t *data, unsigned index, void *user); // TODO: b/35625849 // Meta data buffer layout for passing a native_handle to codec // matching frameworks/native/include/media/hardware/MetadataBufferType.h and // frameworks/native/include/media/hardware/HardwareAPI.h struct VideoNativeHandleMetadata { static const uint32_t kMetadataBufferTypeNativeHandleSource = 3; uint32_t eType; // must be kMetadataBufferTypeNativeHandleSource native_handle_t* pHandle; }; // This is a utility class that combines a MemoryHeapBase and a MemoryBase // in one. Since we tend to use them in a one-to-one relationship, this is // handy. Loading