Home
last modified time | relevance | path

Searched refs:FRAME_LENGTH (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libeffects/downmix/tests/
Ddownmixtest.cpp28 #define FRAME_LENGTH 256 macro
122 std::vector<float> outFloat(FRAME_LENGTH * MAX_NUM_CHANNELS); in DownmixExecute()
123 std::vector<float> inFloat(FRAME_LENGTH * MAX_NUM_CHANNELS); in DownmixExecute()
128 inbuffer.frameCount = FRAME_LENGTH; in DownmixExecute()
129 outbuffer.frameCount = FRAME_LENGTH; in DownmixExecute()
136 std::vector<short> inS16(FRAME_LENGTH * MAX_NUM_CHANNELS); in DownmixExecute()
137 std::vector<short> outS16(FRAME_LENGTH * MAX_NUM_CHANNELS); in DownmixExecute()
139 while (fread(inS16.data(), fileFrameSize, FRAME_LENGTH, finp) == in DownmixExecute()
140 FRAME_LENGTH) { in DownmixExecute()
144 FRAME_LENGTH * fileFrameSize); in DownmixExecute()
[all …]
Ddownmix_tests.cpp151 static constexpr size_t FRAME_LENGTH = 256; member in DownmixTest
313 const size_t transfer = std::min(frames - pos, FRAME_LENGTH); in process()