Home
last modified time | relevance | path

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

/frameworks/av/media/tests/benchmark/src/native/encoder/
DEncoder.cpp203 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_WIDTH, mParams.width); in encode()
204 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_HEIGHT, mParams.height); in encode()
205 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_FRAME_RATE, mParams.frameRate); in encode()
206 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_I_FRAME_INTERVAL, mParams.iFrameInterval); in encode()
207 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_BIT_RATE, mParams.bitrate); in encode()
208 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_COLOR_FORMAT, mParams.colorFormat); in encode()
210 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_PROFILE, mParams.profile); in encode()
211 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_LEVEL, mParams.level); in encode()
214 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, mParams.sampleRate); in encode()
215 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_CHANNEL_COUNT, mParams.numChannels); in encode()
[all …]
/frameworks/av/media/libstagefright/
DMetaDataUtils.cpp75 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_WIDTH, width); in MakeAVCCodecSpecificData()
76 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_HEIGHT, height); in MakeAVCCodecSpecificData()
78 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_SAR_WIDTH, sarWidth); in MakeAVCCodecSpecificData()
79 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_SAR_HEIGHT, sarHeight); in MakeAVCCodecSpecificData()
194 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sampleRate); in MakeAACCodecSpecificData()
195 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, channel_configuration); in MakeAACCodecSpecificData()
345 AMediaFormat_setInt32(fileMeta, AMEDIAFORMAT_KEY_LOOP, 1); in parseVorbisComment()
352 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.cpp518 AMediaFormat_setInt32(track->meta, AMEDIAFORMAT_KEY_ENCODER_DELAY, delay); in getTrackMetaData()
569 AMediaFormat_setInt32(track->meta, AMEDIAFORMAT_KEY_ENCODER_PADDING, paddingsamples); in getTrackMetaData()
689 AMediaFormat_setInt32(track->meta, AMEDIAFORMAT_KEY_TRACK_ID, imageIndex); in readMetaData()
1116 AMediaFormat_setInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_CRYPTO_MODE, mode); in parseChunk()
1198 AMediaFormat_setInt32(mLastTrack->meta, in parseChunk()
1200 AMediaFormat_setInt32(mLastTrack->meta, in parseChunk()
1311 AMediaFormat_setInt32(mLastTrack->meta, in parseChunk()
1315 AMediaFormat_setInt32(mLastTrack->meta, in parseChunk()
1319 AMediaFormat_setInt32(mLastTrack->meta, in parseChunk()
1321 AMediaFormat_setInt32(mLastTrack->meta, in parseChunk()
[all …]
DItemTable.cpp1515 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_DEFAULT, 1); in getImageMeta()
1520 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_WIDTH, image->width); in getImageMeta()
1521 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_HEIGHT, image->height); in getImageMeta()
1529 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_ROTATION, 360 - image->rotation); in getImageMeta()
1535 AMediaFormat_setInt32(meta, in getImageMeta()
1544 AMediaFormat_setInt32(meta, in getImageMeta()
1546 AMediaFormat_setInt32(meta, in getImageMeta()
1562 AMediaFormat_setInt32(meta, in getImageMeta()
1564 AMediaFormat_setInt32(meta, in getImageMeta()
1568 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.cpp184 AMediaFormat_setInt32( in MidiEngine()
186 AMediaFormat_setInt32( in MidiEngine()
188 AMediaFormat_setInt32( in MidiEngine()
254 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/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()
2059 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_WIDTH, (int32_t)width); in addTracks()
2060 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_HEIGHT, (int32_t)height); in addTracks()
2070 AMediaFormat_setInt32(meta, in addTracks()
[all …]
/frameworks/av/media/extractors/amr/
DAMRExtractor.cpp159 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, 1); in AMRExtractor()
160 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, mIsWide ? 16000 : 8000); in AMRExtractor()
352 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, 1); in read()
/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.cpp118 AMediaFormat_setInt32(format, name, val32); in copyAMessageToAMediaFormat()
203 AMediaFormat_setInt32(outMeta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, val32); in read()
206 AMediaFormat_setInt32(outMeta, AMEDIAFORMAT_KEY_CRYPTO_MODE, val32); in read()
DMPEG2PSExtractor.cpp719 AMediaFormat_setInt32(outMeta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, val32); in read()
722 AMediaFormat_setInt32(outMeta, AMEDIAFORMAT_KEY_CRYPTO_MODE, val32); in read()
/frameworks/av/media/ndk/include/media/
DNdkMediaFormat.h119 void AMediaFormat_setInt32(AMediaFormat*, const char* name, int32_t value) __INTRODUCED_IN(21);
/frameworks/libs/native_bridge_support/libmediandk/
Dstubs_arm64.cc161 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_setInt32);
441 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_setInt32); in init_stub_library()
Dstubs_arm.cc161 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_setInt32);
441 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_setInt32); in init_stub_library()
/frameworks/av/media/ndk/
Dlibmediandk.map.txt266 AMediaFormat_setInt32;
DNdkMediaFormat.cpp211 void AMediaFormat_setInt32(AMediaFormat* format, const char *name, int32_t value) { in AMediaFormat_setInt32() function