Home
last modified time | relevance | path

Searched refs:AMEDIAFORMAT_KEY_SAMPLE_RATE (Results 1 – 21 of 21) sorted by relevance

/frameworks/av/media/extractors/tests/
DExtractorUnitTest.cpp485 ASSERT_TRUE(AMediaFormat_getInt32(extractorFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, in TEST_P()
489 ASSERT_TRUE(AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, in TEST_P()
897 AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, &trackSampleRate)); in TEST_P()
1056 ASSERT_TRUE(AMediaFormat_getInt32(extractorFormat[0], AMEDIAFORMAT_KEY_SAMPLE_RATE, in TEST_P()
1060 ASSERT_TRUE(AMediaFormat_getInt32(extractorFormat[1], AMEDIAFORMAT_KEY_SAMPLE_RATE, in TEST_P()
/frameworks/av/media/extractors/wav/
DWAVExtractor.cpp331 AMediaFormat_setInt32(mTrackMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, mSampleRate); in init()
380 CHECK(AMediaFormat_getInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, &mSampleRate)); in WAVSource()
/frameworks/av/media/tests/benchmark/src/native/decoder/
DC2Decoder.cpp38 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_SAMPLE_RATE, &sampleRate); in createCodec2Component()
/frameworks/av/media/ndk/include/media/
DNdkMediaFormat.h196 extern const char* AMEDIAFORMAT_KEY_SAMPLE_RATE __INTRODUCED_IN(21);
/frameworks/av/media/tests/benchmark/tests/
DEncoderTest.cpp126 ASSERT_TRUE(AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_SAMPLE_RATE, in TEST_P()
/frameworks/libs/native_bridge_support/libmediandk/
Dstubs_arm64.cc274 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_SAMPLE_RATE);
554 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_SAMPLE_RATE); in init_stub_library()
Dstubs_arm.cc274 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_SAMPLE_RATE);
554 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_SAMPLE_RATE); in init_stub_library()
/frameworks/av/media/libstagefright/
DMetaDataUtils.cpp194 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sampleRate); in MakeAACCodecSpecificData()
/frameworks/av/media/extractors/midi/
DMidiExtractor.cpp185 trackMetadata, AMEDIAFORMAT_KEY_SAMPLE_RATE, mEasConfig->sampleRate); in MidiEngine()
/frameworks/av/media/extractors/amr/
DAMRExtractor.cpp160 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, mIsWide ? 16000 : 8000); in AMRExtractor()
/frameworks/av/media/tests/benchmark/src/native/encoder/
DC2Encoder.cpp39 if (!AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_SAMPLE_RATE, &mSampleRate)) { in createCodec2Component()
DEncoder.cpp214 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, mParams.sampleRate); in encode()
/frameworks/av/media/ndk/
Dlibmediandk.map.txt128 AMEDIAFORMAT_KEY_SAMPLE_RATE; # var introduced=21
DNdkMediaFormat.cpp361 EXPORT const char* AMEDIAFORMAT_KEY_SAMPLE_RATE = "sample-rate"; variable
/frameworks/av/media/libmediaplayerservice/tests/stagefrightRecorder/
DStagefrightRecorderTest.cpp226 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_SAMPLE_RATE, &sampleRate); in validateOutput()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp482 AMediaFormat_getInt32(track->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, &samplerate)) { in getTrackMetaData()
1201 AMEDIAFORMAT_KEY_SAMPLE_RATE, sample_rate); in parseChunk()
1740 AMediaFormat_setInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sample_rate); in parseChunk()
2970 AMediaFormat_setInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sampleRate); in parseAC4SpecificBox()
3202 AMediaFormat_setInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sampleRate); in parseEAC3SpecificBox()
3274 AMediaFormat_setInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sampleRate); in parseAC3SpecificBox()
3309 AMEDIAFORMAT_KEY_SAMPLE_RATE, U32_AT(&cookie[20])); in parseALACSampleEntry()
4636 CHECK(AMediaFormat_getInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, &prevSampleRate)); in updateAudioTrackInfoFromESDS_MPEG4Audio()
4643 AMediaFormat_setInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sampleRate); in updateAudioTrackInfoFromESDS_MPEG4Audio()
/frameworks/av/media/extractors/ogg/
DOggExtractor.cpp1075 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, kOpusSampleRate); in verifyOpusHeader()
1218 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, mVi.rate); in verifyHeader()
/frameworks/av/media/extractors/mp3/
DMP3Extractor.cpp344 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sample_rate); in MP3Extractor()
/frameworks/av/media/extractors/flac/
DFLACExtractor.cpp547 AMEDIAFORMAT_KEY_SAMPLE_RATE, getSampleRate()); in init()
/frameworks/base/media/jni/soundpool/
DSoundPool.cpp649 if (!AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_SAMPLE_RATE, (int32_t*) rate) || in decode()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp810 if (!AMediaFormat_getInt32(trackInfo->mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, in readBlock()
2178 … AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, atrack->GetSamplingRate()); in addTracks()