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.h133 int tag_section = (tag >> 16) - VENDOR_SECTION; in get_fakevendor_section_name() local
134 if (tag_section < 0 || in get_fakevendor_section_name()
135 tag_section >= FAKEVENDOR_SECTION_COUNT) return NULL; in get_fakevendor_section_name()
137 return fakevendor_section_names[tag_section]; in get_fakevendor_section_name()
143 int tag_section = (tag >> 16) - VENDOR_SECTION; in get_fakevendor_tag_name() local
144 if (tag_section < 0 in get_fakevendor_tag_name()
145 || tag_section >= FAKEVENDOR_SECTION_COUNT in get_fakevendor_tag_name()
146 || tag >= fakevendor_section_bounds[tag_section][1]) return NULL; in get_fakevendor_tag_name()
148 return fakevendor_tag_info[tag_section][tag_index].tag_name; in get_fakevendor_tag_name()
154 int tag_section = (tag >> 16) - VENDOR_SECTION; in get_fakevendor_tag_type() local
[all …]
/system/media/camera/src/
Dcamera_metadata.c450 uint32_t tag_section = entry.tag >> 16; in validate_camera_metadata_structure() local
452 if (tag_type != (int)entry.type && tag_section < VENDOR_SECTION) { in validate_camera_metadata_structure()
823 uint32_t tag_section = tag >> 16; in get_camera_metadata_section_name() local
824 if (tag_section >= VENDOR_SECTION && vendor_tag_ops != NULL) { in get_camera_metadata_section_name()
829 if (tag_section >= ANDROID_SECTION_COUNT) { in get_camera_metadata_section_name()
832 return camera_metadata_section_names[tag_section]; in get_camera_metadata_section_name()
836 uint32_t tag_section = tag >> 16; in get_camera_metadata_tag_name() local
837 if (tag_section >= VENDOR_SECTION && vendor_tag_ops != NULL) { in get_camera_metadata_tag_name()
842 if (tag_section >= ANDROID_SECTION_COUNT || in get_camera_metadata_tag_name()
843 tag >= camera_metadata_section_bounds[tag_section][1] ) { in get_camera_metadata_tag_name()
[all …]