Home
last modified time | relevance | path

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

/frameworks/av/media/tests/benchmark/tests/
DEncoderTest.cpp109 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/
DExtractorUnitTest.cpp352 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/
DC2Decoder.cpp38 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/
DC2Encoder.cpp39 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()
DEncoder.cpp233 AMediaFormat_getInt32(inputFormat, AMEDIAFORMAT_KEY_MAX_INPUT_SIZE, &mParams.maxFrameSize); in encode()
/frameworks/av/media/libmediaplayerservice/tests/stagefrightRecorder/
DStagefrightRecorderTest.cpp224 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/
DWAVExtractor.cpp380 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/
DMPEG4Extractor.cpp482 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/
DNdkMediaFormat.h87 bool AMediaFormat_getInt32(AMediaFormat*, const char *name, int32_t *out) __INTRODUCED_IN(21);
/frameworks/libs/native_bridge_support/libmediandk/
Dstubs_arm64.cc152 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_getInt32);
432 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_getInt32); in init_stub_library()
Dstubs_arm.cc152 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AMediaFormat_getInt32);
432 INIT_INTERCEPTABLE_STUB_FUNCTION("libmediandk.so", AMediaFormat_getInt32); in init_stub_library()
/frameworks/base/media/jni/soundpool/
DSoundPool.cpp649 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/
Dlibmediandk.map.txt257 AMediaFormat_getInt32;
DNdkMediaFormat.cpp149 bool AMediaFormat_getInt32(AMediaFormat* format, const char *name, int32_t *out) { in AMediaFormat_getInt32() function
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp810 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/
DOggExtractor.cpp632 if (AMediaFormat_getInt32(meta, AMEDIAFORMAT_KEY_VALID_SAMPLES, &currentPageSamples)) { in readNextPacket()
1285 AMediaFormat_getInt32(mFileMeta, AMEDIAFORMAT_KEY_HAPTIC_CHANNEL_COUNT, &mHapticChannelCount); in parseFileMetaData()
/frameworks/av/media/extractors/mp3/
DMP3Extractor.cpp508 if (!AMediaFormat_getInt32(mMeta, AMEDIAFORMAT_KEY_BIT_RATE, &bitrate)) { in read()