/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/ |
D | InputBufferManager.h | 122 const C2FrameData& input); 138 const C2FrameData& input); 165 const C2FrameData& input); 168 const C2FrameData& input);
|
/frameworks/av/media/codec2/core/include/ |
D | C2Work.h | 115 struct C2FrameData { struct 202 C2FrameData output; argument 226 C2FrameData input;
|
/frameworks/av/media/codec2/fuzzer/ |
D | C2Fuzzer.cpp | 95 flags |= C2FrameData::FLAG_END_OF_STREAM; in parse() 97 flags |= C2FrameData::FLAG_CODEC_CONFIG; in parse() 110 std::make_tuple(const_cast<uint8_t*>(mData), 0, C2FrameData::FLAG_END_OF_STREAM)); in parse() 112 std::make_tuple(const_cast<uint8_t*>(mData), mSize, C2FrameData::FLAG_CODEC_CONFIG)); in parse() 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() 268 work->input.flags = (C2FrameData::flags_t)std::get<2>(frameData); in decodeFrames()
|
/frameworks/av/media/codec2/components/opus/ |
D | C2SoftOpusEnc.cpp | 337 bool eos = (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0; in process() 403 work->worklets.front()->output.flags = (C2FrameData::flags_t)mFlags; in process() 515 FillWork(C2FrameData::FLAG_INCOMPLETE, outOrdinal, buffer)); in process() 541 FillWork(C2FrameData::FLAG_INCOMPLETE, outOrdinal, buffer)); in process() 547 flags = C2FrameData::FLAG_END_OF_STREAM; in process() 552 FillWork((C2FrameData::flags_t)(flags), outOrdinal, buffer)(work); in process() 564 bool eos = (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0; in drainInternal() 592 (C2FrameData::flags_t)(eos ? C2FrameData::FLAG_END_OF_STREAM : 0); in drainInternal()
|
/frameworks/av/media/tests/benchmark/src/native/decoder/ |
D | C2Decoder.cpp | 99 flags = C2FrameData::FLAG_CODEC_CONFIG; in decodeFrames() 102 flags |= C2FrameData::FLAG_END_OF_STREAM; in decodeFrames() 104 work->input.flags = (C2FrameData::flags_t)flags; in decodeFrames()
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Dec.cpp | 336 if (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) { in fillEmptyWork() 337 flags |= C2FrameData::FLAG_END_OF_STREAM; in fillEmptyWork() 340 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 352 if ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) && in finishWork() 354 flags |= C2FrameData::FLAG_END_OF_STREAM; in finishWork() 357 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in finishWork() 512 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process() 533 bool codecConfig = (work->input.flags & C2FrameData::FLAG_CODEC_CONFIG) != 0; in process()
|
D | C2SoftMpeg4Enc.cpp | 295 if (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) { in fillEmptyWork() 296 flags |= C2FrameData::FLAG_END_OF_STREAM; in fillEmptyWork() 299 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 467 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process()
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/ |
D | media_c2_hidl_test_common.cpp | 84 work->input.flags = (C2FrameData::flags_t)flags; in testInputBuffer() 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() 232 bool codecConfig = flags ? ((1 << (flags - 1)) & C2FrameData::FLAG_CODEC_CONFIG) != 0 : 0; in populateInfoVector()
|
/frameworks/av/media/tests/benchmark/src/native/common/ |
D | BenchmarkC2Common.cpp | 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()
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxEnc.cpp | 451 if (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) { in process() 452 flags |= C2FrameData::FLAG_END_OF_STREAM; in process() 454 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in process() 472 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process() 634 flags |= C2FrameData::FLAG_END_OF_STREAM; in process() 636 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in process()
|
D | C2SoftVpxDec.cpp | 491 if (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) { in fillEmptyWork() 492 flags |= C2FrameData::FLAG_END_OF_STREAM; in fillEmptyWork() 495 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 508 if ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) && in finishWork() 510 flags |= C2FrameData::FLAG_END_OF_STREAM; in finishWork() 513 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in finishWork() 575 bool codecConfig = ((work->input.flags & C2FrameData::FLAG_CODEC_CONFIG) !=0); in process() 576 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process()
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/ |
D | VtsHalMediaC2V1_0TargetComponentTest.cpp | 343 if (flags == C2FrameData::FLAG_END_OF_STREAM) ASSERT_EQ(mEos, true); in TEST_P() 364 C2FrameData::FLAG_END_OF_STREAM, true)); in main() 368 C2FrameData::FLAG_CODEC_CONFIG, false)); in main() 370 C2FrameData::FLAG_END_OF_STREAM, false)); in main()
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | InputBufferManager.cpp | 43 const C2FrameData& input) { in registerFrameData() 49 const C2FrameData& input) { in unregisterFrameData() 65 const C2FrameData& input) { in _registerFrameData() 113 const C2FrameData& input) { in _unregisterFrameData()
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 252 C2FrameData::FLAG_CODEC_CONFIG) != 0); in handleWorkDone() 464 flags |= C2FrameData::FLAG_END_OF_STREAM; in decodeNFrames() 466 work->input.flags = (C2FrameData::flags_t)flags; in decodeNFrames() 650 C2FrameData::FLAG_END_OF_STREAM, false)); in TEST_P() 719 flags ? ((1 << (flags - 1)) & C2FrameData::FLAG_CODEC_CONFIG) != 0 : 0; in TEST_P() 759 work->input.flags = (C2FrameData::flags_t)C2FrameData::FLAG_END_OF_STREAM; in TEST_P() 842 work->input.flags = (C2FrameData::flags_t)C2FrameData::FLAG_END_OF_STREAM; in TEST_P() 963 codecConfig = flags ? ((1 << (flags - 1)) & C2FrameData::FLAG_CODEC_CONFIG) != 0 : 0; in TEST_P() 1081 C2FrameData::FLAG_END_OF_STREAM, false)); in TEST_P()
|
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 361 if (signalEOS && (nFrames == 1)) flags |= C2FrameData::FLAG_END_OF_STREAM; in encodeNFrames() 367 work->input.flags = (C2FrameData::flags_t)flags; in encodeNFrames() 572 C2FrameData::FLAG_END_OF_STREAM, false)); in TEST_P() 619 work->input.flags = (C2FrameData::flags_t)C2FrameData::FLAG_END_OF_STREAM; in TEST_P() 880 C2FrameData::FLAG_END_OF_STREAM, false)); in TEST_P()
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomDec.cpp | 367 if (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) { in fillEmptyWork() 368 flags |= C2FrameData::FLAG_END_OF_STREAM; in fillEmptyWork() 371 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 385 if ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) && in finishWork() 387 flags |= C2FrameData::FLAG_END_OF_STREAM; in finishWork() 390 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in finishWork() 451 ((work->input.flags & C2FrameData::FLAG_CODEC_CONFIG) != 0); in process() 452 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process()
|
/frameworks/av/media/codec2/components/gav1/ |
D | C2SoftGav1Dec.cpp | 359 if (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) { in fillEmptyWork() 360 flags |= C2FrameData::FLAG_END_OF_STREAM; in fillEmptyWork() 363 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 376 if ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) && in finishWork() 378 flags |= C2FrameData::FLAG_END_OF_STREAM; in finishWork() 381 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in finishWork() 419 ((work->input.flags & C2FrameData::FLAG_CODEC_CONFIG) != 0); in process() 420 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process()
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/ |
D | VtsHalMediaC2V1_0TargetAudioDecTest.cpp | 152 C2FrameData::FLAG_CODEC_CONFIG) != 0); in handleWorkDone() 348 flags |= C2FrameData::FLAG_END_OF_STREAM; in decodeNFrames() 350 work->input.flags = (C2FrameData::flags_t)flags; in decodeNFrames() 490 C2FrameData::FLAG_END_OF_STREAM, false)); in TEST_P() 576 work->input.flags = (C2FrameData::flags_t)C2FrameData::FLAG_END_OF_STREAM; in TEST_P() 704 codecConfig = flags ? ((1 << (flags - 1)) & C2FrameData::FLAG_CODEC_CONFIG) != 0 : 0; in TEST_P() 830 C2FrameData::FLAG_END_OF_STREAM, false)); in TEST_P()
|
D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 368 if (signalEOS && (nFrames == 1)) flags |= C2FrameData::FLAG_END_OF_STREAM; in encodeNFrames() 373 work->input.flags = (C2FrameData::flags_t)flags; in encodeNFrames() 386 if (signalEOS) flags |= C2FrameData::FLAG_END_OF_STREAM; in encodeNFrames() 467 C2FrameData::FLAG_END_OF_STREAM, false)); in TEST_P() 507 work->input.flags = (C2FrameData::flags_t)C2FrameData::FLAG_END_OF_STREAM; in TEST_P()
|
/frameworks/av/media/codec2/components/aac/ |
D | C2SoftAacEnc.cpp | 332 bool eos = (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0; in process() 461 work->worklets.front()->output.flags = (C2FrameData::flags_t)mFlags; in process() 618 FillWork(C2FrameData::FLAG_INCOMPLETE, ordinal, front.buffer)); in process() 629 FillWork((C2FrameData::flags_t)(eos ? C2FrameData::FLAG_END_OF_STREAM : 0), in process()
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcDec.cpp | 701 if (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) { in fillEmptyWork() 702 flags |= C2FrameData::FLAG_END_OF_STREAM; in fillEmptyWork() 705 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 728 work->worklets.front()->output.flags = (C2FrameData::flags_t)mFlags; in finishWork() 748 work->worklets.front()->output.flags = (C2FrameData::flags_t)0; in finishWork() 755 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in finishWork() 763 FillWork(C2FrameData::FLAG_INCOMPLETE, outOrdinal, buffer)); in finishWork() 830 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process()
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcDec.cpp | 692 if (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) { in fillEmptyWork() 693 flags |= C2FrameData::FLAG_END_OF_STREAM; in fillEmptyWork() 696 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 719 work->worklets.front()->output.flags = (C2FrameData::flags_t)mFlags; in finishWork() 739 work->worklets.front()->output.flags = (C2FrameData::flags_t)0; in finishWork() 746 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in finishWork() 754 FillWork(C2FrameData::FLAG_INCOMPLETE, outOrdinal, buffer)); in finishWork() 823 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process()
|
/frameworks/av/media/codec2/components/xaac/ |
D | C2SoftXaacDec.cpp | 337 if (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) { in fillEmptyWork() 338 flags |= C2FrameData::FLAG_END_OF_STREAM; in fillEmptyWork() 341 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 368 if (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) { in finishWork() 369 flags |= C2FrameData::FLAG_END_OF_STREAM; in finishWork() 372 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in finishWork() 417 bool eos = (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0; in process() 419 (work->input.flags & C2FrameData::FLAG_CODEC_CONFIG) != 0; in process()
|
/frameworks/av/media/codec2/components/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 769 if (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) { in fillEmptyWork() 770 flags |= C2FrameData::FLAG_END_OF_STREAM; in fillEmptyWork() 773 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 796 work->worklets.front()->output.flags = (C2FrameData::flags_t)mFlags; in finishWork() 816 work->worklets.front()->output.flags = (C2FrameData::flags_t)0; in finishWork() 823 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in finishWork() 831 FillWork(C2FrameData::FLAG_INCOMPLETE, outOrdinal, buffer)); in finishWork() 900 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process()
|
/frameworks/av/media/tests/benchmark/src/native/encoder/ |
D | C2Encoder.cpp | 162 if (numFrames == 1) flags |= C2FrameData::FLAG_END_OF_STREAM; in encodeFrames() 164 work->input.flags = (C2FrameData::flags_t)flags; in encodeFrames()
|