Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp576 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_F() local
578 mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_F()
582 (size_t)MAX_INPUT_BUFFERS - flushedWork.size())); in TEST_F()
587 for (std::unique_ptr<C2Work>& work : flushedWork) { in TEST_F()
610 mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_F()
614 (size_t)MAX_INPUT_BUFFERS - flushedWork.size())); in TEST_F()
618 for (std::unique_ptr<C2Work>& work : flushedWork) { in TEST_F()
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp778 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_F() local
780 mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_F()
784 (size_t)MAX_INPUT_BUFFERS - flushedWork.size())); in TEST_F()
789 for (std::unique_ptr<C2Work>& work : flushedWork) { in TEST_F()
827 mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_F()
831 (size_t)MAX_INPUT_BUFFERS - flushedWork.size())); in TEST_F()
835 for (std::unique_ptr<C2Work>& work : flushedWork) { in TEST_F()
/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/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp559 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_F() local
561 mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_F()
565 (size_t)MAX_INPUT_BUFFERS - flushedWork.size())); in TEST_F()
570 for (std::unique_ptr<C2Work>& work : flushedWork) { in TEST_F()
600 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_F()
604 (size_t)MAX_INPUT_BUFFERS - flushedWork.size())); in TEST_F()
608 for (std::unique_ptr<C2Work>& work : flushedWork) { in TEST_F()
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp750 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_F() local
752 mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_F()
756 (size_t)MAX_INPUT_BUFFERS - flushedWork.size())); in TEST_F()
761 for (std::unique_ptr<C2Work>& work : flushedWork) { in TEST_F()
797 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_F()
801 (size_t)MAX_INPUT_BUFFERS - flushedWork.size())); in TEST_F()
805 for (std::unique_ptr<C2Work>& work : flushedWork) { in TEST_F()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp129 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_F() local
130 err = mComponent->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in TEST_F()
136 ASSERT_EQ(flushedWork.size(), 0u); in TEST_F()
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.h193 virtual void flush(const std::list<std::unique_ptr<C2Work>> &flushedWork) = 0;
760 void flush(const std::list<std::unique_ptr<C2Work>> &flushedWork) override;
808 const std::list<std::unique_ptr<C2Work>> &flushedWork) override;
844 const std::list<std::unique_ptr<C2Work>> &flushedWork) override;
DCCodecBuffers.cpp861 void OutputBuffersArray::flush(const std::list<std::unique_ptr<C2Work>> &flushedWork) { in flush() argument
862 (void)flushedWork; in flush()
960 const std::list<std::unique_ptr<C2Work>> &flushedWork) { in flush() argument
961 (void) flushedWork; in flush()
982 const std::list<std::unique_ptr<C2Work>> &flushedWork) { in flush() argument
986 FlexOutputBuffers::flush(flushedWork); in flush()
DCCodecBufferChannel.h121 void flush(const std::list<std::unique_ptr<C2Work>> &flushedWork);
DCCodec.cpp1508 std::list<std::unique_ptr<C2Work>> flushedWork; in flush() local
1509 c2_status_t err = comp->flush(C2Component::FLUSH_COMPONENT, &flushedWork); in flush()
1512 flushedWork.splice(flushedWork.end(), *queue); in flush()
1519 mChannel->flush(flushedWork); in flush()
DCCodecBufferChannel.cpp1212 void CCodecBufferChannel::flush(const std::list<std::unique_ptr<C2Work>> &flushedWork) { in flush() argument
1216 for (const std::unique_ptr<C2Work> &work : flushedWork) { in flush()
1242 output->buffers->flush(flushedWork); in flush()
/frameworks/av/media/codec2/components/base/
DSimpleC2Component.cpp257 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/
DSimpleC2Component.h45 flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) override;
/frameworks/av/media/codec2/hidl/client/
Dclient.cpp1130 std::list<std::unique_ptr<C2Work>>* const flushedWork) { in flush() argument
1134 [&status, flushedWork]( in flush()
1141 if (!objcpy(flushedWork, wb)) { in flush()
1154 for (const std::unique_ptr<C2Work> &work : *flushedWork) { in flush()
1168 mOutputBufferQueue.holdBufferQueueBlocks(*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/hidl/client/include/codec2/hidl/
Dclient.h313 std::list<std::unique_ptr<C2Work>>* const flushedWork);