Searched refs:kSamplesPerFrame (Results 1 – 8 of 8) sorted by relevance
/frameworks/av/media/libstagefright/codecs/amrwb/test/ |
D | amrwbdec_test.cpp | 41 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()
|
D | AmrwbDecoderTest.cpp | 33 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/ |
D | amrnbdec_test.cpp | 41 kSamplesPerFrame = 160, enumerator 43 kOutputBufferSize = kSamplesPerFrame * kBitsPerSample/8, 138 sf_writef_short(handle, (int16_t*)outputBuf, kSamplesPerFrame); in main()
|
D | AmrnbDecoderTest.cpp | 32 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/ |
D | amrnb_dec_fuzzer.cpp | 25 constexpr int32_t kSamplesPerFrame = L_FRAME; variable 27 constexpr int32_t kOutputBufferSize = kSamplesPerFrame * kBitsPerSample / 8;
|
/frameworks/av/media/libstagefright/codecs/amrwb/fuzzer/ |
D | amrwb_dec_fuzzer.cpp | 27 constexpr int32_t kSamplesPerFrame = 320; variable 30 constexpr int32_t kOutputBufferSize = kSamplesPerFrame * kBitsPerSample / 8;
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | AACWriter.h | 45 kSamplesPerFrame = 1024, // # of samples in a frame enumerator
|
/frameworks/av/media/libstagefright/ |
D | AACWriter.cpp | 117 mFrameDurationUs = (kSamplesPerFrame * 1000000LL + (mSampleRate >> 1)) in start()
|