Searched refs:eosWork (Results 1 – 2 of 2) sorted by relevance
635 std::unique_ptr<C2Work> eosWork(std::move(mWorksAtDecoder.begin()->second)); in reportEOSWork() local638 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()
503 C2Work* eosWork = mOutputWorkQueue.back().get(); in onDrainDone() local504 eosWork->worklets.back()->output.flags = C2FrameData::FLAG_END_OF_STREAM; in onDrainDone()508 if ((mOutputWorkQueue.size() > 1) || !isWorkDone(*eosWork)) { in onDrainDone()