Lines Matching refs:mLargeWork

247         if (frame->mLargeWork) {  in error()
249 worklist->push_back(std::move(frame->mLargeWork)); in error()
457 if (frame->mLargeWork) { in gather()
459 addOutWork(frame->mLargeWork); in gather()
463 frame->mLargeWork = std::move(work); in gather()
464 frame->mLargeWork->input.ordinal.frameIndex = in gather()
467 addOutWork(frame->mLargeWork); in gather()
479 if (frame->mLargeWork == nullptr) { in gather()
480 frame->mLargeWork.reset(new C2Work); in gather()
481 frame->mLargeWork->input.ordinal = frame->inOrdinal; in gather()
482 frame->mLargeWork->input.ordinal.frameIndex = in gather()
485 frame->mLargeWork->result = res; in gather()
487 addOutWork(frame->mLargeWork); in gather()
502 if (frame->mLargeWork) { in gather()
503 frame->mLargeWork->result = C2_OK; in gather()
505 addOutWork(frame->mLargeWork); in gather()
560 if (frame.mLargeWork == nullptr) { in processWorklets()
561 frame.mLargeWork.reset(new C2Work); in processWorklets()
562 frame.mLargeWork->result = C2_OK; in processWorklets()
563 frame.mLargeWork->input.flags = (C2FrameData::flags_t)0; in processWorklets()
564 frame.mLargeWork->input.ordinal = frame.inOrdinal; in processWorklets()
565 frame.mLargeWork->input.ordinal.frameIndex = frame.inOrdinal.frameIndex; in processWorklets()
568 if (frame.mLargeWork->worklets.size() == 0) { in processWorklets()
569 frame.mLargeWork->worklets.emplace_back(new C2Worklet); in processWorklets()
570 frame.mLargeWork->worklets.back()->output.flags = (C2FrameData::flags_t)0; in processWorklets()
588 if (frame.mLargeWork) { in processWorklets()
590 addWork(frame.mLargeWork); in processWorklets()
593 frame.mLargeWork = std::move(work); in processWorklets()
594 frame.mLargeWork->input.ordinal.frameIndex = frame.inOrdinal.frameIndex; in processWorklets()
596 addWork(frame.mLargeWork); in processWorklets()
619 flags |= frame.mLargeWork->input.flags; in processWorklets()
620 frame.mLargeWork->input.flags = (C2FrameData::flags_t)flags; in processWorklets()
621 C2FrameData& outputFramedata = frame.mLargeWork->worklets.front()->output; in processWorklets()
657 frame.mLargeWork->result = C2_OK; in processWorklets()
659 addWork(frame.mLargeWork); in processWorklets()
668 if (frame.mLargeWork && (frame.mWview && frame.mWview->offset() > 0)) { in processWorklets()
669 frame.mLargeWork->result = C2_OK; in processWorklets()
671 addWork(frame.mLargeWork); in processWorklets()
680 frame.mLargeWork->result = C2_OK; in processWorklets()
682 addWork(frame.mLargeWork); in processWorklets()
689 flags |= frame.mLargeWork->input.flags; in processWorklets()
690 frame.mLargeWork->input.flags = (C2FrameData::flags_t)flags; in processWorklets()
694 frame.mLargeWork->result = rView.error(); in processWorklets()
695 frame.mLargeWork->worklets.clear(); in processWorklets()
697 addWork(frame.mLargeWork); in processWorklets()
719 frame.mLargeWork->worklets.front()->output.buffers.push_back(std::move(buffer)); in processWorklets()
727 frame.mLargeWork->result = C2_OK; in processWorklets()
729 frame.mLargeWork->worklets.front()->output.ordinal.timestamp = timestamp; in processWorklets()
731 addWork(frame.mLargeWork); in processWorklets()
740 if (frame.mLargeWork == nullptr) { in finalizeWork()
744 frame.mLargeWork->input.ordinal = frame.inOrdinal; in finalizeWork()
749 } else if (!frame.mLargeWork->worklets.empty()) { in finalizeWork()
750 std::unique_ptr<C2Worklet> &worklet = frame.mLargeWork->worklets.front(); in finalizeWork()
756 << frame.mLargeWork->input.ordinal.frameIndex.peekull() in finalizeWork()
761 && (frame.mLargeWork->result == C2_OK) in finalizeWork()
765 if (frame.mLargeWork->result == C2_OK) { in finalizeWork()
769 if (!frame.mLargeWork->worklets.empty() && in finalizeWork()
770 frame.mLargeWork->worklets.front() != nullptr) { in finalizeWork()
771 frame.mLargeWork->workletsProcessed = 1; in finalizeWork()
772 C2FrameData& outFrameData = frame.mLargeWork->worklets.front()->output; in finalizeWork()
775 finalFlags |= frame.mLargeWork->worklets.front()->output.flags; in finalizeWork()
786 frame.mLargeWork->worklets.front()->output.buffers.push_back(std::move(c2Buffer)); in finalizeWork()
788 if (frame.mLargeWork->worklets.front()->output.buffers.size() > 0) { in finalizeWork()
790 frame.mLargeWork->worklets.front()->output.buffers.front(); in finalizeWork()
853 mLargeWork.reset(); in reset()