/frameworks/av/media/tests/benchmark/tests/ |
D | EncoderTest.cpp | 109 ASSERT_TRUE(AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_WIDTH, &encParams.width)); in TEST_P() 110 ASSERT_TRUE(AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_HEIGHT, &encParams.height)); in TEST_P() 111 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_FRAME_RATE, &encParams.frameRate); in TEST_P() 112 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_BIT_RATE, &encParams.bitrate); in TEST_P() 121 AMediaFormat_getInt32(decoderFormat, AMEDIAFORMAT_KEY_COLOR_FORMAT, in TEST_P() 123 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_PROFILE, &encParams.profile); in TEST_P() 124 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_LEVEL, &encParams.level); in TEST_P() 126 ASSERT_TRUE(AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_SAMPLE_RATE, in TEST_P() 128 ASSERT_TRUE(AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_CHANNEL_COUNT, in TEST_P()
|
/frameworks/av/media/extractors/tests/ |
D | ExtractorUnitTest.cpp | 352 AMediaFormat_getInt32(metaData, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, &isSync); in getSeekablePoints() 483 ASSERT_TRUE(AMediaFormat_getInt32(extractorFormat, AMEDIAFORMAT_KEY_CHANNEL_COUNT, in TEST_P() 485 ASSERT_TRUE(AMediaFormat_getInt32(extractorFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, in TEST_P() 487 ASSERT_TRUE(AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_CHANNEL_COUNT, in TEST_P() 489 ASSERT_TRUE(AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, in TEST_P() 496 ASSERT_TRUE(AMediaFormat_getInt32(extractorFormat, AMEDIAFORMAT_KEY_WIDTH, &exWidth)); in TEST_P() 497 ASSERT_TRUE(AMediaFormat_getInt32(extractorFormat, AMEDIAFORMAT_KEY_HEIGHT, &exHeight)); in TEST_P() 498 ASSERT_TRUE(AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_WIDTH, &trackWidth)); in TEST_P() 499 ASSERT_TRUE(AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_HEIGHT, &trackHeight)); in TEST_P() 894 ASSERT_TRUE(AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_CHANNEL_COUNT, in TEST_P() [all …]
|
/frameworks/av/media/tests/benchmark/src/native/decoder/ |
D | C2Decoder.cpp | 38 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_SAMPLE_RATE, &sampleRate); in createCodec2Component() 39 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_CHANNEL_COUNT, &numChannels); in createCodec2Component() 47 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_WIDTH, &width); in createCodec2Component() 48 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_HEIGHT, &height); in createCodec2Component()
|
/frameworks/av/media/tests/benchmark/src/native/encoder/ |
D | C2Encoder.cpp | 39 if (!AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_SAMPLE_RATE, &mSampleRate)) { in createCodec2Component() 43 if (!AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_CHANNEL_COUNT, &numChannels)) { in createCodec2Component() 53 if (!AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_WIDTH, &mWidth)) { in createCodec2Component() 57 if (!AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_HEIGHT, &mHeight)) { in createCodec2Component() 64 if (!AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_FRAME_RATE, &mFrameRate) || in createCodec2Component()
|
D | Encoder.cpp | 233 AMediaFormat_getInt32(inputFormat, AMEDIAFORMAT_KEY_MAX_INPUT_SIZE, &mParams.maxFrameSize); in encode()
|
/frameworks/av/media/libmediaplayerservice/tests/stagefrightRecorder/ |
D | StagefrightRecorderTest.cpp | 224 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_CHANNEL_COUNT, &channelCount); in validateOutput() 226 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_SAMPLE_RATE, &sampleRate); in validateOutput() 228 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_BIT_RATE, &bitRate); in validateOutput()
|
/frameworks/av/media/extractors/wav/ |
D | WAVExtractor.cpp | 380 CHECK(AMediaFormat_getInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, &mSampleRate)); in WAVSource() 381 CHECK(AMediaFormat_getInt32(mMeta, AMEDIAFORMAT_KEY_CHANNEL_COUNT, &mNumChannels)); in WAVSource() 382 CHECK(AMediaFormat_getInt32(mMeta, AMEDIAFORMAT_KEY_BITS_PER_SAMPLE, &mBitsPerSample)); in WAVSource()
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 482 AMediaFormat_getInt32(track->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, &samplerate)) { in getTrackMetaData() 1021 if (!AMediaFormat_getInt32(mLastTrack->meta, in parseChunk() 1309 if (!AMediaFormat_getInt32(mLastTrack->meta, in parseChunk() 1987 if (!AMediaFormat_getInt32(mLastTrack->meta, in parseChunk() 1989 !AMediaFormat_getInt32(mLastTrack->meta, in parseChunk() 2034 if (AMediaFormat_getInt32(mLastTrack->meta, in parseChunk() 3873 if (!AMediaFormat_getInt32(mLastTrack->meta, in parseColorInfo() 4109 if (AMediaFormat_getInt32(track->meta, AMEDIAFORMAT_KEY_TRACK_ID, &trackId)) { in getTrack() 4636 CHECK(AMediaFormat_getInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, &prevSampleRate)); in updateAudioTrackInfoFromESDS_MPEG4Audio() 4646 CHECK(AMediaFormat_getInt32(mLastTrack->meta, in updateAudioTrackInfoFromESDS_MPEG4Audio() [all …]
|
/frameworks/av/media/ndk/include/media/ |
D | NdkMediaFormat.h | 87 bool AMediaFormat_getInt32(AMediaFormat*, const char *name, int32_t *out) __INTRODUCED_IN(21);
|
/frameworks/libs/native_bridge_support/libmediandk/ |
D | stubs_arm64.cc | 152 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_getInt32); 432 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_getInt32); in init_stub_library()
|
D | stubs_arm.cc | 152 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_getInt32); 432 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_getInt32); in init_stub_library()
|
/frameworks/base/media/jni/soundpool/ |
D | SoundPool.cpp | 649 if (!AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_SAMPLE_RATE, (int32_t*) rate) || in decode() 650 !AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_CHANNEL_COUNT, numChannels)) { in decode() 654 if (!AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_CHANNEL_MASK, in decode()
|
/frameworks/av/media/ndk/ |
D | libmediandk.map.txt | 257 AMediaFormat_getInt32;
|
D | NdkMediaFormat.cpp | 149 bool AMediaFormat_getInt32(AMediaFormat* format, const char *name, int32_t *out) { in AMediaFormat_getInt32() function
|
/frameworks/av/media/extractors/mkv/ |
D | MatroskaExtractor.cpp | 810 if (!AMediaFormat_getInt32(trackInfo->mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, in readBlock() 1088 AMediaFormat_getInt32(meta, in read() 1090 AMediaFormat_getInt32(meta, in read() 1193 CHECK(AMediaFormat_getInt32(frameMeta, AMEDIAFORMAT_KEY_IS_SYNC_FRAME, &isSync)); in read()
|
/frameworks/av/media/extractors/ogg/ |
D | OggExtractor.cpp | 632 if (AMediaFormat_getInt32(meta, AMEDIAFORMAT_KEY_VALID_SAMPLES, ¤tPageSamples)) { in readNextPacket() 1285 AMediaFormat_getInt32(mFileMeta, AMEDIAFORMAT_KEY_HAPTIC_CHANNEL_COUNT, &mHapticChannelCount); in parseFileMetaData()
|
/frameworks/av/media/extractors/mp3/ |
D | MP3Extractor.cpp | 508 if (!AMediaFormat_getInt32(mMeta, AMEDIAFORMAT_KEY_BIT_RATE, &bitrate)) { in read()
|