/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/ |
D | VtsHalMediaC2V1_0TargetAudioDecTest.cpp | 704 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_P() local 705 c2_status_t err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 708 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 721 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 724 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P() 726 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 750 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 753 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P() 755 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 892 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_P() local [all …]
|
D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 550 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_P() local 551 c2_status_t err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 554 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 560 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 563 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P() 565 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 572 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 575 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P() 577 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P()
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 901 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_P() local 902 c2_status_t err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 905 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 919 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 922 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P() 924 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 946 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 949 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P() 951 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 1063 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_P() local [all …]
|
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 592 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_P() local 593 c2_status_t err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 596 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 612 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 615 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P() 617 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 633 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 636 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P() 638 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P()
|
/frameworks/av/media/codec2/faultinjection/ |
D | C2ComponentWrapper.cpp | 97 C2Component::flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) { in flush_sm() argument 98 return mComp->flush_sm(mode, flushedWork); in flush_sm()
|
D | C2ComponentWrapper.h | 70 flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) override;
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/ |
D | media_c2_hidl_test_common.cpp | 198 void verifyFlushOutput(std::list<std::unique_ptr<C2Work>>& flushedWork, in verifyFlushOutput() argument 205 for (std::unique_ptr<C2Work>& work : flushedWork) { in verifyFlushOutput() 218 flushedWork.clear(); in verifyFlushOutput()
|
D | media_c2_hidl_test_common.h | 138 void verifyFlushOutput(std::list<std::unique_ptr<C2Work>>& flushedWork,
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/ |
D | VtsHalMediaC2V1_0TargetComponentTest.cpp | 138 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_P() local 139 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 145 ASSERT_EQ(flushedWork.size(), 0u); in TEST_P()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBuffers.h | 201 virtual void flush(const std::list<std::unique_ptr<C2Work>> &flushedWork) = 0; 1018 void flush(const std::list<std::unique_ptr<C2Work>> &flushedWork) override; 1072 const std::list<std::unique_ptr<C2Work>> &flushedWork) override; 1108 const std::list<std::unique_ptr<C2Work>> &flushedWork) override;
|
D | CCodecBuffers.cpp | 1104 void OutputBuffersArray::flush(const std::list<std::unique_ptr<C2Work>> &flushedWork) { in flush() argument 1105 (void)flushedWork; in flush() 1213 const std::list<std::unique_ptr<C2Work>> &flushedWork) { in flush() argument 1214 (void) flushedWork; in flush() 1234 const std::list<std::unique_ptr<C2Work>> &flushedWork) { in flush() argument 1238 FlexOutputBuffers::flush(flushedWork); in flush()
|
D | CCodecBufferChannel.h | 151 void flush(const std::list<std::unique_ptr<C2Work>> &flushedWork);
|
D | CCodec.cpp | 1546 std::list<std::unique_ptr<C2Work>> flushedWork; in flush() local 1547 c2_status_t err = comp->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in flush() 1550 flushedWork.splice(flushedWork.end(), *queue); in flush() 1557 mChannel->flush(flushedWork); in flush()
|
D | CCodecBufferChannel.cpp | 1395 void CCodecBufferChannel::flush(const std::list<std::unique_ptr<C2Work>> &flushedWork) { in flush() argument 1399 for (const std::unique_ptr<C2Work> &work : flushedWork) { in flush() 1426 output->buffers->flush(flushedWork); in flush()
|
/frameworks/av/media/codec2/components/base/ |
D | SimpleC2Component.cpp | 257 flush_mode_t flushMode, std::list<std::unique_ptr<C2Work>>* const flushedWork) { in flush_sm() argument 272 flushedWork->push_back(std::move(work)); in flush_sm() 276 flushedWork->push_back(std::move(queue->pending().begin()->second)); in flush_sm()
|
/frameworks/av/media/codec2/components/base/include/ |
D | SimpleC2Component.h | 45 flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) override;
|
/frameworks/av/media/codec2/core/include/ |
D | C2Component.h | 505 …c2_status_t flush_sm(flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) = 0;
|
/frameworks/av/media/codec2/hidl/client/ |
D | client.cpp | 1286 std::list<std::unique_ptr<C2Work>>* const flushedWork) { in flush() argument 1290 [&status, flushedWork]( in flush() 1297 if (!objcpy(flushedWork, wb)) { in flush() 1310 for (const std::unique_ptr<C2Work> &work : *flushedWork) { in flush() 1324 mOutputBufferQueue->holdBufferQueueBlocks(*flushedWork); in flush()
|
/frameworks/av/media/codec2/hidl/client/include/codec2/hidl/ |
D | client.h | 335 std::list<std::unique_ptr<C2Work>>* const flushedWork);
|