Home
last modified time | relevance | path

Searched refs:kNumSamples (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DMediaSampleQueueTests.cpp47 static constexpr int kNumSamples = 4; in TEST_F() local
52 for (int i = 0; i < kNumSamples; ++i) { in TEST_F()
58 for (int i = 0; i < kNumSamples; ++i) { in TEST_F()
71 static constexpr int kNumSamples = 4; in TEST_F() local
75 for (int i = 0; i < kNumSamples; ++i) { in TEST_F()
114 static constexpr int kNumSamples = 4; in TEST_F() local
115 std::vector<bool> bufferReleased(kNumSamples, false); in TEST_F()
122 for (int i = 0; i < kNumSamples; ++i) { in TEST_F()
128 for (int i = 0; i < kNumSamples; ++i) { in TEST_F()
132 for (int i = 0; i < kNumSamples; ++i) { in TEST_F()
[all …]
/frameworks/av/media/libaaudio/tests/
Dtest_flowgraph.cpp62 constexpr int kNumSamples = 8; variable
63 constexpr std::array<float, kNumSamples> kInputFloat = {
68 constexpr std::array<int16_t, kNumSamples> kExpectedI16 = {
72 constexpr std::array<int32_t, kNumSamples> kExpectedI32 = {
76 constexpr std::array<int32_t, kNumSamples> kExpectedI8_24 = {
94 std::array<int16_t, kNumSamples> output; in TEST()
101 for (int i = 0; i < kNumSamples; i++) { in TEST()
105 for (int i = 0; i < kNumSamples; i++) { in TEST()
111 local_convert_float_to_int16(kInputFloat.data(), output.data(), kNumSamples); in TEST()
112 for (int i = 0; i < kNumSamples; i++) { in TEST()
[all …]
Dtest_full_queue.cpp37 constexpr int kNumSamples = kChannelCount * kNumFrames; variable
43 std::unique_ptr<float[]> buffer = std::make_unique<float[]>(kNumSamples); in checkFullQueue()
44 for (int i = 0; i < kNumSamples; i++) { in checkFullQueue()