Home
last modified time | relevance | path

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

12

/hardware/google/av/codec2/hidl/1.0/mts/common/
Dmedia_c2_hidl_test_common.cpp48 work->worklets.clear(); in testInputBuffer()
49 work->worklets.emplace_back(new C2Worklet); in testInputBuffer()
88 if (work->worklets.front()->output.configUpdate.size() != 0) { in workDone()
91 std::move(work->worklets.front()->output.configUpdate); in workDone()
111 eos = (work->worklets.front()->output.flags & in workDone()
116 (int)work->worklets.front()->output.ordinal.frameIndex.peeku()); in workDone()
118 work->worklets.clear(); in workDone()
/hardware/google/av/media/codecs/flac/
DC2SoftFlacDec.cpp162 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork()
163 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
164 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
175 work->worklets.front()->output.configUpdate.clear(); in process()
176 work->worklets.front()->output.flags = work->input.flags; in process()
248 work->worklets.front()->output.configUpdate.push_back( in process()
250 work->worklets.front()->output.configUpdate.push_back( in process()
299 work->worklets.front()->output.flags = work->input.flags; in process()
300 work->worklets.front()->output.buffers.clear(); in process()
301 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process()
[all …]
DC2SoftFlacEnc.cpp171 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork()
172 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
173 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
182 work->worklets.front()->output.flags = work->input.flags; in process()
223 work->worklets.front()->output.configUpdate.push_back(std::move(csd)); in process()
284 work->worklets.front()->output.buffers.push_back(buffer); in process()
285 work->worklets.front()->output.ordinal.timestamp = mAnchorTimeStamp + outTimeStamp; in process()
/hardware/google/av/media/codecs/gsm/
DC2SoftGsmDec.cpp180 work->worklets.front()->output.flags = work->input.flags; in process()
202 work->worklets.front()->output.flags = work->input.flags; in process()
203 work->worklets.front()->output.buffers.clear(); in process()
204 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
240 work->worklets.front()->output.flags = work->input.flags; in process()
241 work->worklets.front()->output.buffers.clear(); in process()
242 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process()
243 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
/hardware/google/av/media/codecs/g711/
DC2SoftG711Dec.cpp146 work->worklets.front()->output.flags = work->input.flags; in process()
172 work->worklets.front()->output.flags = work->input.flags; in process()
173 work->worklets.front()->output.buffers.clear(); in process()
174 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
206 work->worklets.front()->output.flags = work->input.flags; in process()
207 work->worklets.front()->output.buffers.clear(); in process()
208 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block)); in process()
209 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
/hardware/google/av/media/codecs/mp3/
DC2SoftMp3Dec.cpp342 work->worklets.front()->output.configUpdate.clear(); in process()
343 work->worklets.front()->output.flags = work->input.flags; 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()
452 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(sampleRateInfo)); in process()
453 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(channelCountInfo)); 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()
[all …]
/hardware/google/av/media/codecs/vorbis/
DC2SoftVorbisDec.cpp205 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork()
206 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
207 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
237 work->worklets.front()->output.configUpdate.clear(); in process()
238 work->worklets.front()->output.flags = work->input.flags; in process()
309 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(sampleRateInfo)); in process()
310 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(channelCountInfo)); in process()
433 work->worklets.front()->output.flags = work->input.flags; in process()
434 work->worklets.front()->output.buffers.clear(); in process()
435 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process()
[all …]
/hardware/google/av/media/codecs/opus/
DC2SoftOpusDec.cpp185 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork()
186 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
187 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
306 work->worklets.front()->output.configUpdate.clear(); in process()
307 work->worklets.front()->output.flags = work->input.flags; in process()
406 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(sampleRateInfo)); in process()
407 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(channelCountInfo)); in process()
484 work->worklets.front()->output.flags = work->input.flags; in process()
485 work->worklets.front()->output.buffers.clear(); in process()
486 … work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, outOffset, outSize)); in process()
[all …]
/hardware/google/av/media/codecs/amr_nb_wb/
DC2SoftAmrDec.cpp251 work->worklets.front()->output.flags = work->input.flags; in process()
273 work->worklets.front()->output.flags = work->input.flags; in process()
274 work->worklets.front()->output.buffers.clear(); in process()
275 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
369 work->worklets.front()->output.flags = work->input.flags; in process()
370 work->worklets.front()->output.buffers.clear(); in process()
371 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block)); in process()
372 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
DC2SoftAmrNbEnc.cpp182 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork()
183 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
184 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
194 work->worklets.front()->output.flags = work->input.flags; in process()
280 work->worklets.front()->output.buffers.push_back( in process()
282 work->worklets.front()->output.ordinal.timestamp = mAnchorTimeStamp + outTimeStamp; in process()
DC2SoftAmrWbEnc.cpp265 work->worklets.front()->output.flags = work->input.flags; in fillEmptyWork()
266 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
267 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
277 work->worklets.front()->output.flags = work->input.flags; in process()
356 work->worklets.front()->output.buffers.push_back( in process()
358 work->worklets.front()->output.ordinal.timestamp = mAnchorTimeStamp + outTimeStamp; in process()
/hardware/google/av/media/codecs/raw/
DC2SoftRawDec.cpp160 work->worklets.front()->output.flags = work->input.flags; in process()
161 work->worklets.front()->output.buffers.clear(); in process()
162 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
164 work->worklets.front()->output.buffers.push_back(work->input.buffers[0]); in process()
/hardware/google/av/media/codecs/vpx/
DC2SoftVpxDec.cpp397 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork()
398 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
399 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
415 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in finishWork()
416 work->worklets.front()->output.buffers.clear(); in finishWork()
417 work->worklets.front()->output.buffers.push_back(buffer); in finishWork()
418 work->worklets.front()->output.ordinal = work->input.ordinal; in finishWork()
433 work->worklets.front()->output.configUpdate.push_back( in finishWork()
456 work->worklets.front()->output.configUpdate.clear(); in process()
457 work->worklets.front()->output.flags = work->input.flags; in process()
[all …]
DC2SoftVpxEnc.cpp418 work->worklets.front()->output.flags = work->input.flags; in process()
449 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in process()
450 work->worklets.front()->output.buffers.clear(); in process()
451 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
631 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in process()
632 work->worklets.front()->output.buffers.clear(); in process()
638 work->worklets.front()->output.buffers.push_back(buffer); in process()
639 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
640 work->worklets.front()->output.ordinal.timestamp = encoded_packet->data.frame.pts; in process()
/hardware/google/av/media/codecs/mpeg4_h263/
DC2SoftMpeg4Dec.cpp356 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork()
357 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
358 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
373 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in finishWork()
374 work->worklets.front()->output.buffers.clear(); in finishWork()
375 work->worklets.front()->output.buffers.push_back(buffer); in finishWork()
376 work->worklets.front()->output.ordinal = work->input.ordinal; in finishWork()
501 work->worklets.front()->output.configUpdate.clear(); in process()
502 work->worklets.front()->output.flags = work->input.flags; in process()
577 work->worklets.front()->output.configUpdate.push_back( in process()
[all …]
DC2SoftMpeg4Enc.cpp309 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork()
310 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
311 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
405 work->worklets.front()->output.flags = work->input.flags; in process()
458 work->worklets.front()->output.configUpdate.push_back(std::move(csd)); in process()
595 work->worklets.front()->output.ordinal.timestamp = inputTimeStamp; in process()
600 work->worklets.front()->output.buffers.push_back(buffer); in process()
/hardware/google/av/codec2/hidl/1.0/mts/video/
DMtsHidlC2V1_0TargetVideoDecTest.cpp145 if (!work->worklets.empty()) { in handleWorkDone()
149 bool codecConfig = ((work->worklets.front()->output.flags & in handleWorkDone()
152 !work->worklets.front()->output.buffers.empty()) { in handleWorkDone()
154 (work->worklets.front()->output.ordinal.timestamp.peeku()), in handleWorkDone()
157 work->worklets.front()->output.ordinal.timestamp.peeku(); in handleWorkDone()
404 work->worklets.clear(); in decodeNFrames()
405 work->worklets.emplace_back(new C2Worklet); in decodeNFrames()
563 work->worklets.clear(); in TEST_F()
564 work->worklets.emplace_back(new C2Worklet); in TEST_F()
661 work->worklets.clear(); in TEST_F()
[all …]
DMtsHidlC2V1_0TargetVideoEncTest.cpp142 if (!work->worklets.empty()) { in handleWorkDone()
323 work->worklets.clear(); in encodeNFrames()
324 work->worklets.emplace_back(new C2Worklet); in encodeNFrames()
421 work->worklets.clear(); in TEST_F()
422 work->worklets.emplace_back(new C2Worklet); in TEST_F()
484 work->worklets.clear(); in TEST_F()
513 work->worklets.clear(); in TEST_F()
/hardware/google/av/codec2/hidl/1.0/mts/audio/
DMtsHidlC2V1_0TargetAudioDecTest.cpp159 if (!work->worklets.empty()) { in handleWorkDone()
162 bool codecConfig = ((work->worklets.front()->output.flags & in handleWorkDone()
165 !work->worklets.front()->output.buffers.empty()) { in handleWorkDone()
166 EXPECT_GE(work->worklets.front()->output.ordinal.timestamp.peeku(), in handleWorkDone()
169 work->worklets.front()->output.ordinal.timestamp.peeku(); in handleWorkDone()
171 work->worklets.front()->output.buffers[0]->data() in handleWorkDone()
462 work->worklets.clear(); in decodeNFrames()
463 work->worklets.emplace_back(new C2Worklet); in decodeNFrames()
661 work->worklets.clear(); in TEST_F()
662 work->worklets.emplace_back(new C2Worklet); in TEST_F()
[all …]
DMtsHidlC2V1_0TargetAudioEncTest.cpp139 if (!work->worklets.empty()) { in handleWorkDone()
334 work->worklets.clear(); in encodeNFrames()
335 work->worklets.emplace_back(new C2Worklet); in encodeNFrames()
451 work->worklets.clear(); in TEST_F()
452 work->worklets.emplace_back(new C2Worklet); in TEST_F()
545 work->worklets.clear(); in TEST_F()
576 work->worklets.clear(); in TEST_F()
/hardware/google/av/media/codecs/aac/
DC2SoftAacDec.cpp470 C2FrameData &output = work->worklets.front()->output; in drainRingBuffer()
503 C2FrameData &output = work->worklets.front()->output; in drainRingBuffer()
529 work->worklets.front()->output.configUpdate.clear(); in process()
530 work->worklets.front()->output.flags = work->input.flags; in process()
575 work->worklets.front()->output.flags = work->input.flags; in process()
576 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
577 work->worklets.front()->output.buffers.clear(); in process()
767 C2FrameData &output = work->worklets.front()->output; in process()
824 work->worklets.front()->output.flags = work->input.flags; in drainInternal()
825 work->worklets.front()->output.buffers.clear(); in drainInternal()
[all …]
DC2SoftAacEnc.cpp288 work->worklets.front()->output.flags = work->input.flags; in process()
336 work->worklets.front()->output.configUpdate.push_back(std::move(csd)); in process()
408 work->worklets.front()->output.flags = (C2FrameData::flags_t)mFlags; in process()
409 work->worklets.front()->output.buffers.clear(); in process()
410 work->worklets.front()->output.ordinal = mOrdinal; in process()
414 work->worklets.front()->output.buffers.push_back(mBuffer); in process()
/hardware/google/av/media/codecs/cmds/
Dcodec2.cpp247 … ALOGV("Render: Frame #%lld", work->worklets.front()->output.ordinal.frameIndex.peekll()); in play()
248 const std::shared_ptr<C2Buffer> &output = work->worklets.front()->output.buffers[0]; in play()
266 (work->worklets.front()->output.ordinal.timestamp * 1000ll).peekll(), in play()
279 work->worklets.clear(); in play()
356 work->worklets.clear(); in play()
357 work->worklets.emplace_back(new C2Worklet); in play()
/hardware/google/av/media/codecs/xaac/
DC2SoftXaacDec.cpp348 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork()
349 work->worklets.front()->output.buffers.clear(); in fillEmptyWork()
350 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork()
380 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in finishWork()
381 work->worklets.front()->output.buffers.clear(); in finishWork()
382 work->worklets.front()->output.buffers.push_back(buffer); in finishWork()
383 work->worklets.front()->output.ordinal = work->input.ordinal; in finishWork()
400 work->worklets.front()->output.configUpdate.clear(); in process()
401 work->worklets.front()->output.flags = work->input.flags; in process()
444 work->worklets.front()->output.flags = work->input.flags; in process()
[all …]
/hardware/google/av/codec2/hidl/1.0/utils/
DInputSurfaceConnection.cpp202 work->worklets.clear(); in submitBuffer()
203 work->worklets.emplace_back(new C2Worklet); in submitBuffer()
219 work->worklets.clear(); in submitEos()
220 work->worklets.emplace_back(new C2Worklet); in submitEos()

12