Searched refs:data_type (Results 1 – 12 of 12) sorted by relevance
/drivers/peripheral/camera/interfaces/hdi_ipc/utils/src/ |
D | utils_data_stub.cpp | 26 if (entry.data_type == META_TYPE_BYTE) { in WriteMetadataDataToVec() 30 } else if (entry.data_type == META_TYPE_INT32) { in WriteMetadataDataToVec() 34 } else if (entry.data_type == META_TYPE_FLOAT) { in WriteMetadataDataToVec() 38 } else if (entry.data_type == META_TYPE_INT64) { in WriteMetadataDataToVec() 42 } else if (entry.data_type == META_TYPE_DOUBLE) { in WriteMetadataDataToVec() 46 } else if (entry.data_type == META_TYPE_RATIONAL) { in WriteMetadataDataToVec() 80 WriteData<uint32_t>(item.data_type, cameraAbility); in ConvertMetadataToVec() 115 bRet = (bRet && data.WriteUint8(static_cast<uint8_t>(entry.data_type))); in EncodeCameraMetadata() 128 if (entry.data_type == META_TYPE_BYTE) { in ReadMetadataDataFromVec() 135 } else if (entry.data_type == META_TYPE_INT32) { in ReadMetadataDataFromVec() [all …]
|
/drivers/interface/camera/metadata/src/ |
D | metadata_utils.cpp | 29 if (entry.data_type == META_TYPE_BYTE) { in WriteMetadataDataToVec() 33 } else if (entry.data_type == META_TYPE_INT32) { in WriteMetadataDataToVec() 37 } else if (entry.data_type == META_TYPE_UINT32) { in WriteMetadataDataToVec() 41 } else if (entry.data_type == META_TYPE_FLOAT) { in WriteMetadataDataToVec() 45 } else if (entry.data_type == META_TYPE_INT64) { in WriteMetadataDataToVec() 49 } else if (entry.data_type == META_TYPE_DOUBLE) { in WriteMetadataDataToVec() 53 } else if (entry.data_type == META_TYPE_RATIONAL) { in WriteMetadataDataToVec() 113 WriteData<uint32_t>(item.data_type, cameraAbility); in ConvertMetadataToVec() 145 bRet = bRet && data.WriteUint32(item.data_type); in EncodeCameraMetadata() 236 switch (entry.data_type) { in ReadMetadataDataFromVec() [all …]
|
D | camera_metadata_info.cpp | 303 uint32_t data_type; in resize_add_metadata() local 308 int32_t ret = GetCameraMetadataItemType(item, &data_type); in resize_add_metadata() 313 size_t size = CalculateCameraMetadataItemDataSize(data_type, data_count); in resize_add_metadata() 691 metadataItem->data_type = dataType; in AddCameraMetadataItem() 744 item->data_type = localItem->data_type; in GetCameraMetadataItem() 747 size_t dataBytes = CalculateCameraMetadataItemDataSize(localItem->data_type, localItem->count); in GetCameraMetadataItem() 820 if (CalculateCameraMetadataItemDataSize(metadataItems->data_type, metadataItems->count) > 0 && in SetOffset() 878 size_t dataSize = CalculateCameraMetadataItemDataSize(item->data_type, dataCount); in UpdateameraMetadataItemSize() 879 size_t dataPayloadSize = dataCount * OHOS_CAMERA_METADATA_TYPE_SIZE[item->data_type]; in UpdateameraMetadataItemSize() 880 size_t oldItemSize = CalculateCameraMetadataItemDataSize(item->data_type, item->count); in UpdateameraMetadataItemSize() [all …]
|
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/device_manager/include/ |
D | v4l2_device_manager.h | 76 uint32_t data_type; in MergeMetadata() local 77 int32_t ret = GetCameraMetadataItemType(entry.item, &data_type); in MergeMetadata() 82 if (data_type == META_TYPE_BYTE) { in MergeMetadata() 84 } else if (data_type == META_TYPE_INT32) { in MergeMetadata() 86 } else if (data_type == META_TYPE_FLOAT) { in MergeMetadata()
|
/drivers/interface/camera/metadata/include/ |
D | camera_metadata_operator.h | 86 uint32_t data_type; member 97 uint32_t data_type; member 205 int32_t GetCameraMetadataItemType(uint32_t item, uint32_t *data_type);
|
D | camera_metadata_info.h | 113 static int32_t GetCameraMetadataItemType(uint32_t item, uint32_t *data_type);
|
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_device/ |
D | dmetadata_processor.cpp | 579 if ((item.count != anoItem.count) || (item.data_type != anoItem.data_type)) { in UpdateOnChanged() 584 uint32_t size = GetDataSize(item.data_type); in UpdateOnChanged() 690 switch (item.data_type) { in GetMetadataItemData() 713 … DHLOGE("DMetadataProcessor::GetMetadataItemData invalid data type: %{public}u", item.data_type); in GetMetadataItemData() 920 if (item.data_type == META_TYPE_BYTE) { in PrintDCameraMetadata() 924 } else if (item.data_type == META_TYPE_INT32) { in PrintDCameraMetadata() 928 } else if (item.data_type == META_TYPE_UINT32) { in PrintDCameraMetadata() 932 } else if (item.data_type == META_TYPE_FLOAT) { in PrintDCameraMetadata() 936 } else if (item.data_type == META_TYPE_INT64) { in PrintDCameraMetadata() 940 } else if (item.data_type == META_TYPE_DOUBLE) { in PrintDCameraMetadata()
|
/drivers/hdf_core/adapter/uhdf2/hcs/camera/hal/mpp/hispark_taurus/driver/ |
D | mpp_config.hcs | 43 data_type = 2;
|
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_host/ |
D | dcamera_host.cpp | 108 item.count, item.data_type); in GetCameraAbility()
|
/drivers/peripheral/camera/test/hdi/v1_1/src/ |
D | camera_tag_uttest_v1_1.cpp | 89 EXPECT_EQ(META_TYPE_BYTE, entry.data_type);
|
/drivers/peripheral/camera/vdi_base/v4l2/src/camera_device/ |
D | camera_device_vdi_impl.cpp | 229 …A_LOGD("FindCameraMetadataIte tags = %{public}d. type = %{public}d", entry.count, entry.data_type); in GetEnabledFromCfg()
|
/drivers/peripheral/camera/test/hdi/v1_2/src/ |
D | camera_hdi_uttest_v1_2.cpp | 846 EXPECT_EQ(META_TYPE_BYTE, entry.data_type);
|