Home
last modified time | relevance | path

Searched refs:AMediaFormat_setInt32 (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/media/libstagefright/
DMetaDataUtils.cpp76 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_WIDTH, width); in MakeAVCCodecSpecificData()
77 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_HEIGHT, height); in MakeAVCCodecSpecificData()
79 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_SAR_WIDTH, sarWidth); in MakeAVCCodecSpecificData()
80 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_SAR_HEIGHT, sarHeight); in MakeAVCCodecSpecificData()
195 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sampleRate); in MakeAACCodecSpecificData()
196 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, channel_configuration); in MakeAACCodecSpecificData()
346 AMediaFormat_setInt32(fileMeta, AMEDIAFORMAT_KEY_LOOP, 1); in parseVorbisComment()
353 AMediaFormat_setInt32(fileMeta, kMap[j].mKey, hapticChannelCount); in parseVorbisComment()
/frameworks/av/media/extractors/wav/
DWAVExtractor.cpp153 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_PCM_ENCODING, in getTrackMetaData()
329 AMediaFormat_setInt32(mTrackMeta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, mNumChannels); in init()
330 AMediaFormat_setInt32(mTrackMeta, AMEDIAFORMAT_KEY_CHANNEL_MASK, mChannelMask); in init()
331 AMediaFormat_setInt32(mTrackMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, mSampleRate); in init()
332 AMediaFormat_setInt32(mTrackMeta, AMEDIAFORMAT_KEY_BITS_PER_SAMPLE, mBitsPerSample); in init()
423 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_MAX_INPUT_SIZE, kMaxFrameSize); in getFormat()
424 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_PCM_ENCODING, in getFormat()
568 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, 1); in read()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp516 AMediaFormat_setInt32(track->meta, AMEDIAFORMAT_KEY_ENCODER_DELAY, delay); in getTrackMetaData()
567 AMediaFormat_setInt32(track->meta, AMEDIAFORMAT_KEY_ENCODER_PADDING, paddingsamples); in getTrackMetaData()
687 AMediaFormat_setInt32(track->meta, AMEDIAFORMAT_KEY_TRACK_ID, imageIndex); in readMetaData()
1112 AMediaFormat_setInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_CRYPTO_MODE, mode); in parseChunk()
1194 AMediaFormat_setInt32(mLastTrack->meta, in parseChunk()
1196 AMediaFormat_setInt32(mLastTrack->meta, in parseChunk()
1307 AMediaFormat_setInt32(mLastTrack->meta, in parseChunk()
1311 AMediaFormat_setInt32(mLastTrack->meta, in parseChunk()
1315 AMediaFormat_setInt32(mLastTrack->meta, in parseChunk()
1317 AMediaFormat_setInt32(mLastTrack->meta, in parseChunk()
[all …]
DItemTable.cpp1508 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_DEFAULT, 1); in getImageMeta()
1513 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_WIDTH, image->width); in getImageMeta()
1514 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_HEIGHT, image->height); in getImageMeta()
1522 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_ROTATION, 360 - image->rotation); in getImageMeta()
1527 AMediaFormat_setInt32(meta, in getImageMeta()
1536 AMediaFormat_setInt32(meta, in getImageMeta()
1538 AMediaFormat_setInt32(meta, in getImageMeta()
1554 AMediaFormat_setInt32(meta, in getImageMeta()
1556 AMediaFormat_setInt32(meta, in getImageMeta()
1560 AMediaFormat_setInt32(meta, in getImageMeta()
[all …]
/frameworks/av/media/extractors/mp3/
DMP3Extractor.cpp293 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_ENCODER_DELAY, encd); in MP3Extractor()
294 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_ENCODER_PADDING, encp); in MP3Extractor()
344 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sample_rate); in MP3Extractor()
345 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_BIT_RATE, bitrate * 1000); in MP3Extractor()
346 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, num_channels); in MP3Extractor()
394 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_ENCODER_DELAY, delay); in MP3Extractor()
395 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_ENCODER_PADDING, padding); in MP3Extractor()
595 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, 1); in read()
/frameworks/av/media/extractors/midi/
DMidiExtractor.cpp178 AMediaFormat_setInt32( in MidiEngine()
180 AMediaFormat_setInt32( in MidiEngine()
182 AMediaFormat_setInt32( in MidiEngine()
242 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, 1); in readBuffer()
/frameworks/av/media/extractors/flac/
DFLACExtractor.cpp544 AMediaFormat_setInt32(mTrackMetadata, in init()
546 AMediaFormat_setInt32(mTrackMetadata, in init()
548 AMediaFormat_setInt32(mTrackMetadata, in init()
570 AMediaFormat_setInt32(mTrackMetadata, AMEDIAFORMAT_KEY_MAX_INPUT_SIZE, mMaxBufferSize); in allocateBuffers()
644 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, 1); in readBuffer()
699 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_PCM_ENCODING, in getFormat()
780 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_PCM_ENCODING, in getTrackMetaData()
/frameworks/av/media/extractors/ogg/
DOggExtractor.cpp297 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, 1); in read()
636 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_VALID_SAMPLES, currentPageSamples); in readNextPacket()
835 AMediaFormat_setInt32( in _readNextPacket()
911 AMediaFormat_setInt32( in _readNextPacket()
1075 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, kOpusSampleRate); in verifyOpusHeader()
1076 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, mChannelCount); in verifyOpusHeader()
1218 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, mVi.rate); in verifyHeader()
1219 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, mVi.channels); in verifyHeader()
1220 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_BIT_RATE, mVi.bitrate_nominal); in verifyHeader()
1301 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_CHANNEL_MASK, channelMask); in setChannelMask()
[all …]
/frameworks/av/media/extractors/amr/
DAMRExtractor.cpp158 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, 1); in AMRExtractor()
159 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, mIsWide ? 16000 : 8000); in AMRExtractor()
349 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, 1); in read()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp806 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, block->IsKey()); in readBlock()
824 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_VALID_SAMPLES, validSamples); in readBlock()
1197 AMediaFormat_setInt32(bufMeta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, isSync); in read()
1642 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_MAX_INPUT_SIZE, maxInputSize); in addFlacMetadata()
1814 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_COLOR_RANGE, range); in getColorInformation()
1817 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_COLOR_STANDARD, standard); in getColorInformation()
1820 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_COLOR_TRANSFER, transfer); in getColorInformation()
2060 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_WIDTH, (int32_t)width); in addTracks()
2061 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_HEIGHT, (int32_t)height); in addTracks()
2071 AMediaFormat_setInt32(meta, in addTracks()
[all …]
/frameworks/av/media/extractors/aac/
DAACExtractor.cpp154 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_AAC_PROFILE, profile + 1); in AACExtractor()
312 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, 1); in read()
/frameworks/av/media/extractors/mpeg2/
DMPEG2TSExtractor.cpp119 AMediaFormat_setInt32(format, name, val32); in copyAMessageToAMediaFormat()
204 AMediaFormat_setInt32(outMeta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, val32); in read()
207 AMediaFormat_setInt32(outMeta, AMEDIAFORMAT_KEY_CRYPTO_MODE, val32); in read()
DMPEG2PSExtractor.cpp714 AMediaFormat_setInt32(outMeta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, val32); in read()
717 AMediaFormat_setInt32(outMeta, AMEDIAFORMAT_KEY_CRYPTO_MODE, val32); in read()
/frameworks/av/media/ndk/include/media/
DNdkMediaFormat.h76 void AMediaFormat_setInt32(AMediaFormat*, const char* name, int32_t value) __INTRODUCED_IN(21);
/frameworks/av/media/ndk/
Dlibmediandk.map.txt266 AMediaFormat_setInt32;
DNdkMediaFormat.cpp214 void AMediaFormat_setInt32(AMediaFormat* format, const char *name, int32_t value) { in AMediaFormat_setInt32() function
/frameworks/av/media/libmedia/
DNdkWrapper.cpp474 AMediaFormat_setInt32(mAMediaFormat, name, value); in setInt32()