• Home
  • Raw
  • Download

Lines Matching refs:work

325 void C2SoftOpusEnc::process(const std::unique_ptr<C2Work>& work,  in process()  argument
328 work->result = C2_OK; in process()
329 work->workletsProcessed = 1u; in process()
330 work->worklets.front()->output.flags = work->input.flags; in process()
333 work->result = C2_BAD_VALUE; in process()
337 bool eos = (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0; in process()
342 if (!work->input.buffers.empty()) { in process()
344 work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
348 work->result = C2_CORRUPTED; in process()
354 inSize, (int)work->input.ordinal.timestamp.peeku(), in process()
355 (int)work->input.ordinal.frameIndex.peeku(), work->input.flags); in process()
360 work->result = err; in process()
366 mAnchorTimeStamp = work->input.ordinal.timestamp.peekull(); in process()
374 work->result = C2_NO_MEMORY; in process()
381 work->result = C2_CORRUPTED; in process()
391 uint64_t inputIndex = work->input.ordinal.frameIndex.peeku(); in process()
402 void operator()(const std::unique_ptr<C2Work>& work) { in process() argument
403 work->worklets.front()->output.flags = (C2FrameData::flags_t)mFlags; in process()
404 work->worklets.front()->output.buffers.clear(); in process()
405 work->worklets.front()->output.ordinal = mOrdinal; in process()
406 work->workletsProcessed = 1u; in process()
407 work->result = C2_OK; in process()
409 work->worklets.front()->output.buffers.push_back(mBuffer); in process()
423 C2WorkOrdinalStruct outOrdinal = work->input.ordinal; in process()
435 work->result = C2_CORRUPTED; in process()
456 work->result = C2_NO_MEMORY; in process()
461 work->worklets.front()->output.configUpdate.push_back(std::move(csd)); in process()
507 work->result = C2_CORRUPTED; in process()
514 inputIndex, work, in process()
540 inputIndex, work, in process()
545 drainInternal(pool, work); in process()
552 FillWork((C2FrameData::flags_t)(flags), outOrdinal, buffer)(work); in process()
560 const std::unique_ptr<C2Work>& work) { in drainInternal() argument
563 C2WorkOrdinalStruct outOrdinal = work->input.ordinal; in drainInternal()
564 bool eos = (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0; in drainInternal()
591 work->worklets.front()->output.flags = in drainInternal()
593 work->worklets.front()->output.buffers.clear(); in drainInternal()
594 work->worklets.front()->output.ordinal = outOrdinal; in drainInternal()
595 work->workletsProcessed = 1u; in drainInternal()
596 work->result = C2_OK; in drainInternal()
598 work->worklets.front()->output.buffers.push_back(buffer); in drainInternal()