/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/audio/ |
D | VtsHalMediaC2V1_0TargetAudioDecTest.cpp | 810 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_P() local 811 c2_status_t err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 814 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 826 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 829 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P() 831 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 852 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 855 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P() 857 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 1015 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_P() local [all …]
|
D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 546 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_P() local 547 c2_status_t err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 550 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 555 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 558 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P() 560 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 567 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 570 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P() 572 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P()
|
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 898 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_P() local 899 c2_status_t err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 902 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 916 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 919 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P() 921 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 940 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 943 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P() 945 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 1044 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_P() local [all …]
|
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 673 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_P() local 674 c2_status_t err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 677 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 693 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 696 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P() 698 verifyFlushOutput(flushedWork, mWorkQueue, mFlushedIndices, mQueueLock)); in TEST_P() 714 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 717 (size_t)MAX_INPUT_BUFFERS - flushedWork.size()); in TEST_P() 719 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/hal/hidl/1.0/vts/functional/common/ |
D | media_c2_hidl_test_common.cpp | 298 void verifyFlushOutput(std::list<std::unique_ptr<C2Work>>& flushedWork, in verifyFlushOutput() argument 305 for (std::unique_ptr<C2Work>& work : flushedWork) { in verifyFlushOutput() 318 flushedWork.clear(); in verifyFlushOutput()
|
D | media_c2_hidl_test_common.h | 170 void verifyFlushOutput(std::list<std::unique_ptr<C2Work>>& flushedWork,
|
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/component/ |
D | VtsHalMediaC2V1_0TargetComponentTest.cpp | 147 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_P() local 148 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_P() 154 ASSERT_EQ(flushedWork.size(), 0u); in TEST_P()
|
/frameworks/av/media/codec2/sfplugin/ |
D | CCodecBuffers.h | 219 virtual void flush(const std::list<std::unique_ptr<C2Work>> &flushedWork) = 0; 1052 void flush(const std::list<std::unique_ptr<C2Work>> &flushedWork) override; 1107 const std::list<std::unique_ptr<C2Work>> &flushedWork) override; 1155 const std::list<std::unique_ptr<C2Work>> &flushedWork) override;
|
D | CCodecBuffers.cpp | 1384 void OutputBuffersArray::flush(const std::list<std::unique_ptr<C2Work>> &flushedWork) { in flush() argument 1385 (void)flushedWork; in flush() 1497 const std::list<std::unique_ptr<C2Work>> &flushedWork) { in flush() argument 1498 (void) flushedWork; in flush() 1544 const std::list<std::unique_ptr<C2Work>> &flushedWork) { in flush() argument 1548 FlexOutputBuffers::flush(flushedWork); in flush()
|
D | CCodecBufferChannel.h | 190 void flush(const std::list<std::unique_ptr<C2Work>> &flushedWork);
|
D | CCodec.cpp | 2450 std::list<std::unique_ptr<C2Work>> flushedWork; in flush() local 2451 c2_status_t err = comp->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in flush() 2454 flushedWork.splice(flushedWork.end(), *queue); in flush() 2461 mChannel->flush(flushedWork); in flush()
|
D | CCodecBufferChannel.cpp | 2132 void CCodecBufferChannel::flush(const std::list<std::unique_ptr<C2Work>> &flushedWork) { in flush() argument 2138 for (const std::unique_ptr<C2Work> &work : flushedWork) { in flush() 2181 output->buffers->flush(flushedWork); in flush()
|
/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/hal/plugin/ |
D | FilterWrapper.cpp | 519 flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) override { in flush_sm() argument 520 c2_status_t result = mComp->flush_sm(mode, flushedWork); in flush_sm() 527 flushedWork->splice(flushedWork->end(), filterFlushedWork); in flush_sm()
|
/frameworks/av/media/codec2/components/base/include/ |
D | SimpleC2Component.h | 114 flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) override;
|
/frameworks/av/media/codec2/hal/plugin/samples/ |
D | SampleFilterPlugin.cpp | 459 std::list<std::unique_ptr<C2Work>>* const flushedWork) override { in flush_sm() argument 460 if (!flushedWork) { in flush_sm() 474 mQueue.swap(*flushedWork); in flush_sm()
|
/frameworks/av/media/codec2/hal/client/ |
D | client.cpp | 2192 std::list<std::unique_ptr<C2Work>>* const flushedWork) { in flush() argument 2202 if (!c2_aidl::utils::FromAidl(flushedWork, workBundle)) { in flush() 2208 [&status, flushedWork]( in flush() 2215 if (!c2_hidl::utils::objcpy(flushedWork, wb)) { in flush() 2229 for (const std::unique_ptr<C2Work> &work : *flushedWork) { in flush() 2243 holdIgbaBlocks(*flushedWork); in flush() 2246 mOutputBufferQueue->holdBufferQueueBlocks(*flushedWork); in flush()
|
/frameworks/av/media/codec2/components/base/ |
D | SimpleC2Component.cpp | 862 flush_mode_t flushMode, std::list<std::unique_ptr<C2Work>>* const flushedWork) { in flush_sm() argument 877 flushedWork->push_back(std::move(work)); in flush_sm() 881 flushedWork->push_back(std::move(queue->pending().begin()->second)); in flush_sm()
|
/frameworks/av/media/codec2/hal/client/include/codec2/hidl/ |
D | client.h | 404 std::list<std::unique_ptr<C2Work>>* const flushedWork);
|