/frameworks/av/media/codec2/components/flac/ |
D | C2SoftFlacDec.cpp | 169 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() 255 work->worklets.front()->output.configUpdate.push_back( in process() 257 work->worklets.front()->output.configUpdate.push_back( in process() 305 work->worklets.front()->output.flags = work->input.flags; in process() 306 work->worklets.front()->output.buffers.clear(); in process() 307 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process() [all …]
|
D | C2SoftFlacEnc.cpp | 192 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() 313 work->worklets.front()->output.buffers.push_back(buffer); in process() 314 work->worklets.front()->output.ordinal.timestamp = mAnchorTimeStamp + outTimeStamp; in process()
|
/frameworks/av/media/tests/benchmark/src/native/common/ |
D | BenchmarkC2Common.cpp | 95 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/hidl/1.0/vts/functional/common/ |
D | media_c2_hidl_test_common.cpp | 49 work->worklets.clear(); in testInputBuffer() 50 work->worklets.emplace_back(new C2Worklet); in testInputBuffer() 86 if (work->worklets.front()->output.configUpdate.size() != 0) { in workDone() 89 std::move(work->worklets.front()->output.configUpdate); in workDone() 108 if (work->worklets.front()->output.flags != C2FrameData::FLAG_INCOMPLETE) { in workDone() 110 eos = (work->worklets.front()->output.flags & C2FrameData::FLAG_END_OF_STREAM) != 0; in workDone() 114 (int)work->worklets.front()->output.ordinal.frameIndex.peeku()); in workDone() 116 work->worklets.clear(); in workDone() 213 work->worklets.clear(); in verifyFlushOutput()
|
/frameworks/av/media/codec2/components/opus/ |
D | C2SoftOpusDec.cpp | 178 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 …]
|
/frameworks/av/media/codec2/components/g711/ |
D | C2SoftG711Dec.cpp | 140 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)); in process() 203 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
|
/frameworks/av/media/codec2/components/mp3/ |
D | C2SoftMp3Dec.cpp | 335 work->worklets.front()->output.configUpdate.clear(); in process() 336 work->worklets.front()->output.flags = work->input.flags; in process() 357 work->worklets.front()->output.flags = work->input.flags; in process() 358 work->worklets.front()->output.buffers.clear(); in process() 359 work->worklets.front()->output.ordinal = work->input.ordinal; in process() 445 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(sampleRateInfo)); in process() 446 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(channelCountInfo)); in process() 493 work->worklets.front()->output.flags = work->input.flags; in process() 494 work->worklets.front()->output.buffers.clear(); in process() 495 work->worklets.front()->output.buffers.push_back( in process() [all …]
|
/frameworks/av/media/codec2/components/vorbis/ |
D | C2SoftVorbisDec.cpp | 198 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() 303 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(sampleRateInfo)); in process() 304 … 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, 0, outSize)); in process() [all …]
|
/frameworks/av/media/codec2/components/gsm/ |
D | C2SoftGsmDec.cpp | 174 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/ |
D | C2SoftAacDec.cpp | 497 C2FrameData &output = work->worklets.front()->output; in drainRingBuffer() 530 C2FrameData &output = work->worklets.front()->output; in drainRingBuffer() 556 work->worklets.front()->output.configUpdate.clear(); in process() 557 work->worklets.front()->output.flags = work->input.flags; in process() 602 work->worklets.front()->output.flags = work->input.flags; in process() 603 work->worklets.front()->output.ordinal = work->input.ordinal; in process() 604 work->worklets.front()->output.buffers.clear(); in process() 836 C2FrameData &output = work->worklets.front()->output; in process() 858 work->worklets.front()->output.configUpdate.push_back( in process() 872 work->worklets.front()->output.configUpdate.push_back( in process() [all …]
|
/frameworks/av/media/codec2/components/amr_nb_wb/ |
D | C2SoftAmrDec.cpp | 245 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() 364 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block)); in process() 365 work->worklets.front()->output.ordinal = work->input.ordinal; in process()
|
D | C2SoftAmrNbEnc.cpp | 175 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()
|
D | C2SoftAmrWbEnc.cpp | 257 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/components/raw/ |
D | C2SoftRawDec.cpp | 153 work->worklets.front()->output.flags = work->input.flags; in process() 154 work->worklets.front()->output.buffers.clear(); in process() 155 work->worklets.front()->output.ordinal = work->input.ordinal; in process() 157 work->worklets.front()->output.buffers.push_back(work->input.buffers[0]); in process()
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxEnc.cpp | 423 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() 643 work->worklets.front()->output.buffers.push_back(buffer); in process() 644 work->worklets.front()->output.ordinal = work->input.ordinal; in process() 645 work->worklets.front()->output.ordinal.timestamp = encoded_packet->data.frame.pts; in process()
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Dec.cpp | 357 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 358 work->worklets.front()->output.buffers.clear(); in fillEmptyWork() 359 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork() 374 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in finishWork() 375 work->worklets.front()->output.buffers.clear(); in finishWork() 376 work->worklets.front()->output.buffers.push_back(buffer); in finishWork() 377 work->worklets.front()->output.ordinal = work->input.ordinal; in finishWork() 504 work->worklets.front()->output.configUpdate.clear(); in process() 505 work->worklets.front()->output.flags = work->input.flags; in process() 580 work->worklets.front()->output.configUpdate.push_back( in process() [all …]
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcDec.cpp | 691 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 692 work->worklets.front()->output.buffers.clear(); in fillEmptyWork() 693 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork() 714 work->worklets.front()->output.flags = (C2FrameData::flags_t)mFlags; in finishWork() 715 work->worklets.front()->output.buffers.clear(); in finishWork() 716 work->worklets.front()->output.ordinal = mOrdinal; in finishWork() 720 work->worklets.front()->output.buffers.push_back(mBuffer); in finishWork() 734 work->worklets.front()->output.flags = (C2FrameData::flags_t)0; in finishWork() 735 work->worklets.front()->output.buffers.clear(); in finishWork() 736 work->worklets.front()->output.buffers.push_back(buffer); in finishWork() [all …]
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcDec.cpp | 696 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/cmds/ |
D | codec2.cpp | 248 … 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/ |
D | C2SoftMpeg2Dec.cpp | 772 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 773 work->worklets.front()->output.buffers.clear(); in fillEmptyWork() 774 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork() 795 work->worklets.front()->output.flags = (C2FrameData::flags_t)mFlags; in finishWork() 796 work->worklets.front()->output.buffers.clear(); in finishWork() 797 work->worklets.front()->output.ordinal = mOrdinal; in finishWork() 801 work->worklets.front()->output.buffers.push_back(mBuffer); in finishWork() 815 work->worklets.front()->output.flags = (C2FrameData::flags_t)0; in finishWork() 816 work->worklets.front()->output.buffers.clear(); in finishWork() 817 work->worklets.front()->output.buffers.push_back(buffer); in finishWork() [all …]
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomDec.cpp | 371 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.1/utils/ |
D | Component.cpp | 95 if (work->worklets.empty() in onWorkDone_nb() 96 || !work->worklets.back() in onWorkDone_nb() 97 || (work->worklets.back()->output.flags & in onWorkDone_nb() 249 if (work->worklets.empty() in flush() 250 || !work->worklets.back() in flush() 251 || (work->worklets.back()->output.flags & in flush()
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | Component.cpp | 95 if (work->worklets.empty() in onWorkDone_nb() 96 || !work->worklets.back() in onWorkDone_nb() 97 || (work->worklets.back()->output.flags & in onWorkDone_nb() 249 if (work->worklets.empty() in flush() 250 || !work->worklets.back() in flush() 251 || (work->worklets.back()->output.flags & in flush()
|
/frameworks/av/media/codec2/components/gav1/ |
D | C2SoftGav1Dec.cpp | 358 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 359 work->worklets.front()->output.buffers.clear(); in fillEmptyWork() 360 work->worklets.front()->output.ordinal = work->input.ordinal; in fillEmptyWork() 376 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in finishWork() 377 work->worklets.front()->output.buffers.clear(); in finishWork() 378 work->worklets.front()->output.buffers.push_back(buffer); in finishWork() 379 work->worklets.front()->output.ordinal = work->input.ordinal; in finishWork() 393 work->worklets.front()->output.configUpdate.clear(); in process() 394 work->worklets.front()->output.flags = work->input.flags; in process() 633 work->worklets.front()->output.configUpdate.push_back( in outputBuffer()
|
/frameworks/av/media/codec2/components/xaac/ |
D | C2SoftXaacDec.cpp | 341 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 342 work->worklets.front()->output.buffers.clear(); in fillEmptyWork() 343 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() 393 work->worklets.front()->output.configUpdate.clear(); in process() 394 work->worklets.front()->output.flags = work->input.flags; in process() 437 work->worklets.front()->output.flags = work->input.flags; in process() [all …]
|