Home
last modified time | relevance | path

Searched refs:vOps (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/camera/tests/
DVendorTagDescriptorTests.cpp56 static int zero_get_tag_count(const vendor_tag_ops_t* vOps) { in zero_get_tag_count() argument
60 static int default_get_tag_count(const vendor_tag_ops_t* vOps) { in default_get_tag_count() argument
64 static void default_get_all_tags(const vendor_tag_ops_t* vOps, uint32_t* tagArray) { in default_get_all_tags() argument
68 static const char* default_get_section_name(const vendor_tag_ops_t* vOps, uint32_t tag) { in default_get_section_name() argument
72 static const char* default_get_tag_name(const vendor_tag_ops_t* vOps, uint32_t tag) { in default_get_tag_name() argument
76 static int default_get_tag_type(const vendor_tag_ops_t* vOps, uint32_t tag) { in default_get_tag_type() argument
83 static void FillWithDefaults(vendor_tag_ops_t* vOps) { in FillWithDefaults() argument
84 ASSERT_NOT_NULL(vOps); in FillWithDefaults()
85 vOps->get_tag_count = default_get_tag_count; in FillWithDefaults()
86 vOps->get_all_tags = default_get_all_tags; in FillWithDefaults()
[all …]
/frameworks/av/camera/
DVendorTagDescriptor.cpp58 status_t VendorTagDescriptor::createDescriptorFromOps(const vendor_tag_ops_t* vOps, in createDescriptorFromOps() argument
61 if (vOps == NULL) { in createDescriptorFromOps()
66 int tagCount = vOps->get_tag_count(vOps); in createDescriptorFromOps()
76 vOps->get_all_tags(vOps, /*out*/tagArray.editArray()); in createDescriptorFromOps()
90 const char *tagName = vOps->get_tag_name(vOps, tag); in createDescriptorFromOps()
96 const char *sectionName = vOps->get_section_name(vOps, tag); in createDescriptorFromOps()
107 int tagType = vOps->get_tag_type(vOps, tag); in createDescriptorFromOps()
/frameworks/av/include/camera/
DVendorTagDescriptor.h106 static status_t createDescriptorFromOps(const vendor_tag_ops_t* vOps,
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp645 vendor_tag_ops_t vOps = vendor_tag_ops_t(); in setUpVendorTags() local
654 mModule->getVendorTagOps(&vOps); in setUpVendorTags()
658 if (vOps.get_tag_count == NULL || vOps.get_all_tags == NULL || in setUpVendorTags()
659 vOps.get_section_name == NULL || vOps.get_tag_name == NULL || in setUpVendorTags()
660 vOps.get_tag_type == NULL) { in setUpVendorTags()
669 if ((res = VendorTagDescriptor::createDescriptorFromOps(&vOps, /*out*/desc)) in setUpVendorTags()