Searched defs:type (Results 1 - 25 of 634) 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,
/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);
/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/include/media/
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
/frameworks/av/media/img_utils/include/img_utils/
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...]
H A DTiffWriter.cpp241 status_t TiffWriter::addSubIfd(uint32_t parentIfd, uint32_t ifd, SubIfdType type) { argument
258 if (type == SUBIFD) {
260 } else if (type == GPSINFO) {
263 ALOGE("%s: Unknown SubIFD type %d.", __FUNCTION__, type);
274 if (type == GPSINFO) {
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.h40 downmix_type_t type; member in struct:__anon96
/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.c61 static int findEffect(const effect_uuid_t *type,
837 int findEffect(const effect_uuid_t *type, argument
853 if (type != NULL && memcmp(&d->type, type, sizeof(effect_uuid_t)) == 0) {
886 uuidToString(&desc->type, s, 256);
/frameworks/av/media/libeffects/testlibs/
H A DAudioShelvingFilter.cpp49 AudioShelvingFilter::AudioShelvingFilter(ShelfType type, int nChannels, argument
51 : mType(type),
/frameworks/av/media/libmedia/
H A DAudioEffect.cpp44 AudioEffect::AudioEffect(const effect_uuid_t *type, argument
54 mStatus = set(type, uuid, priority, cbf, user, sessionId, io);
67 effect_uuid_t type; local
72 ALOGV("Constructor string\n - type: %s\n - uuid: %s", typeStr, uuidStr);
75 if (stringToGuid(typeStr, &type) == NO_ERROR) {
76 pType = &type;
89 status_t AudioEffect::set(const effect_uuid_t *type, argument
101 ALOGV("set %p mUserData: %p uuid: %p timeLow %08x", this, user, type, type ? type
[all...]
H A DAudioSystem.cpp777 // FIXME change return type to status_t, and return PERMISSION_DENIED here
884 audio_port_type_t type,
891 return aps->listAudioPorts(role, type, num_ports, ports, generation);
883 listAudioPorts(audio_port_role_t role, audio_port_type_t type, unsigned int *num_ports, struct audio_port *ports, unsigned int *generation) argument
H A DIAudioPolicyService.cpp180 ALOGE("getOutputForAttr(): NULL audio attributes and stream type");
184 ALOGE("getOutputForAttr unspecified stream type");
505 audio_port_type_t type,
518 data.writeInt32(type);
1057 audio_port_type_t type = (audio_port_type_t)data.readInt32(); local
1071 status_t status = listAudioPorts(role, type, &numPorts, ports, &generation);
504 listAudioPorts(audio_port_role_t role, audio_port_type_t type, unsigned int *num_ports, struct audio_port *ports, unsigned int *generation) argument
H A DIMediaCodecList.cpp68 const char *type, bool encoder, size_t startIndex = 0) const
76 data.writeCString(type);
131 const char *type = data.readCString(); local
134 ssize_t index = findCodecByType(type, isEncoder, startIndex);
67 findCodecByType( const char *type, bool encoder, size_t startIndex = 0) const argument
H A DIOMX.cpp500 InternalOptionType type,
509 data.writeInt32(type);
640 InternalOptionType type = local
643 err = setInternalOption(node, index, type, params, size);
968 ALOGV("onMessage writing message %d, size %zu", msg.type, sizeof(msg));
986 ALOGV("onTransact reading message %d, size %zu", msg.type, sizeof(msg));
497 setInternalOption( node_id node, OMX_U32 port_index, InternalOptionType type, const void *optionData, size_t size) argument
H A DMediaScanner.cpp190 int type = entry->d_type; local
191 if (type == DT_UNKNOWN) {
192 // If the type is unknown, stat() the file instead.
197 type = DT_REG;
199 type = DT_DIR;
205 if (type == DT_DIR) {
228 } else if (type == DT_REG) {
H A DVisualizer.cpp224 status_t Visualizer::getIntMeasurements(uint32_t type, uint32_t number, int32_t *measurements) { argument
229 if (!(mMeasurementMode & type)) {
230 // measurement type has not been set on this Visualizer
232 type, mMeasurementMode);
236 if ((type != MEASUREMENT_MODE_PEAK_RMS)
249 &type /*cmdData*/,
H A Dmediaplayer.cpp537 status_t MediaPlayer::setAudioStreamType(audio_stream_type_t type) argument
541 if (mStreamType == type) return NO_ERROR;
544 // Can't change the stream type after prepare
549 mStreamType = type;
553 status_t MediaPlayer::getAudioStreamType(audio_stream_type_t *type) argument
557 *type = mStreamType;
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.cpp44 player_type type) {
46 ALOGE("Failed to register MediaPlayerFactory of type %d, factory is"
47 " NULL.", type);
51 if (sFactoryMap.indexOfKey(type) >= 0) {
52 ALOGE("Failed to register MediaPlayerFactory of type %d, type is"
53 " already registered.", type);
57 if (sFactoryMap.add(type, factory) < 0) {
58 ALOGE("Failed to register MediaPlayerFactory of type %d, failed to add"
59 " to map.", type);
43 registerFactory_l(IFactory* factory, player_type type) argument
82 registerFactory(IFactory* factory, player_type type) argument
88 unregisterFactory(player_type type) argument
[all...]
H A DMediaPlayerService.cpp107 // | metadata type 1 |
109 // | metadata type 2 |
113 // | metadata type n |
117 // @param[out] filter On exit contains the list of metadata type to be
177 // @param filter Of metadata type.
417 snprintf(buffer, 255, " stream type(%d), left - right volume(%f, %f)\n",
540 result.append(" unexpected type for ");
642 // determine if we have the right player type
662 ALOGV("player type = %d", playerType);
664 // create the right type o
1044 setAudioStreamType(audio_stream_type_t type) argument
[all...]

Completed in 2290 milliseconds

1234567891011>>