Home
last modified time | relevance | path

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

12

/frameworks/av/media/module/extractors/tests/
DExtractorUnitTest.cpp500 ASSERT_TRUE(AMediaFormat_getInt32(extractorFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, in TEST_P()
504 ASSERT_TRUE(AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, in TEST_P()
918 AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, &trackSampleRate)); in TEST_P()
985 if (!AMediaFormat_getInt32(extractorFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, &sampleRate) || in allocateOutputBuffers()
1103 ASSERT_TRUE(AMediaFormat_getInt32(extractorFormat[0], AMEDIAFORMAT_KEY_SAMPLE_RATE, in TEST_P()
1107 ASSERT_TRUE(AMediaFormat_getInt32(extractorFormat[1], AMEDIAFORMAT_KEY_SAMPLE_RATE, in TEST_P()
/frameworks/av/media/ndk/fuzzer/
Dndk_mediamuxer_fuzzer.cpp50 AMediaFormat_setInt32(format, AMEDIAFORMAT_KEY_SAMPLE_RATE, fdp.ConsumeIntegral<int32_t>()); in getSampleAudioFormat()
Dndk_mediaformat_fuzzer.cpp136 AMEDIAFORMAT_KEY_SAMPLE_RATE,
DREADME.md89 …EY_ROTATION`, 108.`AMEDIAFORMAT_KEY_SAMPLE_FILE_OFFSET`, 109.`AMEDIAFORMAT_KEY_SAMPLE_RATE`, 110.`…
DNdkMediaCodecFuzzerBase.cpp45 AMEDIAFORMAT_KEY_SAMPLE_RATE,
/frameworks/av/media/module/extractors/wav/
DWAVExtractor.cpp333 AMediaFormat_setInt32(mTrackMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, mSampleRate); in init()
382 CHECK(AMediaFormat_getInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, (int32_t*) &mSampleRate)); in WAVSource()
/frameworks/av/media/tests/benchmark/src/native/decoder/
DC2Decoder.cpp40 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_SAMPLE_RATE, &sampleRate); in createCodec2Component()
/frameworks/av/media/ndk/include/media/
DNdkMediaFormat.h202 extern const char* AMEDIAFORMAT_KEY_SAMPLE_RATE __INTRODUCED_IN(21);
/frameworks/av/media/tests/benchmark/tests/
DEncoderTest.cpp127 ASSERT_TRUE(AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_SAMPLE_RATE, in TEST_P()
/frameworks/base/media/jni/soundpool/
DSound.cpp179 format.get(), AMEDIAFORMAT_KEY_SAMPLE_RATE, (int32_t*) rate) || in decode()
/frameworks/av/media/module/extractors/midi/
DMidiExtractor.cpp185 trackMetadata, AMEDIAFORMAT_KEY_SAMPLE_RATE, mEasConfig->sampleRate); in MidiEngine()
/frameworks/av/media/module/extractors/amr/
DAMRExtractor.cpp162 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, mIsWide ? 16000 : 8000); in AMRExtractor()
/frameworks/libs/native_bridge_support/android_api/libmediandk/
Dstubs_arm64.cc299 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_SAMPLE_RATE);
609 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_SAMPLE_RATE); in init_stub_library()
Dstubs_riscv64.cc299 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_SAMPLE_RATE);
609 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_SAMPLE_RATE); in init_stub_library()
Dstubs_arm.cc299 DEFINE_INTERCEPTABLE_STUB_VARIABLE(AMEDIAFORMAT_KEY_SAMPLE_RATE);
609 INIT_INTERCEPTABLE_STUB_VARIABLE("libmediandk.so", AMEDIAFORMAT_KEY_SAMPLE_RATE); in init_stub_library()
/frameworks/av/media/tests/benchmark/src/native/encoder/
DEncoder.cpp214 AMediaFormat_setInt32(mFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, mParams.sampleRate); in encode()
DC2Encoder.cpp41 if (!AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_SAMPLE_RATE, &mSampleRate)) { in createCodec2Component()
/frameworks/av/media/libmediaplayerservice/tests/stagefrightRecorder/
DStagefrightRecorderTest.cpp230 AMediaFormat_getInt32(format, AMEDIAFORMAT_KEY_SAMPLE_RATE, &sampleRate); in validateOutput()
/frameworks/av/media/module/metadatautils/
DMetaDataUtils.cpp365 AMediaFormat_setInt32(meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sampleRate); in MakeAACCodecSpecificData()
/frameworks/av/media/ndk/
Dlibmediandk.map.txt147 AMEDIAFORMAT_KEY_SAMPLE_RATE; # var introduced=21
DNdkMediaFormat.cpp478 EXPORT const char* AMEDIAFORMAT_KEY_SAMPLE_RATE = "sample-rate"; variable
/frameworks/av/media/module/extractors/mp4/
DMPEG4Extractor.cpp531 AMediaFormat_getInt32(track->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, &samplerate)) { in getTrackMetaData()
1369 AMEDIAFORMAT_KEY_SAMPLE_RATE, sample_rate); in parseChunk()
1915 AMediaFormat_setInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sample_rate); in parseChunk()
3302 AMediaFormat_setInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sampleRate); in parseAC4SpecificBox()
3534 AMediaFormat_setInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sampleRate); in parseEAC3SpecificBox()
3606 AMediaFormat_setInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sampleRate); in parseAC3SpecificBox()
3641 AMEDIAFORMAT_KEY_SAMPLE_RATE, U32_AT(&cookie[20])); in parseALACSampleEntry()
5040 CHECK(AMediaFormat_getInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, &prevSampleRate)); in updateAudioTrackInfoFromESDS_MPEG4Audio()
5047 AMediaFormat_setInt32(mLastTrack->meta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sampleRate); in updateAudioTrackInfoFromESDS_MPEG4Audio()
/frameworks/av/media/module/extractors/mp3/
DMP3Extractor.cpp340 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, sample_rate); in MP3Extractor()
/frameworks/av/media/module/metadatautils/test/
DMetaDataUtilsTest.cpp296 status = AMediaFormat_getInt32(csdData, AMEDIAFORMAT_KEY_SAMPLE_RATE, &sampleRate); in TEST_P()
/frameworks/av/media/module/extractors/ogg/
DOggExtractor.cpp1147 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, kOpusSampleRate); in verifyOpusHeader()
1290 AMediaFormat_setInt32(mMeta, AMEDIAFORMAT_KEY_SAMPLE_RATE, mVi.rate); in verifyHeader()

12