Home
last modified time | relevance | path

Searched refs:worklets (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/av/media/codec2/components/flac/
DC2SoftFlacDec.cpp169 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork()
170 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
171 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
182 work->worklets.front()->output.configUpdate.clear(); in process()
183 work->worklets.front()->output.flags = work->input.flags; in process()
260 work->worklets.front()->output.configUpdate.push_back( in process()
262 work->worklets.front()->output.configUpdate.push_back( in process()
310 work->worklets.front()->output.flags = work->input.flags; in process()
311 work->worklets.front()->output.buffers.clear(); in process()
312 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process()
[all …]
DC2SoftFlacEnc.cpp192 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork()
193 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
194 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
203 work->worklets.front()->output.flags = work->input.flags; in process()
244 work->worklets.front()->output.configUpdate.push_back(std::move(csd)); in process()
314 work->worklets.front()->output.buffers.push_back(buffer); in process()
315 work->worklets.front()->output.ordinal.timestamp = mAnchorTimeStamp + outTimeStamp; in process()
/frameworks/av/media/codec2/components/g711/
DC2SoftG711Dec.cpp140 work->worklets.front()->output.flags = work->input.flags; 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()
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, 0, outSize)); in process()
203 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
/frameworks/av/media/tests/benchmark/src/native/common/
DBenchmarkC2Common.cpp95 if (!work->worklets.empty()) { in handleWorkDone()
96 if (work->worklets.front()->output.flags != C2FrameData::FLAG_INCOMPLETE) { in handleWorkDone()
97 mEos = (work->worklets.front()->output.flags & C2FrameData::FLAG_END_OF_STREAM) != in handleWorkDone()
100 (int)work->worklets.front()->output.ordinal.frameIndex.peeku(), mEos); in handleWorkDone()
102 work->worklets.clear(); in handleWorkDone()
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusDec.cpp178 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork()
179 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
180 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
214 work->worklets.front()->output.configUpdate.clear(); in process()
215 work->worklets.front()->output.flags = work->input.flags; in process()
349 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(sampleRateInfo)); in process()
350 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(channelCountInfo)); in process()
424 work->worklets.front()->output.flags = work->input.flags; in process()
425 work->worklets.front()->output.buffers.clear(); in process()
426 … work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, outOffset, outSize)); in process()
[all …]
DC2SoftOpusEnc.cpp330 work->worklets.front()->output.flags = work->input.flags; in process()
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()
409 work->worklets.front()->output.buffers.push_back(mBuffer); in process()
461 work->worklets.front()->output.configUpdate.push_back(std::move(csd)); in process()
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()
598 work->worklets.front()->output.buffers.push_back(buffer); in drainInternal()
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp336 work->worklets.front()->output.configUpdate.clear(); in process()
337 work->worklets.front()->output.flags = work->input.flags; 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()
446 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(sampleRateInfo)); in process()
447 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(channelCountInfo)); 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()
[all …]
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.cpp91 work->worklets.clear(); in testInputBuffer()
92 work->worklets.emplace_back(new C2Worklet); in testInputBuffer()
128 if (work->worklets.front()->output.configUpdate.size() != 0) { in workDone()
131 std::move(work->worklets.front()->output.configUpdate); in workDone()
149 if (work->worklets.front()->output.flags != C2FrameData::FLAG_INCOMPLETE) { in workDone()
151 eos = (work->worklets.front()->output.flags & C2FrameData::FLAG_END_OF_STREAM) != 0; in workDone()
155 (int)work->worklets.front()->output.ordinal.frameIndex.peeku()); in workDone()
157 work->worklets.clear(); in workDone()
260 work->worklets.clear(); in verifyFlushOutput()
/frameworks/av/media/codec2/components/vorbis/
DC2SoftVorbisDec.cpp198 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork()
199 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
200 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
230 work->worklets.front()->output.configUpdate.clear(); in process()
231 work->worklets.front()->output.flags = work->input.flags; in process()
305 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(sampleRateInfo)); in process()
306 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(channelCountInfo)); in process()
428 work->worklets.front()->output.flags = work->input.flags; in process()
429 work->worklets.front()->output.buffers.clear(); in process()
430 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process()
[all …]
/frameworks/av/media/codec2/components/gsm/
DC2SoftGsmDec.cpp174 work->worklets.front()->output.flags = work->input.flags; in process()
196 work->worklets.front()->output.flags = work->input.flags; in process()
197 work->worklets.front()->output.buffers.clear(); in process()
198 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
234 work->worklets.front()->output.flags = work->input.flags; in process()
235 work->worklets.front()->output.buffers.clear(); in process()
236 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process()
237 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacDec.cpp503 C2FrameData &output = work->worklets.front()->output; in drainRingBuffer()
536 C2FrameData &output = work->worklets.front()->output; in drainRingBuffer()
562 work->worklets.front()->output.configUpdate.clear(); in process()
563 work->worklets.front()->output.flags = work->input.flags; in process()
608 work->worklets.front()->output.flags = work->input.flags; in process()
609 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
610 work->worklets.front()->output.buffers.clear(); in process()
842 C2FrameData &output = work->worklets.front()->output; in process()
864 work->worklets.front()->output.configUpdate.push_back( in process()
878 work->worklets.front()->output.configUpdate.push_back( in process()
[all …]
/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrDec.cpp245 work->worklets.front()->output.flags = work->input.flags; in process()
267 work->worklets.front()->output.flags = work->input.flags; in process()
268 work->worklets.front()->output.buffers.clear(); in process()
269 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
362 work->worklets.front()->output.flags = work->input.flags; in process()
363 work->worklets.front()->output.buffers.clear(); in process()
369 work->worklets.front()->output.buffers.push_back( in process()
371 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
DC2SoftAmrNbEnc.cpp175 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork()
176 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
177 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
187 work->worklets.front()->output.flags = work->input.flags; in process()
273 work->worklets.front()->output.buffers.push_back( in process()
275 work->worklets.front()->output.ordinal.timestamp = mAnchorTimeStamp + outTimeStamp; in process()
DC2SoftAmrWbEnc.cpp257 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork()
258 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
259 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
269 work->worklets.front()->output.flags = work->input.flags; in process()
348 work->worklets.front()->output.buffers.push_back( in process()
350 work->worklets.front()->output.ordinal.timestamp = mAnchorTimeStamp + outTimeStamp; in process()
/frameworks/av/media/codec2/fuzzer/
DC2Fuzzer.cpp126 if (!work->worklets.empty()) { in handleWorkDone()
127 if (work->worklets.front()->output.flags != C2FrameData::FLAG_INCOMPLETE) { in handleWorkDone()
128 mEos = (work->worklets.front()->output.flags & C2FrameData::FLAG_END_OF_STREAM) != 0; in handleWorkDone()
130 work->worklets.clear(); in handleWorkDone()
287 work->worklets.clear(); in decodeFrames()
288 work->worklets.emplace_back(new C2Worklet); in decodeFrames()
/frameworks/av/media/codec2/components/raw/
DC2SoftRawDec.cpp155 work->worklets.front()->output.flags = work->input.flags; in process()
156 work->worklets.front()->output.buffers.clear(); in process()
157 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
159 work->worklets.front()->output.buffers.push_back(work->input.buffers[0]); in process()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp340 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork()
341 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
342 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
357 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in finishWork()
358 work->worklets.front()->output.buffers.clear(); in finishWork()
359 work->worklets.front()->output.buffers.push_back(buffer); in finishWork()
360 work->worklets.front()->output.ordinal = work->input.ordinal; in finishWork()
487 work->worklets.front()->output.configUpdate.clear(); in process()
488 work->worklets.front()->output.flags = work->input.flags; in process()
563 work->worklets.front()->output.configUpdate.push_back( in process()
[all …]
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.cpp423 work->worklets.front()->output.flags = work->input.flags; in process()
454 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in process()
455 work->worklets.front()->output.buffers.clear(); in process()
456 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
636 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in process()
637 work->worklets.front()->output.buffers.clear(); in process()
644 work->worklets.front()->output.buffers.push_back(buffer); in process()
645 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
646 work->worklets.front()->output.ordinal.timestamp = encoded_packet->data.frame.pts; in process()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp696 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork()
697 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
698 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
719 work->worklets.front()->output.flags = (C2FrameData::flags_t)mFlags; in finishWork()
720 work->worklets.front()->output.buffers.clear(); in finishWork()
721 work->worklets.front()->output.ordinal = mOrdinal; in finishWork()
725 work->worklets.front()->output.buffers.push_back(mBuffer); in finishWork()
739 work->worklets.front()->output.flags = (C2FrameData::flags_t)0; in finishWork()
740 work->worklets.front()->output.buffers.clear(); in finishWork()
741 work->worklets.front()->output.buffers.push_back(buffer); in finishWork()
[all …]
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp705 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork()
706 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
707 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
728 work->worklets.front()->output.flags = (C2FrameData::flags_t)mFlags; in finishWork()
729 work->worklets.front()->output.buffers.clear(); in finishWork()
730 work->worklets.front()->output.ordinal = mOrdinal; in finishWork()
734 work->worklets.front()->output.buffers.push_back(mBuffer); in finishWork()
748 work->worklets.front()->output.flags = (C2FrameData::flags_t)0; in finishWork()
749 work->worklets.front()->output.buffers.clear(); in finishWork()
750 work->worklets.front()->output.buffers.push_back(buffer); in finishWork()
[all …]
/frameworks/av/media/codec2/components/cmds/
Dcodec2.cpp248 … ALOGV("Render: Frame #%lld", work->worklets.front()->output.ordinal.frameIndex.peekll()); in play()
249 const std::shared_ptr<C2Buffer> &output = work->worklets.front()->output.buffers[0]; in play()
267 (work->worklets.front()->output.ordinal.timestamp * 1000ll).peekll(), in play()
280 work->worklets.clear(); in play()
357 work->worklets.clear(); in play()
358 work->worklets.emplace_back(new C2Worklet); in play()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp773 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork()
774 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
775 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
796 work->worklets.front()->output.flags = (C2FrameData::flags_t)mFlags; in finishWork()
797 work->worklets.front()->output.buffers.clear(); in finishWork()
798 work->worklets.front()->output.ordinal = mOrdinal; in finishWork()
802 work->worklets.front()->output.buffers.push_back(mBuffer); in finishWork()
816 work->worklets.front()->output.flags = (C2FrameData::flags_t)0; in finishWork()
817 work->worklets.front()->output.buffers.clear(); in finishWork()
818 work->worklets.front()->output.buffers.push_back(buffer); in finishWork()
[all …]
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp371 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork()
372 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
373 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
390 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in finishWork()
391 work->worklets.front()->output.buffers.clear(); in finishWork()
392 work->worklets.front()->output.buffers.push_back(buffer); in finishWork()
393 work->worklets.front()->output.ordinal = work->input.ordinal; in finishWork()
408 work->worklets.front()->output.configUpdate.push_back( in finishWork()
429 work->worklets.front()->output.configUpdate.clear(); in process()
430 work->worklets.front()->output.flags = work->input.flags; in process()
[all …]
/frameworks/av/media/codec2/hidl/1.0/utils/
DComponent.cpp99 if (work->worklets.empty() in onWorkDone_nb()
100 || !work->worklets.back() in onWorkDone_nb()
101 || (work->worklets.back()->output.flags & in onWorkDone_nb()
253 if (work->worklets.empty() in flush()
254 || !work->worklets.back() in flush()
255 || (work->worklets.back()->output.flags & in flush()
/frameworks/av/media/codec2/hidl/1.1/utils/
DComponent.cpp99 if (work->worklets.empty() in onWorkDone_nb()
100 || !work->worklets.back() in onWorkDone_nb()
101 || (work->worklets.back()->output.flags & in onWorkDone_nb()
253 if (work->worklets.empty() in flush()
254 || !work->worklets.back() in flush()
255 || (work->worklets.back()->output.flags & in flush()

123