Lines Matching refs:work

337         const std::unique_ptr<C2Work> &work,  in process()  argument
340 work->result = C2_OK; in process()
341 work->workletsProcessed = 1u; in process()
342 work->worklets.front()->output.configUpdate.clear(); in process()
343 work->worklets.front()->output.flags = work->input.flags; in process()
346 work->result = C2_BAD_VALUE; in process()
350 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process()
353 if (!work->input.buffers.empty()) { in process()
354 rView = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
358 work->result = rView.error(); in process()
364 work->worklets.front()->output.flags = work->input.flags; in process()
365 work->worklets.front()->output.buffers.clear(); in process()
366 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
370 (int)work->input.ordinal.timestamp.peeku(), (int)work->input.ordinal.frameIndex.peeku()); in process()
377 work->result = C2_CORRUPTED; in process()
390 work->result = C2_NO_MEMORY; in process()
396 work->result = wView.error(); in process()
425 work->result = C2_CORRUPTED; in process()
452work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(sampleRateInfo)); in process()
453work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(channelCountInfo)); in process()
457 work->result = C2_CORRUPTED; in process()
464 work->result = C2_CORRUPTED; in process()
478 mAnchorTimeStamp = work->input.ordinal.timestamp.peekull(); in process()
486 work->result = C2_CORRUPTED; in process()
500 work->worklets.front()->output.flags = work->input.flags; in process()
501 work->worklets.front()->output.buffers.clear(); in process()
502 work->worklets.front()->output.buffers.push_back( in process()
504 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
505 work->worklets.front()->output.ordinal.timestamp = mAnchorTimeStamp + outTimeStamp; in process()