Home
last modified time | relevance | path

Searched refs:kSamplesPerFrame (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrwb/test/
Damrwbdec_test.cpp41 kSamplesPerFrame = 320, enumerator
43 kOutputBufferSize = kSamplesPerFrame * kBitsPerSample/8,
151 if (numSamplesOutput != kSamplesPerFrame) { in main()
157 for (int i = 0; i < kSamplesPerFrame; ++i) { in main()
163 sf_writef_short(handle, outputBuf, kSamplesPerFrame / kChannels); in main()
DAmrwbDecoderTest.cpp33 constexpr int32_t kSamplesPerFrame = 320; variable
38 constexpr int32_t kOutputBufferSize = kSamplesPerFrame * kBitsPerSample / 8;
86 int32_t outputBufferSize = kSamplesPerFrame * kBitsPerSample / 8; in DecodeFrames()
107 if (numSamplesOutput != kSamplesPerFrame) { in DecodeFrames()
111 for (int count = 0; count < kSamplesPerFrame; ++count) { in DecodeFrames()
116 sf_writef_short(outFileHandle, outputBuf, kSamplesPerFrame / kChannels); in DecodeFrames()
/frameworks/av/media/libstagefright/codecs/amrnb/dec/test/
Damrnbdec_test.cpp41 kSamplesPerFrame = 160, enumerator
43 kOutputBufferSize = kSamplesPerFrame * kBitsPerSample/8,
138 sf_writef_short(handle, (int16_t*)outputBuf, kSamplesPerFrame); in main()
DAmrnbDecoderTest.cpp32 constexpr int32_t kSamplesPerFrame = L_FRAME; variable
36 constexpr int32_t kOutputBufferSize = kSamplesPerFrame * kBitsPerSample / 8;
94 sf_writef_short(outFileHandle, outputBuf, kSamplesPerFrame); in DecodeFrames()
/frameworks/av/media/libstagefright/codecs/amrnb/fuzzer/
Damrnb_dec_fuzzer.cpp25 constexpr int32_t kSamplesPerFrame = L_FRAME; variable
27 constexpr int32_t kOutputBufferSize = kSamplesPerFrame * kBitsPerSample / 8;
/frameworks/av/media/libstagefright/codecs/amrwb/fuzzer/
Damrwb_dec_fuzzer.cpp27 constexpr int32_t kSamplesPerFrame = 320; variable
30 constexpr int32_t kOutputBufferSize = kSamplesPerFrame * kBitsPerSample / 8;
/frameworks/av/media/libstagefright/include/media/stagefright/
DAACWriter.h45 kSamplesPerFrame = 1024, // # of samples in a frame enumerator
/frameworks/av/media/libstagefright/
DAACWriter.cpp117 mFrameDurationUs = (kSamplesPerFrame * 1000000LL + (mSampleRate >> 1)) in start()