Lines Matching refs:work
135 const std::unique_ptr<C2Work> &work, in process() argument
138 work->result = C2_OK; in process()
139 work->workletsProcessed = 1u; in process()
140 work->worklets.front()->output.flags = work->input.flags; in process()
143 work->result = C2_BAD_VALUE; in process()
150 if (!work->input.buffers.empty()) { in process()
151 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
155 work->result = C2_CORRUPTED; in process()
159 bool eos = (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0; in process()
163 (int)work->input.ordinal.timestamp.peeku(), (int)work->input.ordinal.frameIndex.peeku()); in process()
166 work->worklets.front()->output.flags = work->input.flags; in process()
167 work->worklets.front()->output.buffers.clear(); in process()
168 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
183 work->result = C2_NO_MEMORY; in process()
189 work->result = C2_CORRUPTED; in process()
200 work->worklets.front()->output.flags = work->input.flags; in process()
201 work->worklets.front()->output.buffers.clear(); in process()
202 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block)); in process()
203 work->worklets.front()->output.ordinal = work->input.ordinal; in process()