Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp704 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 …]
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp550 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/
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp901 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 …]
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp592 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/
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/common/
Dmedia_c2_hidl_test_common.cpp198 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()
Dmedia_c2_hidl_test_common.h138 void verifyFlushOutput(std::list<std::unique_ptr<C2Work>>& flushedWork,
/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp138 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/
DCCodecBuffers.h201 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;
DCCodecBuffers.cpp1104 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()
DCCodecBufferChannel.h151 void flush(const std::list<std::unique_ptr<C2Work>> &flushedWork);
DCCodec.cpp1546 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()
DCCodecBufferChannel.cpp1395 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/
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/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/
Dclient.cpp1286 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/
Dclient.h335 std::list<std::unique_ptr<C2Work>>* const flushedWork);