Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 25 of 144) sorted by relevance

123456

/hardware/libhardware/modules/usbcamera/
DMetadata.cpp61 int Metadata::addUInt8(uint32_t tag, int count, const uint8_t *data) { in addUInt8() argument
62 if (!validate(tag, TYPE_BYTE, count)) return -EINVAL; in addUInt8()
63 return add(tag, count, data); in addUInt8()
66 int Metadata::add1UInt8(uint32_t tag, const uint8_t data) { in add1UInt8() argument
67 return addUInt8(tag, 1, &data); in add1UInt8()
70 int Metadata::addInt32(uint32_t tag, int count, const int32_t *data) { in addInt32() argument
71 if (!validate(tag, TYPE_INT32, count)) return -EINVAL; in addInt32()
72 return add(tag, count, data); in addInt32()
75 int Metadata::addFloat(uint32_t tag, int count, const float *data) { in addFloat() argument
76 if (!validate(tag, TYPE_FLOAT, count)) return -EINVAL; in addFloat()
[all …]
DMetadata.h34 int addUInt8(uint32_t tag, int count, const uint8_t *data);
35 int add1UInt8(uint32_t tag, const uint8_t data);
36 int addInt32(uint32_t tag, int count, const int32_t *data);
37 int addFloat(uint32_t tag, int count, const float *data);
38 int addInt64(uint32_t tag, int count, const int64_t *data);
39 int addDouble(uint32_t tag, int count, const double *data);
40 int addRational(uint32_t tag, int count,
53 bool validate(uint32_t tag, int tag_type, int count);
55 int add(uint32_t tag, int count, const void *tag_data);
/hardware/libhardware/modules/camera/
DMetadata.cpp66 int Metadata::addUInt8(uint32_t tag, int count, const uint8_t *data) in addUInt8() argument
68 if (!validate(tag, TYPE_BYTE, count)) return -EINVAL; in addUInt8()
69 return add(tag, count, data); in addUInt8()
72 int Metadata::add1UInt8(uint32_t tag, const uint8_t data) in add1UInt8() argument
74 return addUInt8(tag, 1, &data); in add1UInt8()
77 int Metadata::addInt32(uint32_t tag, int count, const int32_t *data) in addInt32() argument
79 if (!validate(tag, TYPE_INT32, count)) return -EINVAL; in addInt32()
80 return add(tag, count, data); in addInt32()
83 int Metadata::addFloat(uint32_t tag, int count, const float *data) in addFloat() argument
85 if (!validate(tag, TYPE_FLOAT, count)) return -EINVAL; in addFloat()
[all …]
DVendorTags.cpp91 const Section* getSection(uint32_t tag) in getSection() argument
93 uint32_t section = (tag - vendor_section_start) >> 16; in getSection()
95 if (tag < vendor_section_start) { in getSection()
96 ALOGE("%s: Tag 0x%x before vendor section", __func__, tag); in getSection()
101 ALOGE("%s: Tag 0x%x after vendor section", __func__, tag); in getSection()
109 const Entry* getEntry(uint32_t tag) in getEntry() argument
111 const Section* section = getSection(tag); in getEntry()
117 if (tag >= section->end) { in getEntry()
118 ALOGE("%s: Tag 0x%x outside section", __func__, tag); in getEntry()
122 index = tag - section->start; in getEntry()
[all …]
DMetadata.h34 int addUInt8(uint32_t tag, int count, const uint8_t *data);
35 int add1UInt8(uint32_t tag, const uint8_t data);
36 int addInt32(uint32_t tag, int count, const int32_t *data);
37 int addFloat(uint32_t tag, int count, const float *data);
38 int addInt64(uint32_t tag, int count, const int64_t *data);
39 int addDouble(uint32_t tag, int count, const double *data);
40 int addRational(uint32_t tag, int count,
53 bool validate(uint32_t tag, int tag_type, int count);
55 int add(uint32_t tag, int count, const void *tag_data);
DCameraHAL.cpp137 static const char* get_section_name(const vendor_tag_ops_t* ops, uint32_t tag) in get_section_name() argument
139 return gVendorTags.getSectionName(ops, tag); in get_section_name()
142 static const char* get_tag_name(const vendor_tag_ops_t* ops, uint32_t tag) in get_tag_name() argument
144 return gVendorTags.getTagName(ops, tag); in get_tag_name()
147 static int get_tag_type(const vendor_tag_ops_t* ops, uint32_t tag) in get_tag_type() argument
149 return gVendorTags.getTagType(ops, tag); in get_tag_type()
173 tag : HARDWARE_MODULE_TAG,
DVendorTags.h34 const char* getSectionName(const vendor_tag_ops_t* ops, uint32_t tag);
35 const char* getTagName(const vendor_tag_ops_t* ops, uint32_t tag);
36 int getTagType(const vendor_tag_ops_t* ops, uint32_t tag);
/hardware/libhardware/include/hardware/
Dkeymaster_defs.h233 keymaster_tag_t tag; member
354 static inline keymaster_tag_type_t keymaster_tag_get_type(keymaster_tag_t tag) { in keymaster_tag_get_type() argument
355 return (keymaster_tag_type_t)(tag & (0xF << 28)); in keymaster_tag_get_type()
358 static inline uint32_t keymaster_tag_mask_type(keymaster_tag_t tag) { in keymaster_tag_mask_type() argument
359 return tag & 0x0FFFFFFF; in keymaster_tag_mask_type()
372 static inline bool keymaster_tag_repeatable(keymaster_tag_t tag) { in keymaster_tag_repeatable() argument
373 return keymaster_tag_type_repeatable(keymaster_tag_get_type(tag)); in keymaster_tag_repeatable()
378 inline keymaster_key_param_t keymaster_param_enum(keymaster_tag_t tag, uint32_t value) { in keymaster_param_enum() argument
382 param.tag = tag; in keymaster_param_enum()
387 inline keymaster_key_param_t keymaster_param_int(keymaster_tag_t tag, uint32_t value) { in keymaster_param_int() argument
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/
Dgen_msvs_proj.sh83 die "Missing attribute value in '$opt' while generating $tag tag"
89 local tag=$1
92 echo "${indent}<${tag}"
97 echo "${indent}<${tag}>"
103 local tag=$1
105 echo "${indent}</${tag}>"
108 tag() { function
109 local tag=$1
112 echo "${indent}<${tag}"
118 echo "${indent}<${tag}/>"
[all …]
Dgen_msvs_vcxproj.sh84 die "Missing attribute value in '$opt' while generating $tag tag"
90 local tag=$1
93 echo "${indent}<${tag}"
98 echo "${indent}<${tag}>"
104 local tag=$1
106 echo "${indent}</${tag}>"
109 tag() { function
110 local tag=$1
113 echo "${indent}<${tag}"
119 echo "${indent}<${tag}/>"
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/
Dlog.h285 #define MPL_LOG(priority, tag, fmt, ...) \ argument
286 MPL_LOG_PRI(priority, tag, fmt, ##__VA_ARGS__)
294 #define MPL_LOG_PRI(priority, tag, fmt, ...) \ argument
295 LOG(priority, tag, fmt, ##__VA_ARGS__)
297 #define MPL_LOG_PRI(priority, tag, fmt, ...) \
298 pr_debug(MPL_##priority tag fmt, ##__VA_ARGS__)
300 #define MPL_LOG_PRI(priority, tag, fmt, ...) \
301 _MLPrintLog(MPL_##priority, tag, fmt, ##__VA_ARGS__)
310 #define MPL_LOG_PRI_VA(priority, tag, fmt, args) \ argument
311 android_vprintLog(priority, NULL, tag, fmt, args)
[all …]
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3VendorTags.cpp269 uint32_t tag) in get_section_name() argument
276 uint32_t section = tag >> 16; in get_section_name()
284 ALOGV("%s: section_name[%d] is %s", __func__, tag, ret); in get_section_name()
303 uint32_t tag) in get_tag_name() argument
307 uint32_t section = tag >> 16; in get_tag_name()
309 uint32_t tag_index = tag & 0xFFFF; in get_tag_name()
318 else if (tag >= (uint32_t)qcamera3_ext3_section_bounds[section_index]) in get_tag_name()
324 ALOGV("%s: tag name for tag %d is %s", __func__, tag, ret); in get_tag_name()
345 uint32_t tag) in get_tag_type() argument
349 uint32_t section = tag >> 16; in get_tag_type()
[all …]
DQCamera3VendorTags.h159 uint32_t tag);
162 uint32_t tag);
165 uint32_t tag);
/hardware/invensense/6515/libsensors_iio/software/core/driver/include/
Dlog.h339 #define MPL_LOG(priority, tag, fmt, ...) \ argument
340 MPL_LOG_PRI(priority, tag, fmt, ##__VA_ARGS__)
348 #define MPL_LOG_PRI(priority, tag, fmt, ...) \ argument
349 LOG(priority, tag, fmt, ##__VA_ARGS__)
351 #define MPL_LOG_PRI(priority, tag, fmt, ...) \
352 pr_debug(MPL_##priority tag fmt, ##__VA_ARGS__)
354 #define MPL_LOG_PRI(priority, tag, fmt, ...) \
355 _MLPrintLog(MPL_##priority, tag, fmt, ##__VA_ARGS__)
364 #define MPL_LOG_PRI_VA(priority, tag, fmt, args) \ argument
365 android_vprintLog(priority, NULL, tag, fmt, args)
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dlibs.doxy_template28 # This tag specifies the encoding used for all characters in the config file that
30 # the first occurrence of this tag. Doxygen uses libiconv (or the iconv built into
36 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded
41 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
48 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
57 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
69 # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
76 # If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
83 # This tag implements a quasi-intelligent brief description abbreviator
101 # If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
[all …]
/hardware/libhardware/tests/camera2/
DCameraMetadataTests.cpp63 int GetTypeFromTag(uint32_t tag) const { in GetTypeFromTag()
64 return get_camera_metadata_tag_type(tag); in GetTypeFromTag()
67 int GetTypeFromStaticTag(uint32_t tag) const { in GetTypeFromStaticTag()
69 camera_metadata_ro_entry entry = staticInfo.find(tag); in GetTypeFromStaticTag()
73 int GetEntryCountFromStaticTag(uint32_t tag) const { in GetEntryCountFromStaticTag()
75 camera_metadata_ro_entry entry = staticInfo.find(tag); in GetEntryCountFromStaticTag()
79 bool HasElementInArrayFromStaticTag(uint32_t tag, int32_t element) const { in HasElementInArrayFromStaticTag() argument
81 camera_metadata_ro_entry entry = staticInfo.find(tag); in HasElementInArrayFromStaticTag()
/hardware/intel/common/libva/doc/
DDoxyfile17 # This tag specifies the encoding used for all characters in the config file
19 # text before the first occurrence of this tag. Doxygen uses libiconv (or the
25 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded
30 # The PROJECT_NUMBER tag can be used to enter a project or revision number.
36 # Using the PROJECT_BRIEF tag one can provide an optional one line description for a project that a…
40 # With the PROJECT_LOGO tag one can specify an logo or icon that is
47 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
54 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
63 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
76 # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
[all …]
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dviddec_emit.c59 item.tag.tag_phys_addr = ibuf->phys; in viddec_emit_contr_tag()
60 item.tag.tag_phys_len = ibuf->len; in viddec_emit_contr_tag()
61 item.tag.tag_value = ibuf->id; in viddec_emit_contr_tag()
73 item.tag.tag_phys_addr = -1; in viddec_emit_assoc_tag()
74 item.tag.tag_phys_len = -1; in viddec_emit_assoc_tag()
75 item.tag.tag_value = id; in viddec_emit_assoc_tag()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/tools/
Dauthor_first_release.sh10 tags=${@:-$(git tag)}
11 for tag in $tags; do
12 git shortlog -n -e -s $tag |
/hardware/ti/omap3/omx/system/src/openmax_il/perf/src/
Dperf.c134 char tag[5] = { PERF_FOUR_CHARS(ulID), 0 }; in PERF_Create() local
138 for (i=0; i<4; i++) if (tag[i] == ' ') tag[i] = '_'; in PERF_Create()
139 ulID = PERF_FOURS(tag); in PERF_Create()
144 PERF_Config_Read(&config, tag); in PERF_Create()
Dperf_config.c37 static void read_line(PERF_Config *sConfig, char const *line, char const *tag);
116 void read_line(PERF_Config *cfg, char const *line, char const *tag) in read_line() argument
134 if (!tag || strncmp(line, tag, ptr - line)) return; in read_line()
176 void PERF_Config_Read(PERF_Config *sConfig, char const *tag) in PERF_Config_Read() argument
206 read_line(sConfig, line, tag); in PERF_Config_Read()
/hardware/ti/omap4-aah/
Dheaptracker.c45 uint32_t tag; member
75 extern int __android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap);
189 hdr->tag = ALLOCATION_TAG; in add()
200 if (hdr->tag != ALLOCATION_TAG) in del()
257 if (hdr->tag != ALLOCATION_TAG && hdr->tag != BACKLOG_TAG) { in __check_allocation()
259 user(hdr), hdr->tag); in __check_allocation()
267 if (hdr->tag == BACKLOG_TAG && was_used_after_free(hdr)) { in __check_allocation()
281 if (hdr->tag == BACKLOG_TAG) { in __check_allocation()
310 hdr->tag = 0; /* clear the tag */ in __del_from_backlog()
334 hdr->tag = BACKLOG_TAG; in add_to_backlog()
[all …]
/hardware/ti/omap4xxx/
Dheaptracker.c45 uint32_t tag; member
75 extern int __android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap);
189 hdr->tag = ALLOCATION_TAG; in add()
200 if (hdr->tag != ALLOCATION_TAG) in del()
257 if (hdr->tag != ALLOCATION_TAG && hdr->tag != BACKLOG_TAG) { in __check_allocation()
259 user(hdr), hdr->tag); in __check_allocation()
267 if (hdr->tag == BACKLOG_TAG && was_used_after_free(hdr)) { in __check_allocation()
281 if (hdr->tag == BACKLOG_TAG) { in __check_allocation()
310 hdr->tag = 0; /* clear the tag */ in __del_from_backlog()
334 hdr->tag = BACKLOG_TAG; in add_to_backlog()
[all …]
/hardware/ti/omap4xxx/camera/
DEncoder_libjpeg.cpp259 bool ExifElementsTable::isAsciiTag(const char* tag) { in isAsciiTag() argument
261 return (strcmp(tag, TAG_GPS_PROCESSING_METHOD) == 0); in isAsciiTag()
308 status_t ExifElementsTable::insertElement(const char* tag, const char* value) { in insertElement() argument
312 if (!value || !tag) { in insertElement()
321 if (isAsciiTag(tag)) { in insertElement()
327 if (IsGpsTag(tag)) { in insertElement()
329 table[position].Tag = GpsTagNameToValue(tag); in insertElement()
333 table[position].Tag = TagNameToValue(tag); in insertElement()
336 if (strcmp(tag, TAG_DATETIME) == 0) { in insertElement()
/hardware/ti/omap4-aah/camera/
DEncoder_libjpeg.cpp316 bool ExifElementsTable::isAsciiTag(const char* tag) { in isAsciiTag() argument
318 return (strcmp(tag, TAG_GPS_PROCESSING_METHOD) == 0); in isAsciiTag()
369 status_t ExifElementsTable::insertElement(const char* tag, const char* value) { in insertElement() argument
373 if (!value || !tag) { in insertElement()
382 if (isAsciiTag(tag)) { in insertElement()
388 if (IsGpsTag(tag)) { in insertElement()
390 table[position].Tag = GpsTagNameToValue(tag); in insertElement()
394 table[position].Tag = TagNameToValue(tag); in insertElement()
397 if (strcmp(tag, TAG_DATETIME) == 0) { in insertElement()

123456