Home
last modified time | relevance | path

Searched refs:flushedWork (Results 1 – 21 of 21) sorted by relevance

/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp810 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 …]
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp546 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/
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp898 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 …]
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp673 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/
DC2ComponentWrapper.cpp97 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()
DC2ComponentWrapper.h70 flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) override;
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.cpp298 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()
Dmedia_c2_hidl_test_common.h170 void verifyFlushOutput(std::list<std::unique_ptr<C2Work>>& flushedWork,
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp147 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/
DCCodecBuffers.h219 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;
DCCodecBuffers.cpp1384 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()
DCCodecBufferChannel.h190 void flush(const std::list<std::unique_ptr<C2Work>> &flushedWork);
DCCodec.cpp2450 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()
DCCodecBufferChannel.cpp2132 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/
DC2Component.h505 …c2_status_t flush_sm(flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) = 0;
/frameworks/av/media/codec2/hal/plugin/
DFilterWrapper.cpp519 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/
DSimpleC2Component.h114 flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) override;
/frameworks/av/media/codec2/hal/plugin/samples/
DSampleFilterPlugin.cpp459 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/
Dclient.cpp2192 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/
DSimpleC2Component.cpp862 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/
Dclient.h404 std::list<std::unique_ptr<C2Work>>* const flushedWork);