Lines Matching defs:section
608 int32_t CameraMetadata::GetMetadataSection(uint32_t itemSection, uint32_t *section)
620 *section = iter->second;
622 METADATA_ERR_LOG("GetMetadataSection item section is not defined");
637 uint32_t section;
648 int32_t ret = GetMetadataSection(itemTag, §ion);
650 METADATA_ERR_LOG("GetCameraMetadataItemType section is not valid");
654 if (item >= g_ohosCameraSectionBounds[section][1]) {
655 METADATA_ERR_LOG("GetCameraMetadataItemType item is not in section bound");
660 if (g_ohosItemInfo[section][itemIndex].item_type < META_TYPE_BYTE) {
665 *dataType = g_ohosItemInfo[section][itemIndex].item_type;
675 uint32_t section;
686 int32_t ret = GetMetadataSection(itemTag, §ion);
688 METADATA_ERR_LOG("GetCameraMetadataItemName section is not valid");
692 if (item >= g_ohosCameraSectionBounds[section][1]) {
693 METADATA_ERR_LOG("GetCameraMetadataItemName item is not in section bound");
699 return g_ohosItemInfo[section][itemIndex].item_name;