Lines Matching refs:work

331         const std::unique_ptr<C2Work> &work,  in process()  argument
334 work->result = C2_OK; in process()
335 work->workletsProcessed = 1u; in process()
336 work->worklets.front()->output.configUpdate.clear(); in process()
337 work->worklets.front()->output.flags = work->input.flags; in process()
340 work->result = C2_BAD_VALUE; in process()
344 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process()
347 if (!work->input.buffers.empty()) { in process()
348 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
352 work->result = rView.error(); in process()
358 work->worklets.front()->output.flags = work->input.flags; in process()
359 work->worklets.front()->output.buffers.clear(); in process()
360 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
364 (int)work->input.ordinal.timestamp.peeku(), (int)work->input.ordinal.frameIndex.peeku()); in process()
371 work->result = C2_CORRUPTED; in process()
384 work->result = C2_NO_MEMORY; in process()
390 work->result = wView.error(); in process()
419 work->result = C2_CORRUPTED; in process()
446work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(sampleRateInfo)); in process()
447work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(channelCountInfo)); in process()
451 work->result = C2_CORRUPTED; in process()
458 work->result = C2_CORRUPTED; in process()
472 mAnchorTimeStamp = work->input.ordinal.timestamp.peekull(); in process()
480 work->result = C2_CORRUPTED; in process()
494 work->worklets.front()->output.flags = work->input.flags; in process()
495 work->worklets.front()->output.buffers.clear(); in process()
496 work->worklets.front()->output.buffers.push_back( in process()
498 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
499 work->worklets.front()->output.ordinal.timestamp = mAnchorTimeStamp + outTimeStamp; in process()