Lines Matching refs:work
244 std::unique_ptr<C2Work> work(new C2Work); in emptyBuffer() local
245 work->input.flags = (C2FrameData::flags_t)c2Flags; in emptyBuffer()
246 work->input.ordinal.timestamp = timestamp; in emptyBuffer()
250 work->input.ordinal.customOrdinal = timestamp; // save input timestamp in emptyBuffer()
257 work->input.ordinal.timestamp = in emptyBuffer()
261 work->input.ordinal.timestamp = mPrevCodecTimestamp - mAdjustTimestampGapUs; in emptyBuffer()
263 mPrevInputTimestamp = work->input.ordinal.customOrdinal; in emptyBuffer()
264 mPrevCodecTimestamp = work->input.ordinal.timestamp; in emptyBuffer()
266 work->input.ordinal.customOrdinal.peekll(), in emptyBuffer()
267 work->input.ordinal.timestamp.peekll(), in emptyBuffer()
271 work->input.ordinal.frameIndex = mFrameIndex++; in emptyBuffer()
272 work->input.buffers.clear(); in emptyBuffer()
283 work->input.buffers.push_back(c2Buffer); in emptyBuffer()
285 work->worklets.clear(); in emptyBuffer()
286 work->worklets.emplace_back(new C2Worklet); in emptyBuffer()
288 items.push_back(std::move(work)); in emptyBuffer()