/hardware/interfaces/camera/metadata/aidl/aidl_api/android.hardware.camera.metadata/2/android/hardware/camera/metadata/ |
D | CameraMetadataSectionStart.aidl | 38 package android.hardware.camera.metadata; 41 …ANDROID_COLOR_CORRECTION_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_C… 42 …ANDROID_CONTROL_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_CONTROL <<… 43 …ANDROID_DEMOSAIC_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_DEMOSAIC … 44 …ANDROID_EDGE_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_EDGE << 16) /… 45 …ANDROID_FLASH_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_FLASH << 16)… 46 …ANDROID_FLASH_INFO_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_FLASH_I… 47 …ANDROID_HOT_PIXEL_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_HOT_PIXE… 48 …ANDROID_JPEG_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_JPEG << 16) /… 49 …ANDROID_LENS_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_LENS << 16) /… [all …]
|
D | CameraMetadataTag.aidl | 38 package android.hardware.camera.metadata; 41 …ANDROID_COLOR_CORRECTION_MODE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROI… 46 …ANDROID_CONTROL_AE_ANTIBANDING_MODE = android.hardware.camera.metadata.CameraMetadataSectionStart.… 101 …ANDROID_DEMOSAIC_MODE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID_DEMOSA… 102 …ANDROID_EDGE_MODE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID_EDGE_START… 105 …ANDROID_FLASH_FIRING_POWER = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID_F… 111 …ANDROID_FLASH_INFO_AVAILABLE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID… 115 …ANDROID_HOT_PIXEL_MODE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID_HOT_P… 117 …ANDROID_JPEG_GPS_COORDINATES = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID… 127 …ANDROID_LENS_APERTURE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID_LENS_S… [all …]
|
/hardware/interfaces/camera/metadata/aidl/aidl_api/android.hardware.camera.metadata/3/android/hardware/camera/metadata/ |
D | CameraMetadataSectionStart.aidl | 38 package android.hardware.camera.metadata; 41 …ANDROID_COLOR_CORRECTION_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_C… 42 …ANDROID_CONTROL_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_CONTROL <<… 43 …ANDROID_DEMOSAIC_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_DEMOSAIC … 44 …ANDROID_EDGE_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_EDGE << 16) /… 45 …ANDROID_FLASH_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_FLASH << 16)… 46 …ANDROID_FLASH_INFO_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_FLASH_I… 47 …ANDROID_HOT_PIXEL_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_HOT_PIXE… 48 …ANDROID_JPEG_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_JPEG << 16) /… 49 …ANDROID_LENS_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_LENS << 16) /… [all …]
|
D | CameraMetadataTag.aidl | 38 package android.hardware.camera.metadata; 41 …ANDROID_COLOR_CORRECTION_MODE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROI… 46 …ANDROID_CONTROL_AE_ANTIBANDING_MODE = android.hardware.camera.metadata.CameraMetadataSectionStart.… 103 …ANDROID_DEMOSAIC_MODE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID_DEMOSA… 104 …ANDROID_EDGE_MODE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID_EDGE_START… 107 …ANDROID_FLASH_FIRING_POWER = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID_F… 118 …ANDROID_FLASH_INFO_AVAILABLE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID… 122 …ANDROID_HOT_PIXEL_MODE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID_HOT_P… 124 …ANDROID_JPEG_GPS_COORDINATES = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID… 134 …ANDROID_LENS_APERTURE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID_LENS_S… [all …]
|
/hardware/interfaces/camera/metadata/aidl/aidl_api/android.hardware.camera.metadata/current/android/hardware/camera/metadata/ |
D | CameraMetadataSectionStart.aidl | 38 package android.hardware.camera.metadata; 41 …ANDROID_COLOR_CORRECTION_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_C… 42 …ANDROID_CONTROL_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_CONTROL <<… 43 …ANDROID_DEMOSAIC_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_DEMOSAIC … 44 …ANDROID_EDGE_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_EDGE << 16) /… 45 …ANDROID_FLASH_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_FLASH << 16)… 46 …ANDROID_FLASH_INFO_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_FLASH_I… 47 …ANDROID_HOT_PIXEL_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_HOT_PIXE… 48 …ANDROID_JPEG_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_JPEG << 16) /… 49 …ANDROID_LENS_START = (android.hardware.camera.metadata.CameraMetadataSection.ANDROID_LENS << 16) /… [all …]
|
D | CameraMetadataTag.aidl | 38 package android.hardware.camera.metadata; 41 …ANDROID_COLOR_CORRECTION_MODE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROI… 46 …ANDROID_CONTROL_AE_ANTIBANDING_MODE = android.hardware.camera.metadata.CameraMetadataSectionStart.… 103 …ANDROID_DEMOSAIC_MODE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID_DEMOSA… 104 …ANDROID_EDGE_MODE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID_EDGE_START… 107 …ANDROID_FLASH_FIRING_POWER = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID_F… 118 …ANDROID_FLASH_INFO_AVAILABLE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID… 122 …ANDROID_HOT_PIXEL_MODE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID_HOT_P… 124 …ANDROID_JPEG_GPS_COORDINATES = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID… 134 …ANDROID_LENS_APERTURE = android.hardware.camera.metadata.CameraMetadataSectionStart.ANDROID_LENS_S… [all …]
|
/hardware/google/gchips/gralloc4/src/hidl_common/ |
D | SharedMetadata.cpp | 44 …auto *metadata = reinterpret_cast<shared_metadata *>(mali_gralloc_reference_get_metadata_addr(hnd)… in get_name() local 45 *name = metadata->get_name(); in get_name() 50 …auto *metadata = reinterpret_cast<shared_metadata *>(mali_gralloc_reference_get_metadata_addr(hnd)… in get_crop_rect() local 51 *crop = metadata->crop.to_std_optional(); in get_crop_rect() 56 …auto *metadata = reinterpret_cast<shared_metadata *>(mali_gralloc_reference_get_metadata_addr(hnd)… in set_crop_rect() local 68 metadata->crop = aligned_optional(crop); in set_crop_rect() 74 …auto *metadata = reinterpret_cast<shared_metadata *>(mali_gralloc_reference_get_metadata_addr(hnd)… in get_dataspace() local 75 *dataspace = metadata->dataspace.to_std_optional(); in get_dataspace() 80 …auto *metadata = reinterpret_cast<shared_metadata *>(mali_gralloc_reference_get_metadata_addr(hnd)… in set_dataspace() local 81 metadata->dataspace = aligned_optional(dataspace); in set_dataspace() [all …]
|
/hardware/libhardware/modules/camera/3_4/metadata/ |
D | control_test.cpp | 81 android::CameraMetadata metadata; in ExpectOptions() local 82 ASSERT_EQ(control_->PopulateStaticFields(&metadata), 0); in ExpectOptions() 84 EXPECT_EQ(metadata.entryCount(), 1u); in ExpectOptions() 85 ExpectMetadataEq(metadata, options_tag_, options); in ExpectOptions() 87 EXPECT_EQ(metadata.entryCount(), 0u); in ExpectOptions() 94 android::CameraMetadata metadata; in ExpectValue() local 95 ASSERT_EQ(control_->PopulateDynamicFields(&metadata), 0); in ExpectValue() 96 EXPECT_EQ(metadata.entryCount(), 1u); in ExpectValue() 97 ExpectMetadataEq(metadata, delegate_tag_, value); in ExpectValue() 182 android::CameraMetadata metadata; in TEST_F() local [all …]
|
D | property_test.cpp | 60 android::CameraMetadata metadata; in TEST_F() local 61 ASSERT_EQ(property.PopulateStaticFields(&metadata), 0); in TEST_F() 65 EXPECT_EQ(metadata.entryCount(), 1u); in TEST_F() 67 ExpectMetadataEq(metadata, int_tag_, data); in TEST_F() 78 android::CameraMetadata metadata; in TEST_F() local 79 ASSERT_EQ(property.PopulateStaticFields(&metadata), 0); in TEST_F() 83 EXPECT_EQ(metadata.entryCount(), 1u); in TEST_F() 85 ExpectMetadataEq(metadata, float_tag_, data); in TEST_F() 94 android::CameraMetadata metadata; in TEST_F() local 95 ASSERT_EQ(property.PopulateStaticFields(&metadata), 0); in TEST_F() [all …]
|
D | state_test.cpp | 68 android::CameraMetadata metadata; in TEST_F() local 69 ASSERT_EQ(state_->PopulateStaticFields(&metadata), 0); in TEST_F() 70 EXPECT_TRUE(metadata.isEmpty()); in TEST_F() 80 android::CameraMetadata metadata; in TEST_F() local 81 ASSERT_EQ(state_->PopulateDynamicFields(&metadata), 0); in TEST_F() 82 EXPECT_EQ(metadata.entryCount(), 1u); in TEST_F() 83 ExpectMetadataEq(metadata, tag_, expected); in TEST_F() 92 android::CameraMetadata metadata; in TEST_F() local 93 ASSERT_EQ(state_->PopulateDynamicFields(&metadata), err); in TEST_F() 99 android::CameraMetadata metadata; in TEST_F() local [all …]
|
D | test_common.h | 33 static void ExpectMetadataEq(const android::CameraMetadata& metadata, in ExpectMetadataEq() argument 37 camera_metadata_ro_entry_t entry = metadata.find(tag); in ExpectMetadataEq() 49 static void ExpectMetadataEq(const android::CameraMetadata& metadata, in ExpectMetadataEq() argument 52 ExpectMetadataEq(metadata, tag, &expected, 1); in ExpectMetadataEq() 57 static void ExpectMetadataEq(const android::CameraMetadata& metadata, in ExpectMetadataEq() argument 60 ExpectMetadataEq(metadata, tag, expected.data(), expected.size()); in ExpectMetadataEq() 65 static void ExpectMetadataEq(const android::CameraMetadata& metadata, in ExpectMetadataEq() argument 68 ExpectMetadataEq(metadata, tag, expected.data(), N); in ExpectMetadataEq() 73 static void ExpectMetadataEq(const android::CameraMetadata& metadata, in ExpectMetadataEq() argument 77 metadata, tag, expected.data(), expected.total_num_elements()); in ExpectMetadataEq() [all …]
|
D | control.h | 44 android::CameraMetadata* metadata) const override; 46 android::CameraMetadata* metadata) const override; 48 int template_type, android::CameraMetadata* metadata) const override; 50 const android::CameraMetadata& metadata) const override; 52 const android::CameraMetadata& metadata) override; 88 int Control<T>::PopulateStaticFields(android::CameraMetadata* metadata) const { in PopulateStaticFields() argument 102 metadata, options_->tag(), options_->MetadataRepresentation()); in PopulateStaticFields() 106 int Control<T>::PopulateDynamicFields(android::CameraMetadata* metadata) const { in PopulateDynamicFields() argument 113 return UpdateMetadata(metadata, delegate_->tag(), value); in PopulateDynamicFields() 118 int template_type, android::CameraMetadata* metadata) const { in PopulateTemplateRequest() argument [all …]
|
D | metadata.cpp | 37 int Metadata::FillStaticMetadata(android::CameraMetadata* metadata) { in FillStaticMetadata() argument 39 if (!metadata) { in FillStaticMetadata() 60 res = metadata->append(additional_metadata); in FillStaticMetadata() 85 metadata, ANDROID_REQUEST_AVAILABLE_REQUEST_KEYS, control_tags); in FillStaticMetadata() 92 metadata, ANDROID_REQUEST_AVAILABLE_RESULT_KEYS, dynamic_tags); in FillStaticMetadata() 99 metadata, ANDROID_REQUEST_AVAILABLE_CHARACTERISTICS_KEYS, static_tags); in FillStaticMetadata() 109 bool Metadata::IsValidRequest(const android::CameraMetadata& metadata) { in IsValidRequest() argument 113 if (metadata.isEmpty()) in IsValidRequest() 118 bool valid_request = component->SupportsRequestValues(metadata); in IsValidRequest() 165 int Metadata::SetRequestSettings(const android::CameraMetadata& metadata) { in SetRequestSettings() argument [all …]
|
D | metadata_common.h | 61 static int UpdateMetadata(android::CameraMetadata* metadata, in UpdateMetadata() argument 65 int res = metadata->update(tag, data, count); in UpdateMetadata() 75 static int UpdateMetadata(android::CameraMetadata* metadata, in UpdateMetadata() argument 78 return UpdateMetadata(metadata, tag, &val, 1); in UpdateMetadata() 83 static int UpdateMetadata(android::CameraMetadata* metadata, in UpdateMetadata() argument 86 return UpdateMetadata(metadata, tag, val.data(), val.size()); in UpdateMetadata() 91 static int UpdateMetadata(android::CameraMetadata* metadata, in UpdateMetadata() argument 94 return UpdateMetadata(metadata, tag, val.data(), N); in UpdateMetadata() 99 static int UpdateMetadata(android::CameraMetadata* metadata, in UpdateMetadata() argument 102 return UpdateMetadata(metadata, tag, val.data(), val.total_num_elements()); in UpdateMetadata() [all …]
|
/hardware/google/gfxstream/guest/android-emu/aemu/base/ |
D | AndroidHealthMonitorConsumerBasic.cpp | 24 void logEventHangMetadata(const EventHangMetadata* metadata) { in logEventHangMetadata() argument 26 ALOGE("\t file: %s", metadata->file); in logEventHangMetadata() 27 ALOGE("\t function: %s", metadata->function); in logEventHangMetadata() 28 ALOGE("\t line: %d", metadata->line); in logEventHangMetadata() 29 ALOGE("\t msg: %s", metadata->msg); in logEventHangMetadata() 30 ALOGE("\t thread: %lld (0x%08llx)", (long long)metadata->threadId, in logEventHangMetadata() 31 (long long)metadata->threadId); in logEventHangMetadata() 33 if (metadata->data) { in logEventHangMetadata() 35 for (auto& [key, value] : *metadata->data) { in logEventHangMetadata() 43 const EventHangMetadata* metadata, in consumeHangEvent() argument [all …]
|
/hardware/libhardware/modules/camera/3_4/ |
D | Android.mk | 53 metadata/boottime_state_delegate.cpp \ 54 metadata/enum_converter.cpp \ 55 metadata/metadata.cpp \ 56 metadata/metadata_reader.cpp \ 67 metadata/control_test.cpp \ 68 metadata/default_option_delegate_test.cpp \ 69 metadata/enum_converter_test.cpp \ 70 metadata/ignored_control_delegate_test.cpp \ 71 metadata/map_converter_test.cpp \ 72 metadata/menu_control_options_test.cpp \ [all …]
|
D | format_metadata_factory_test.cpp | 39 virtual void ExpectMetadataTagCount(const android::CameraMetadata& metadata, in ExpectMetadataTagCount() argument 42 camera_metadata_ro_entry_t entry = metadata.find(tag); in ExpectMetadataTagCount() 103 android::CameraMetadata metadata; in TEST_F() local 104 component->PopulateStaticFields(&metadata); in TEST_F() 105 ASSERT_EQ(metadata.entryCount(), 1u); in TEST_F() 113 ExpectMetadataTagCount(metadata, tag, (formats.size() + 1) * 3 * 4); in TEST_F() 117 ExpectMetadataEq(metadata, tag, 200000000); in TEST_F() 121 ExpectMetadataTagCount(metadata, tag, 4); in TEST_F() 169 android::CameraMetadata metadata; in TEST_F() local 170 component->PopulateStaticFields(&metadata); in TEST_F() [all …]
|
/hardware/google/aemu/base/ |
D | Metrics.cpp | 56 void logEventHangMetadata(const EventHangMetadata* metadata) { in logEventHangMetadata() argument 58 ERR("\t file: %s", metadata->file); in logEventHangMetadata() 59 ERR("\t function: %s", metadata->function); in logEventHangMetadata() 60 ERR("\t line: %d", metadata->line); in logEventHangMetadata() 61 ERR("\t msg: %s", metadata->msg); in logEventHangMetadata() 62 ERR("\t thread: %d (0x%08x)", metadata->threadId, metadata->threadId); in logEventHangMetadata() 63 if (metadata->data) { in logEventHangMetadata() 65 for (auto& [key, value] : *metadata->data) { in logEventHangMetadata() 92 hangEvent.metadata->file); in operator ()() 94 hangEvent.metadata->function); in operator ()() [all …]
|
/hardware/google/camera/common/hal/utils/ |
D | zoom_ratio_mapper.cc | 40 const HalCameraMetadata& metadata) { in GetSensorPixelMode() argument 43 metadata.Get(ANDROID_SENSOR_PIXEL_MODE, &sensor_pixel_mode_metadata); in GetSensorPixelMode() 74 const HalCameraMetadata& metadata, bool is_physical, in GetActiveArrayDimension() argument 82 camera_id, &metadata, &override_dimension)) { in GetActiveArrayDimension() 88 if (GetSensorPixelMode(metadata) == in GetActiveArrayDimension() 111 if (GetSensorPixelMode(metadata) == in GetActiveArrayDimension() 138 for (auto& [camera_id, metadata] : request->physical_camera_settings) { in UpdateCaptureRequest() 139 if (metadata != nullptr) { in UpdateCaptureRequest() 141 GetActiveArrayDimension(*metadata, /*is_physical*/ true, camera_id); in UpdateCaptureRequest() 142 ApplyZoomRatio(physical_active_array_dimension, true, metadata.get()); in UpdateCaptureRequest() [all …]
|
/hardware/qcom/display/msm8960/libqdutils/ |
D | mdp_version.cpp | 75 struct msmfb_metadata metadata; in MDPVersion() local 76 memset(&metadata, 0 , sizeof(metadata)); in MDPVersion() 77 metadata.op = metadata_op_get_caps; in MDPVersion() 78 if (ioctl(fb_fd, MSMFB_METADATA_GET, &metadata) == -1) { in MDPVersion() 82 mMdpRev = metadata.data.caps.mdp_rev; in MDPVersion() 83 mRGBPipes = metadata.data.caps.rgb_pipes; in MDPVersion() 84 mVGPipes = metadata.data.caps.vig_pipes; in MDPVersion() 85 mDMAPipes = metadata.data.caps.dma_pipes; in MDPVersion()
|
/hardware/google/aemu/host-common/ |
D | address_space_host_memory_allocator_unittests.cpp | 56 req.metadata = static_cast<uint64_t>( in createAllocateRequest() 67 req.metadata = static_cast<uint64_t>( in createUnallocateRequest() 98 EXPECT_EQ(req.metadata, 0); in TEST() 102 EXPECT_EQ(req.metadata, 0); in TEST() 117 EXPECT_EQ(req.metadata, 0); in TEST() 121 EXPECT_NE(req.metadata, 0); in TEST() 125 EXPECT_EQ(req.metadata, 0); in TEST() 129 EXPECT_EQ(req.metadata, 0); in TEST() 133 EXPECT_EQ(req.metadata, 0); in TEST() 137 EXPECT_EQ(req.metadata, 0); in TEST() [all …]
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlayWriteback.cpp | 191 struct msmfb_metadata metadata; in setOutputFormat() local 192 memset(&metadata, 0 , sizeof(metadata)); in setOutputFormat() 193 metadata.op = metadata_op_wb_format; in setOutputFormat() 194 metadata.data.mixer_cfg.writeback_format = mdpFormat; in setOutputFormat() 195 if (ioctl(mFd.getFD(), MSMFB_METADATA_SET, &metadata) < 0) { in setOutputFormat() 206 struct msmfb_metadata metadata; in getOutputFormat() local 207 memset(&metadata, 0 , sizeof(metadata)); in getOutputFormat() 208 metadata.op = metadata_op_wb_format; in getOutputFormat() 209 if (ioctl(mFd.getFD(), MSMFB_METADATA_GET, &metadata) < 0) { in getOutputFormat() 213 mOpFmt = metadata.data.mixer_cfg.writeback_format; in getOutputFormat() [all …]
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayWriteback.cpp | 195 struct msmfb_metadata metadata; in setOutputFormat() local 196 memset(&metadata, 0 , sizeof(metadata)); in setOutputFormat() 197 metadata.op = metadata_op_wb_format; in setOutputFormat() 198 metadata.data.mixer_cfg.writeback_format = mdpFormat; in setOutputFormat() 199 if (ioctl(mFd.getFD(), MSMFB_METADATA_SET, &metadata) < 0) { in setOutputFormat() 210 struct msmfb_metadata metadata; in getOutputFormat() local 211 memset(&metadata, 0 , sizeof(metadata)); in getOutputFormat() 212 metadata.op = metadata_op_wb_format; in getOutputFormat() 213 if (ioctl(mFd.getFD(), MSMFB_METADATA_GET, &metadata) < 0) { in getOutputFormat() 217 mOpFmt = metadata.data.mixer_cfg.writeback_format; in getOutputFormat() [all …]
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlayWriteback.cpp | 191 struct msmfb_metadata metadata; in setOutputFormat() local 192 memset(&metadata, 0 , sizeof(metadata)); in setOutputFormat() 193 metadata.op = metadata_op_wb_format; in setOutputFormat() 194 metadata.data.mixer_cfg.writeback_format = mdpFormat; in setOutputFormat() 195 if (ioctl(mFd.getFD(), MSMFB_METADATA_SET, &metadata) < 0) { in setOutputFormat() 206 struct msmfb_metadata metadata; in getOutputFormat() local 207 memset(&metadata, 0 , sizeof(metadata)); in getOutputFormat() 208 metadata.op = metadata_op_wb_format; in getOutputFormat() 209 if (ioctl(mFd.getFD(), MSMFB_METADATA_GET, &metadata) < 0) { in getOutputFormat() 213 mOpFmt = metadata.data.mixer_cfg.writeback_format; in getOutputFormat() [all …]
|
/hardware/google/camera/devices/EmulatedCamera/hwl/utils/ |
D | HWLUtils.cpp | 31 static int64_t GetLastStreamUseCase(const HalCameraMetadata* metadata) { in GetLastStreamUseCase() argument 38 ret = metadata->Get(ANDROID_SCALER_AVAILABLE_STREAM_USE_CASES, &entry); in GetLastStreamUseCase() 48 status_t SupportsSessionHalBufManager(const HalCameraMetadata* metadata, in SupportsSessionHalBufManager() argument 50 if ((metadata == nullptr) || (result == nullptr)) { in SupportsSessionHalBufManager() 57 ret = metadata->Get(ANDROID_INFO_SUPPORTED_BUFFER_MANAGEMENT_VERSION, &entry); in SupportsSessionHalBufManager() 72 status_t GetSensorCharacteristics(const HalCameraMetadata* metadata, in GetSensorCharacteristics() argument 74 if ((metadata == nullptr) || (sensor_chars == nullptr)) { in GetSensorCharacteristics() 80 ret = metadata->Get(ANDROID_SENSOR_INFO_PIXEL_ARRAY_SIZE, &entry); in GetSensorCharacteristics() 90 ret = metadata->Get(ANDROID_SENSOR_INFO_PIXEL_ARRAY_SIZE_MAXIMUM_RESOLUTION, in GetSensorCharacteristics() 99 ret = metadata->Get(ANDROID_SENSOR_INFO_ACTIVE_ARRAY_SIZE, &entry); in GetSensorCharacteristics() [all …]
|