Home
last modified time | relevance | path

Searched refs:eosWork (Results 1 – 2 of 2) sorted by relevance

/external/v4l2_codec2/components/
DV4L2DecodeComponent.cpp635 std::unique_ptr<C2Work> eosWork(std::move(mWorksAtDecoder.begin()->second)); in reportEOSWork() local
638 eosWork->result = C2_OK; in reportEOSWork()
639 eosWork->workletsProcessed = static_cast<uint32_t>(eosWork->worklets.size()); in reportEOSWork()
640 eosWork->worklets.front()->output.flags = C2FrameData::FLAG_END_OF_STREAM; in reportEOSWork()
641 if (!eosWork->input.buffers.empty()) eosWork->input.buffers.front().reset(); in reportEOSWork()
643 return reportWork(std::move(eosWork)); in reportEOSWork()
DV4L2EncodeComponent.cpp503 C2Work* eosWork = mOutputWorkQueue.back().get(); in onDrainDone() local
504 eosWork->worklets.back()->output.flags = C2FrameData::FLAG_END_OF_STREAM; in onDrainDone()
508 if ((mOutputWorkQueue.size() > 1) || !isWorkDone(*eosWork)) { in onDrainDone()