/frameworks/av/media/tests/benchmark/src/native/encoder/ |
D | Encoder.cpp | 203 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/ |
D | MetaDataUtils.cpp | 75 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/ |
D | WAVExtractor.cpp | 153 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/ |
D | MPEG4Extractor.cpp | 518 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 …]
|
D | ItemTable.cpp | 1515 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/ |
D | MP3Extractor.cpp | 293 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/ |
D | MidiExtractor.cpp | 184 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/ |
D | FLACExtractor.cpp | 544 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/ |
D | OggExtractor.cpp | 297 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/ |
D | MatroskaExtractor.cpp | 806 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/ |
D | AMRExtractor.cpp | 159 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/ |
D | AACExtractor.cpp | 154 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/ |
D | MPEG2TSExtractor.cpp | 118 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()
|
D | MPEG2PSExtractor.cpp | 719 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/ |
D | NdkMediaFormat.h | 119 void AMediaFormat_setInt32(AMediaFormat*, const char* name, int32_t value) __INTRODUCED_IN(21);
|
/frameworks/libs/native_bridge_support/libmediandk/ |
D | stubs_arm64.cc | 161 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_setInt32); 441 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_setInt32); in init_stub_library()
|
D | stubs_arm.cc | 161 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_setInt32); 441 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_setInt32); in init_stub_library()
|
/frameworks/av/media/ndk/ |
D | libmediandk.map.txt | 266 AMediaFormat_setInt32;
|
D | NdkMediaFormat.cpp | 211 void AMediaFormat_setInt32(AMediaFormat* format, const char *name, int32_t value) { in AMediaFormat_setInt32() function
|