Searched refs:type (Results 1 - 25 of 1111) sorted by path

1234567891011>>

/frameworks/av/camera/
H A DCameraMetadata.cpp178 ALOGE("Mismatched tag type when updating entry %s (%d) of type %s; "
179 "got type %s data instead ",
287 int type = get_camera_metadata_tag_type(tag); local
288 if (type == -1) {
292 size_t data_size = calculate_camera_metadata_entry_data_size(type,
H A DVendorTagDescriptor.cpp109 ALOGE("%s: tag type %d from vendor ops does not exist.", __FUNCTION__, tagType);
177 ALOGE("%s: could not read tag type from parcel for tag %d", __FUNCTION__, tag);
181 ALOGE("%s: tag type %d from vendor ops does not exist.", __FUNCTION__, tagType);
371 int type = mTagToTypeMap.valueFor(tag);
372 const char* typeName = (type >= 0 && type < NUM_TYPES) ?
373 camera_metadata_type_names[type] : "UNKNOWN";
374 dprintf(fd, "%*s0x%x (%s) with type %d (%s) defined in section %s\n", indentation + 2,
375 "", tag, name.string(), type, typeName, sectionName.string());
/frameworks/av/cmds/screenrecord/
H A DProgram.cpp71 status_t Program::setup(ProgramType type) { argument
72 ALOGV("Program::setup type=%d", type);
75 mProgramType = type;
78 if (type == PROGRAM_TEXTURE_2D) {
151 ALOGE("Compile of shader type %d failed", shaderType);
279 ALOGE("unexpected program type %d", mProgramType);
H A DProgram.h48 // Initialize the program for use with the specified texture type.
49 status_t setup(ProgramType type);
/frameworks/av/cmds/stagefright/
H A Dsf2.cpp321 uint32_t type; local
324 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
401 } else if (meta->findData(kKeyESDS, &type, &data, &size)) {
417 } else if (meta->findData(kKeyVorbisInfo, &type, &data, &size)) {
424 CHECK(meta->findData(kKeyVorbisBooks, &type, &data, &size));
H A Dstagefright.cpp118 uint32_t type; local
121 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
628 printf("type '%s':\n", kMimeTypes[k]);
/frameworks/av/drm/common/
H A DIDrmServiceListener.cpp49 int type = data.readInt32(); local
52 status_t status = notify(DrmInfoEvent(uniqueId, type, message));
/frameworks/av/drm/libdrmframework/plugins/common/util/src/
H A DMimeTypeUtil.cpp41 int type; // Audio, video,.. use the enum values member in struct:android::MimeGroup
47 int type; member in struct:android::MimeTypeList
137 while (MIMETYPE_LAST != pGroup->type) {
145 if (MIMETYPE_LAST != pGroup->type) {
148 while (MIMETYPE_LAST != pMimeItem->type) {
149 if ((pGroup->type == pMimeItem->type) &&
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DJsonWebKey.cpp212 if (mJsmnTokens[j].type == JSMN_STRING ||
213 mJsmnTokens[j].type == JSMN_PRIMITIVE) {
236 // Computes number of tokens. A token marks the type, offset in
261 if (mJsmnTokens[i].type == JSMN_OBJECT) {
/frameworks/av/include/media/
H A DAudioEffect.h163 * the same effect type but with a higher priority. Control is returned when the
173 * event: type of event notified (see enum AudioEffect::event_type).
175 * info: Pointer to optional parameter according to event type:
190 * in the AudioFlinger if no engine of the specified type exists. If one exists, this engine
212 * type: type of effect created: can be null if uuid is specified. This corresponds to
214 * uuid: Uuid of effect created: can be null if type is specified. This uuid corresponds to
215 * a particular implementation of an effect type.
229 AudioEffect(const effect_uuid_t *type,
239 * Same as above but with type an
[all...]
H A DAudioSystem.h288 // Check if hw offload is possible for given format, stream type, sample rate,
298 audio_port_type_t type,
H A DIAudioPolicyService.h117 // Check if offload is possible for given format, stream type, sample rate,
123 audio_port_type_t type,
H A DIMediaCodecList.h37 const char *type, bool encoder, size_t startIndex = 0) const = 0;
H A DIMediaPlayer.h63 virtual status_t setAudioStreamType(audio_stream_type_t type) = 0;
H A DIOMX.h156 InternalOptionType type,
167 } type; member in struct:android::omx_message
172 // if type == EVENT
179 // if type == EMPTY_BUFFER_DONE
184 // if type == FILL_BUFFER_DONE
H A DVisualizer.h45 * is called as well as the type of data returned is specified.
86 // callback. When a type of data is not present, the corresponding size (waveformSize or
123 status_t getIntMeasurements(uint32_t type, uint32_t number, int32_t *measurements);
H A Dmediaplayer.h229 status_t setAudioStreamType(audio_stream_type_t type);
230 status_t getAudioStreamType(audio_stream_type_t *type);
/frameworks/av/include/media/stagefright/
H A DMediaCodecList.h41 const char *type, bool encoder, size_t startIndex = 0) const;
102 void addMediaCodec(bool encoder, const char *name, const char *type = NULL);
110 status_t initializeCapabilities(const char *type);
H A DMetaData.h158 // kKeyEncryptedSizes, 0 /* type */, encSizes, sizeof(encSizes));
225 bool setData(uint32_t key, uint32_t type, const void *data, size_t size);
227 bool findData(uint32_t key, uint32_t *type,
246 void setData(uint32_t type, const void *data, size_t size);
247 void getData(uint32_t *type, const void **data, size_t *size) const;
/frameworks/av/include/media/stagefright/foundation/
H A DAMessage.h114 const char *getEntryNameAt(size_t index, Type *type) const;
153 const Item *findItem(const char *name, Type type) const;
156 const char *name, const sp<RefBase> &obj, Type type);
/frameworks/av/media/img_utils/include/img_utils/
H A DTiffEntry.h66 * Get the type set for this entry. This corresponds to the TIFF Type
81 * Returns NULL if the value is NULL, or if the type used does not
82 * match the type of this tag.
90 * Force the type used here to be a valid TIFF type.
92 * Returns NULL if the given value is NULL, or if the type given does
93 * not match the type of the value given.
96 static const T* forceValidType(TagType type, const T* value);
H A DTiffEntryImpl.h38 TiffEntryImpl(uint16_t tag, TagType type, uint32_t count, Endianness end, const T* data);
64 TiffEntryImpl<T>::TiffEntryImpl(uint16_t tag, TagType type, uint32_t count, Endianness end, argument
66 : mTag(tag), mType(static_cast<uint16_t>(type)), mCount(count), mEnd(end) {
67 count = (type == RATIONAL || type == SRATIONAL) ? count * 2 : count;
H A DTiffHelpers.h102 inline size_t getTypeSize(TagType type) { argument
103 switch(type) {
H A DTiffWriter.h123 * - BAD_TYPE - The type of the given data isn't compatible with the
124 * type required for this tag.
132 * was constructed with. The count and type are validated.
139 * - BAD_TYPE - The type of the given data isn't compatible with the
140 * type required for this tag.
149 * with. The count and type are validated. If this succeeds, the resulting
157 * - BAD_TYPE - The type of the given data isn't compatible with the
158 * type required for this tag.
199 virtual status_t addSubIfd(uint32_t parentIfd, uint32_t ifd, SubIfdType type = SUBIFD);
202 * Returns the default type fo
314 uncheckedBuildEntry(uint16_t tag, TagType type, uint32_t count, Endianness end, const T* data) argument
[all...]
/frameworks/av/media/img_utils/src/
H A DTiffEntry.cpp31 * Specialize for each valid type, including sub-IFDs.
37 const sp<TiffIfd>* TiffEntry::forceValidType<sp<TiffIfd> >(TagType type, const sp<TiffIfd>* value) { argument
38 if (type == LONG) {
41 ALOGE("%s: Value of type 'ifd' is not valid for tag with TIFF type %d.",
42 __FUNCTION__, type);
47 const uint8_t* TiffEntry::forceValidType<uint8_t>(TagType type, const uint8_t* value) { argument
48 if (type == BYTE || type == ASCII || type
57 forceValidType(TagType type, const int8_t* value) argument
67 forceValidType(TagType type, const uint16_t* value) argument
77 forceValidType(TagType type, const int16_t* value) argument
87 forceValidType(TagType type, const uint32_t* value) argument
97 forceValidType(TagType type, const int32_t* value) argument
107 forceValidType(TagType type, const double* value) argument
117 forceValidType(TagType type, const float* value) argument
136 TagType type = getType(); local
[all...]

Completed in 195 milliseconds

1234567891011>>