Home
last modified time | relevance | path

Searched refs:tag_section (Results 1 – 2 of 2) sorted by relevance

/system/media/camera/tests/
Dcamera_metadata_tests_fake_vendor.h132 int tag_section = (tag >> 16) - VENDOR_SECTION; in get_fakevendor_section_name() local
133 if (tag_section < 0 || in get_fakevendor_section_name()
134 tag_section >= FAKEVENDOR_SECTION_COUNT) return NULL; in get_fakevendor_section_name()
136 return fakevendor_section_names[tag_section]; in get_fakevendor_section_name()
142 int tag_section = (tag >> 16) - VENDOR_SECTION; in get_fakevendor_tag_name() local
143 if (tag_section < 0 in get_fakevendor_tag_name()
144 || tag_section >= FAKEVENDOR_SECTION_COUNT in get_fakevendor_tag_name()
145 || tag >= fakevendor_section_bounds[tag_section][1]) return NULL; in get_fakevendor_tag_name()
147 return fakevendor_tag_info[tag_section][tag_index].tag_name; in get_fakevendor_tag_name()
153 int tag_section = (tag >> 16) - VENDOR_SECTION; in get_fakevendor_tag_type() local
[all …]
/system/media/camera/src/
Dcamera_metadata.c409 uint32_t tag_section = entry.tag >> 16; in validate_camera_metadata_structure() local
411 if (tag_type != (int)entry.type && tag_section < VENDOR_SECTION) { in validate_camera_metadata_structure()
782 uint32_t tag_section = tag >> 16; in get_camera_metadata_section_name() local
783 if (tag_section >= VENDOR_SECTION && vendor_tag_ops != NULL) { in get_camera_metadata_section_name()
788 if (tag_section >= ANDROID_SECTION_COUNT) { in get_camera_metadata_section_name()
791 return camera_metadata_section_names[tag_section]; in get_camera_metadata_section_name()
795 uint32_t tag_section = tag >> 16; in get_camera_metadata_tag_name() local
796 if (tag_section >= VENDOR_SECTION && vendor_tag_ops != NULL) { in get_camera_metadata_tag_name()
801 if (tag_section >= ANDROID_SECTION_COUNT || in get_camera_metadata_tag_name()
802 tag >= camera_metadata_section_bounds[tag_section][1] ) { in get_camera_metadata_tag_name()
[all …]