Home
last modified time | relevance | path

Searched refs:MAX_INPUT_BUFFERS (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/tests/benchmark/src/native/common/
DBenchmarkC2Common.cpp45 for (int i = 0; i < MAX_INPUT_BUFFERS; ++i) { in setupCodec2()
79 while ((maxRetry < MAX_RETRY) && (queueSize < MAX_INPUT_BUFFERS)) { in waitOnInputConsumption()
DBenchmarkC2Common.h35 #define MAX_INPUT_BUFFERS 8 macro
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp90 for (int i = 0; i < MAX_INPUT_BUFFERS; ++i) { in SetUp()
767 if (mWorkQueue.size() != MAX_INPUT_BUFFERS) { in TEST_P()
772 ASSERT_EQ(mWorkQueue.size(), (size_t)MAX_INPUT_BUFFERS); in TEST_P()
815 ASSERT_EQ(mWorkQueue.size(), MAX_INPUT_BUFFERS); in TEST_P()
829 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P()
832 ASSERT_EQ(mWorkQueue.size(), MAX_INPUT_BUFFERS); in TEST_P()
855 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P()
858 ASSERT_EQ(mWorkQueue.size(), MAX_INPUT_BUFFERS); in TEST_P()
1024 MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P()
1027 ASSERT_EQ(mWorkQueue.size(), MAX_INPUT_BUFFERS); in TEST_P()
[all …]
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp65 for (int i = 0; i < MAX_INPUT_BUFFERS; ++i) { in SetUp()
519 if (queueSize < MAX_INPUT_BUFFERS) { in TEST_P()
551 ASSERT_EQ(mWorkQueue.size(), MAX_INPUT_BUFFERS); in TEST_P()
558 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P()
561 ASSERT_EQ(mWorkQueue.size(), MAX_INPUT_BUFFERS); in TEST_P()
570 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P()
573 ASSERT_EQ(mWorkQueue.size(), MAX_INPUT_BUFFERS); in TEST_P()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp116 for (int i = 0; i < MAX_INPUT_BUFFERS; ++i) { in SetUp()
874 if (mWorkQueue.size() != MAX_INPUT_BUFFERS) { in TEST_P()
879 ASSERT_EQ(mWorkQueue.size(), (size_t)MAX_INPUT_BUFFERS); in TEST_P()
903 ASSERT_EQ(mWorkQueue.size(), MAX_INPUT_BUFFERS); in TEST_P()
919 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P()
922 ASSERT_EQ(mWorkQueue.size(), MAX_INPUT_BUFFERS); in TEST_P()
943 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P()
946 ASSERT_EQ(mWorkQueue.size(), MAX_INPUT_BUFFERS); in TEST_P()
1054 MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P()
1057 ASSERT_EQ(mWorkQueue.size(), MAX_INPUT_BUFFERS); in TEST_P()
[all …]
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp66 for (int i = 0; i < MAX_INPUT_BUFFERS; ++i) { in SetUp()
646 if (queueSize < MAX_INPUT_BUFFERS) { in TEST_P()
678 ASSERT_EQ(mWorkQueue.size(), MAX_INPUT_BUFFERS); in TEST_P()
696 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P()
699 ASSERT_EQ(mWorkQueue.size(), MAX_INPUT_BUFFERS); in TEST_P()
717 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P()
720 ASSERT_EQ(mWorkQueue.size(), MAX_INPUT_BUFFERS); in TEST_P()
799 MAX_INPUT_BUFFERS, nWidth, nHeight, false, true)); in TEST_P()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.h34 #define MAX_INPUT_BUFFERS 8 macro
157 size_t bufferCount = MAX_INPUT_BUFFERS);
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DTransport.java36 private static final int MAX_INPUT_BUFFERS = 8; field in Transport
63 maxPacketSize, Protocol.MAX_ENVELOPE_SIZE, MAX_INPUT_BUFFERS); in Transport()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp75 for (int i = 0; i < MAX_INPUT_BUFFERS; ++i) { in SetUp()