/frameworks/av/media/libstagefright/ |
H A D | MPEG4Extractor.cpp | 899 // For now we only support a single type of media per track. 1379 uint32_t type = ntohl(buffer); local 1380 // For the 3GPP file format, the handler-type within the 'hdlr' box 1381 // shall be 'text'. We also want to support 'sbtl' handler type 1383 if (type == FOURCC('t', 'e', 'x', 't') || type == FOURCC('s', 'b', 't', 'l')) { 1393 uint32_t type; local 1397 kKeyTextFormatData, &type, &data, &size)) { 1769 uint32_t type; local 1773 if (!track->meta->findData(kKeyAVCC, &type, 1924 uint32_t type; local [all...] |
H A D | MPEG4Writer.cpp | 273 const uint8_t *data, size_t length, int type, size_t *paramSetLen); 1358 uint32_t type; local 1361 if (mMeta->findData(kKeyAVCC, &type, &data, &size)) { 1369 uint32_t type; local 1372 if (mMeta->findData(kKeyESDS, &type, &data, &size)) { 1704 static void getNalUnitType(uint8_t byte, uint8_t* type) { argument 1708 *type = (byte & 0x1F); 1728 const uint8_t *data, size_t length, int type, size_t *paramSetLen) { 1731 CHECK(type == kNalUnitTypeSeqParamSet || 1732 type 1727 parseParamSet( const uint8_t *data, size_t length, int type, size_t *paramSetLen) argument 1790 uint8_t type = kNalUnitTypeSeqParamSet; local [all...] |
H A D | MediaCodecList.cpp | 147 ALOGW("Component %s does not support any type of media?", 277 const char *type = NULL; local 287 } else if (!strcmp(attrs[i], "type")) { 291 type = attrs[i + 1]; 304 addMediaCodec(encoder, name, type); 310 bool encoder, const char *name, const char *type) { 318 if (type != NULL) { 319 addType(type); 400 ALOGW("Too many distinct type names in configuration."); 414 const char *type, boo 309 addMediaCodec( bool encoder, const char *name, const char *type) argument 413 findCodecByType( const char *type, bool encoder, size_t startIndex) const argument 509 getCodecCapabilities( size_t index, const char *type, Vector<ProfileLevel> *profileLevels, Vector<uint32_t> *colorFormats) const argument [all...] |
H A D | MetaData.cpp | 93 uint32_t type; local 96 if (!findData(key, &type, &data, &size) || type != TYPE_C_STRING) { 106 uint32_t type; local 109 if (!findData(key, &type, &data, &size) || type != TYPE_INT32) { 121 uint32_t type; local 124 if (!findData(key, &type, &data, &size) || type != TYPE_INT64) { 136 uint32_t type; local 151 uint32_t type; local 169 uint32_t type; local 187 setData( uint32_t key, uint32_t type, const void *data, size_t size) argument 206 findData(uint32_t key, uint32_t *type, const void **data, size_t *size) const argument 255 setData( uint32_t type, const void *data, size_t size) argument 264 getData( uint32_t *type, const void **data, size_t *size) const argument [all...] |
H A D | OMXCodec.cpp | 462 uint32_t type; local 465 if (meta->findData(kKeyESDS, &type, &data, &size)) { 476 } else if (meta->findData(kKeyAVCC, &type, &data, &size)) { 490 } else if (meta->findData(kKeyVorbisInfo, &type, &data, &size)) { 493 CHECK(meta->findData(kKeyVorbisBooks, &type, &data, &size)); 795 ALOGE("Not a supported video mime type: %s", mime); 796 CHECK(!"Should not be here. Not a supported video mime type."); 1192 ALOGE("Not a supported video mime type: %s", mime); 1193 CHECK(!"Should not be here. Not a supported video mime type."); 2078 if (msg.type 3949 imageCompressionFormatString(OMX_IMAGE_CODINGTYPE type) argument 3972 colorFormatString(OMX_COLOR_FORMATTYPE type) argument 4033 videoCompressionFormatString(OMX_VIDEO_CODINGTYPE type) argument 4055 audioCodingTypeString(OMX_AUDIO_CODINGTYPE type) argument 4096 audioPCMModeString(OMX_AUDIO_PCMMODETYPE type) argument 4112 amrBandModeString(OMX_AUDIO_AMRBANDMODETYPE type) argument 4143 amrFrameFormatString(OMX_AUDIO_AMRFRAMEFORMATTYPE type) argument [all...] |
H A D | OggExtractor.cpp | 122 MediaBuffer *buffer, uint8_t type); 686 MediaBuffer *buffer, uint8_t type) { 692 if (size < 7 || data[0] != type || memcmp(&data[1], "vorbis", 6)) { 711 CHECK_EQ(oggpack_read(&bits, 8), type); local 716 switch (type) { 912 char type[128]; local 926 if (typeLen + 1 > sizeof(type)) { 934 memcpy(type, &flac[8], typeLen); 935 type[typeLen] = '\0'; 937 ALOGV("picType = %d, type 685 verifyHeader( MediaBuffer *buffer, uint8_t type) argument [all...] |
H A D | SampleTable.cpp | 164 uint32_t type, off64_t data_offset, size_t data_size) { 169 CHECK(type == kChunkOffsetType32 || type == kChunkOffsetType64); 172 mChunkOffsetType = type; 256 uint32_t type, off64_t data_offset, size_t data_size) { 261 CHECK(type == kSampleSizeType32 || type == kSampleSizeTypeCompact); 283 if (type == kSampleSizeType32) { 163 setChunkOffsetParams( uint32_t type, off64_t data_offset, size_t data_size) argument 255 setSampleSizeParams( uint32_t type, off64_t data_offset, size_t data_size) argument
|
H A D | StagefrightMetadataRetriever.cpp | 373 uint32_t type; local 375 if (fileMeta->findData(kKeyAlbumArt, &type, &data, &dataSize) 478 uint32_t type; local 480 if (meta->findData(kKeyAlbumArt, &type, &data, &dataSize) 592 // rewrite its mime type.
|
H A D | SurfaceMediaSource.cpp | 267 OMX_U32 type = kMetadataBufferTypeGrallocSource; local 268 memcpy(data, &type, 4);
|
H A D | Utils.cpp | 121 uint32_t type; local 124 if (meta->findData(kKeyAVCC, &type, &data, &size)) { 202 } else if (meta->findData(kKeyESDS, &type, &data, &size)) { 219 } else if (meta->findData(kKeyVorbisInfo, &type, &data, &size)) { 227 if (!meta->findData(kKeyVorbisBooks, &type, &data, &size)) { 358 ALOGW("did not find mime type");
|
/frameworks/av/media/libstagefright/chromium_http/ |
H A D | support.cpp | 133 EventType type, 140 "AddEntry time=%s type=%s source=%s phase=%s\n", 142 EventTypeToString(type), 143 SourceTypeToString(source.type), 132 AddEntry( EventType type, const base::TimeTicks &time, const Source &source, EventPhase phase, EventParameters *params) argument
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/ |
H A D | SoftAMRWBEncoder.cpp | 140 VOAMRWBFRAMETYPE type = VOAMRWB_RFC3267; local 142 mEncoderHandle, VO_PID_AMRWB_FRAMETYPE, &type)) { 143 ALOGE("Failed to set AMRWB encoder frame type to %d", type);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
H A D | SoftAVCEncoder.cpp | 750 int32_t type; local 757 encoderStatus = PVAVCEncodeNAL(mHandle, outPtr, &dataLength, &type); 767 switch (type) { 776 CHECK_EQ(AVC_NALTYPE_PPS, type); 874 encoderStatus = PVAVCEncodeNAL(mHandle, outPtr, &dataLength, &type); 963 OMX_U32 type = *(OMX_U32*)data; local 965 if (type != kMetadataBufferTypeGrallocSource) { 966 ALOGE("Data passed in with metadata mode does not have type " 967 "kMetadataBufferTypeGrallocSource (%d), has type %ld instead", 968 kMetadataBufferTypeGrallocSource, type); [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | residual.cpp | 145 AVCEnc_Status enc_residual_block(AVCEncObject *encvid, AVCResidualType type, int cindx, AVCMacroblock *currMB) argument 161 switch (type)
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | cal_dc_scaler.cpp | 23 [input_variable_name] = [description of the input to module, its type 27 [local_store_name] = [description of the local store, its type 29 [local_buffer_name] = [description of the local buffer, its type 31 [local_ptr_name] = [description of the local pointer, its type 35 [global_store_name] = [description of the global store, its type 37 [global_buffer_name] = [description of the global buffer, its type 39 [global_ptr_name] = [description of the global pointer, its type 44 by module, its type definition, and length 49 variable_bfr_ptr points to, its type definition, and length 55 [local_store_name] = [describe new contents, its type 150 cal_dc_scaler( int QP, int type) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
H A D | SoftMPEG4Encoder.cpp | 770 OMX_U32 type = *(OMX_U32*)data; local 772 if (type != kMetadataBufferTypeGrallocSource) { 773 ALOGE("Data passed in with metadata mode does not have type " 774 "kMetadataBufferTypeGrallocSource (%d), has type %ld instead", 775 kMetadataBufferTypeGrallocSource, type);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | fastquant.cpp | 82 incoming Q and type; */ 90 Int cal_dc_scalerENC(Int QP, Int type) argument 94 if (type == 1)
|
/frameworks/av/media/libstagefright/mp4/ |
H A D | FragmentedMP4Parser.cpp | 582 uint32_t type = readU32(4); local 597 if (type == FOURCC('u', 'u', 'i', 'd')) { 614 if (kDispatchTable[i].mType == type 621 // amount of data depending on the media handler type. 622 // We don't look inside 'hint' type SampleEntry boxes. 632 if (type == FOURCC('m', 'o', 'o', 'f')) { 638 if (type == FOURCC('m', 'e', 't', 'a')) { 648 } else if (type == FOURCC('s', 't', 's', 'd')) { 703 type, offset, offset + headerSize); 710 type, offse 1028 enter(off64_t offset, uint32_t type, uint64_t size) argument 1127 parseTrackHeader( uint32_t type, size_t offset, uint64_t size) argument 1178 parseMediaHeader( uint32_t type, size_t offset, uint64_t size) argument 1211 parseMediaHandler( uint32_t type, size_t offset, uint64_t size) argument 1239 parseVisualSampleEntry( uint32_t type, size_t offset, uint64_t size) argument 1282 parseAudioSampleEntry( uint32_t type, size_t offset, uint64_t size) argument 1348 parseSampleSizes( uint32_t type, size_t offset, uint64_t size) argument 1354 parseCompactSampleSizes( uint32_t type, size_t offset, uint64_t size) argument 1360 parseSampleToChunk( uint32_t type, size_t offset, uint64_t size) argument 1366 parseChunkOffsets( uint32_t type, size_t offset, uint64_t size) argument 1372 parseChunkOffsets64( uint32_t type, size_t offset, uint64_t size) argument 1378 parseAVCCodecSpecificData( uint32_t type, size_t offset, uint64_t size) argument 1461 parseESDSCodecSpecificData( uint32_t type, size_t offset, uint64_t size) argument 1566 parseMediaData( uint32_t type, size_t offset, uint64_t size) argument 1587 parseSegmentIndex( uint32_t type, size_t offset, uint64_t size) argument 1674 parseTrackExtends( uint32_t type, size_t offset, uint64_t size) argument 1725 parseTrackFragmentHeader( uint32_t type, size_t offset, uint64_t size) argument 1815 parseTrackFragmentRun( uint32_t type, size_t offset, uint64_t size) argument [all...] |
H A D | TrackFragment.cpp | 244 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) { 268 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) { 297 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) { 322 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) { 343 FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) { 243 parseSampleSizes( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument 267 parseCompactSampleSizes( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument 296 parseSampleToChunk( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument 321 parseChunkOffsets( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument 342 parseChunkOffsets64( FragmentedMP4Parser *parser, uint32_t type, size_t offset, uint64_t size) argument
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ATSParser.cpp | 59 DiscontinuityType type, const sp<AMessage> &extra); 63 sp<MediaSource> getSource(SourceType type); 104 unsigned type() const { return mStreamType; } function in struct:android::ATSParser::Stream 114 DiscontinuityType type, const sp<AMessage> &extra); 118 sp<MediaSource> getSource(SourceType type); 217 DiscontinuityType type, const sp<AMessage> &extra) { 219 mStreams.editValueAt(i)->signalDiscontinuity(type, extra); 332 if (index >= 0 && mStreams.editValueAt(index)->type() != info.mType) { 345 ALOGI("PID 0x%08x => type 0x%02x", stream->pid(), stream->type()); 216 signalDiscontinuity( DiscontinuityType type, const sp<AMessage> &extra) argument 412 getSource(SourceType type) argument 602 signalDiscontinuity( DiscontinuityType type, const sp<AMessage> &extra) argument 885 getSource(SourceType type) argument 930 signalDiscontinuity( DiscontinuityType type, const sp<AMessage> &extra) argument 1193 getSource(SourceType type) argument [all...] |
H A D | AnotherPacketSource.cpp | 154 ATSParser::DiscontinuityType type, 176 buffer->meta()->setInt32("discontinuity", static_cast<int32_t>(type)); 153 queueDiscontinuity( ATSParser::DiscontinuityType type, const sp<AMessage> &extra) argument
|
H A D | MPEG2TSExtractor.cpp | 171 ATSParser::SourceType type; local
|
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedText3GPPSource.cpp | 99 uint32_t type; local 103 kKeyTextFormatData, &type, &data, &size)) {
|
/frameworks/av/media/mtp/ |
H A D | MtpProperty.cpp | 47 MtpDataType type, 51 mType(type), 68 switch (type) { 94 ALOGE("unknown type %04X in MtpProperty::MtpProperty", type); 270 ALOGE("unsupported type for MtpProperty::setRange"); 309 ALOGE("unsupported type for MtpProperty::setEnum"); 326 ALOGI(" type %04X", mType); 405 ALOGE("unsupported type for MtpProperty::print\n"); 459 ALOGE("unknown type 46 MtpProperty(MtpPropertyCode propCode, MtpDataType type, bool writeable, int defaultValue) argument [all...] |
H A D | MtpServer.cpp | 1018 int type = entry->d_type; local
|