/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 177 C2FrameData output; argument 201 C2FrameData input;
|
/frameworks/av/media/codec2/components/opus/ |
D | C2SoftOpusEnc.cpp | 311 bool eos = (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0; in process() 377 work->worklets.front()->output.flags = (C2FrameData::flags_t)mFlags; in process() 489 FillWork(C2FrameData::FLAG_INCOMPLETE, outOrdinal, buffer)); in process() 515 FillWork(C2FrameData::FLAG_INCOMPLETE, outOrdinal, buffer)); in process() 521 flags = C2FrameData::FLAG_END_OF_STREAM; in process() 526 FillWork((C2FrameData::flags_t)(flags), outOrdinal, buffer)(work); in process() 538 bool eos = (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0; in drainInternal() 566 (C2FrameData::flags_t)(eos ? C2FrameData::FLAG_END_OF_STREAM : 0); in drainInternal()
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/ |
D | media_c2_hidl_test_common.cpp | 41 work->input.flags = (C2FrameData::flags_t)flags; in testInputBuffer() 110 if (work->worklets.front()->output.flags != C2FrameData::FLAG_INCOMPLETE) { in workDone() 113 C2FrameData::FLAG_END_OF_STREAM) != 0; in workDone()
|
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/ |
D | VtsHalMediaC2V1_0TargetVideoDecTest.cpp | 154 C2FrameData::FLAG_CODEC_CONFIG) != 0); in handleWorkDone() 367 flags |= C2FrameData::FLAG_END_OF_STREAM; in decodeNFrames() 369 work->input.flags = (C2FrameData::flags_t)flags; in decodeNFrames() 461 ((1 << (flags - 1)) & C2FrameData::FLAG_CODEC_CONFIG) != 0 : 0; in TEST_P() 486 C2FrameData::FLAG_END_OF_STREAM, false)); in TEST_P() 551 ((1 << (flags - 1)) & C2FrameData::FLAG_CODEC_CONFIG) != 0 : 0; in TEST_F() 592 work->input.flags = (C2FrameData::flags_t)C2FrameData::FLAG_END_OF_STREAM; in TEST_F() 690 work->input.flags = (C2FrameData::flags_t)C2FrameData::FLAG_END_OF_STREAM; in TEST_F() 854 ((1 << (flags - 1)) & C2FrameData::FLAG_CODEC_CONFIG) != 0 : 0; in TEST_F()
|
D | VtsHalMediaC2V1_0TargetVideoEncTest.cpp | 316 flags |= C2FrameData::FLAG_END_OF_STREAM; in encodeNFrames() 322 work->input.flags = (C2FrameData::flags_t)flags; in encodeNFrames() 447 C2FrameData::FLAG_END_OF_STREAM, false)); in TEST_P() 499 work->input.flags = (C2FrameData::flags_t)C2FrameData::FLAG_END_OF_STREAM; in TEST_F()
|
/frameworks/av/media/tests/benchmark/src/native/decoder/ |
D | C2Decoder.cpp | 97 flags = C2FrameData::FLAG_CODEC_CONFIG; in decodeFrames() 100 flags |= C2FrameData::FLAG_END_OF_STREAM; in decodeFrames() 102 work->input.flags = (C2FrameData::flags_t)flags; in decodeFrames()
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Dec.cpp | 356 if (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) { in fillEmptyWork() 357 flags |= C2FrameData::FLAG_END_OF_STREAM; in fillEmptyWork() 360 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 372 if ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) && in finishWork() 374 flags |= C2FrameData::FLAG_END_OF_STREAM; in finishWork() 377 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in finishWork() 532 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process() 553 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() 453 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process()
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVpxEnc.cpp | 446 if (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) { in process() 447 flags |= C2FrameData::FLAG_END_OF_STREAM; in process() 449 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in process() 467 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process() 629 flags |= C2FrameData::FLAG_END_OF_STREAM; in process() 631 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in process()
|
D | C2SoftVpxDec.cpp | 490 if (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) { in fillEmptyWork() 491 flags |= C2FrameData::FLAG_END_OF_STREAM; in fillEmptyWork() 494 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 507 if ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) && in finishWork() 509 flags |= C2FrameData::FLAG_END_OF_STREAM; in finishWork() 512 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in finishWork() 574 bool codecConfig = ((work->input.flags & C2FrameData::FLAG_CODEC_CONFIG) !=0); in process() 575 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process()
|
/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/hidl/1.0/vts/functional/component/ |
D | VtsHalMediaC2V1_0TargetComponentTest.cpp | 249 if (flags == C2FrameData::FLAG_END_OF_STREAM) ASSERT_EQ(mEos, true); in TEST_P() 256 std::make_pair(C2FrameData::FLAG_END_OF_STREAM, true), 258 std::make_pair(C2FrameData::FLAG_CODEC_CONFIG, false), 259 std::make_pair(C2FrameData::FLAG_END_OF_STREAM, false)));
|
/frameworks/av/media/codec2/components/gav1/ |
D | C2SoftGav1Dec.cpp | 354 if (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) { in fillEmptyWork() 355 flags |= C2FrameData::FLAG_END_OF_STREAM; in fillEmptyWork() 358 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 371 if ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) && in finishWork() 373 flags |= C2FrameData::FLAG_END_OF_STREAM; in finishWork() 376 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in finishWork() 414 ((work->input.flags & C2FrameData::FLAG_CODEC_CONFIG) != 0); in process() 415 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process()
|
/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() 112 const C2FrameData& input) { in _unregisterFrameData()
|
/frameworks/av/media/codec2/components/aom/ |
D | C2SoftAomDec.cpp | 365 if (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) { in fillEmptyWork() 366 flags |= C2FrameData::FLAG_END_OF_STREAM; in fillEmptyWork() 369 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 383 if ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) && in finishWork() 385 flags |= C2FrameData::FLAG_END_OF_STREAM; in finishWork() 388 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in finishWork() 449 ((work->input.flags & C2FrameData::FLAG_CODEC_CONFIG) != 0); in process() 450 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 | 156 C2FrameData::FLAG_CODEC_CONFIG) != 0); in handleWorkDone() 430 flags |= C2FrameData::FLAG_END_OF_STREAM; in decodeNFrames() 432 work->input.flags = (C2FrameData::flags_t)flags; in decodeNFrames() 537 ((1 << (flags - 1)) & C2FrameData::FLAG_CODEC_CONFIG) != 0; in TEST_P() 577 C2FrameData::FLAG_END_OF_STREAM, false)); in TEST_P() 707 work->input.flags = (C2FrameData::flags_t)C2FrameData::FLAG_END_OF_STREAM; in TEST_F() 885 ((1 << (flags - 1)) & C2FrameData::FLAG_CODEC_CONFIG) != 0 : 0; in TEST_F()
|
D | VtsHalMediaC2V1_0TargetAudioEncTest.cpp | 315 flags |= C2FrameData::FLAG_END_OF_STREAM; in encodeNFrames() 320 work->input.flags = (C2FrameData::flags_t)flags; in encodeNFrames() 443 C2FrameData::FLAG_END_OF_STREAM, false)); in TEST_P() 494 work->input.flags = (C2FrameData::flags_t)C2FrameData::FLAG_END_OF_STREAM; in TEST_F()
|
/frameworks/av/media/codec2/components/aac/ |
D | C2SoftAacEnc.cpp | 307 bool eos = (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0; in process() 438 work->worklets.front()->output.flags = (C2FrameData::flags_t)mFlags; in process() 595 FillWork(C2FrameData::FLAG_INCOMPLETE, ordinal, front.buffer)); in process() 606 FillWork((C2FrameData::flags_t)(eos ? C2FrameData::FLAG_END_OF_STREAM : 0), in process()
|
D | C2SoftAacDec.cpp | 457 C2FrameData &output = work->worklets.front()->output; in drainRingBuffer() 490 C2FrameData &output = work->worklets.front()->output; in drainRingBuffer() 536 bool eos = (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0; in process() 537 bool codecConfig = (work->input.flags & C2FrameData::FLAG_CODEC_CONFIG) != 0; in process() 754 C2FrameData &output = work->worklets.front()->output; in process()
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcDec.cpp | 687 if (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) { in fillEmptyWork() 688 flags |= C2FrameData::FLAG_END_OF_STREAM; in fillEmptyWork() 691 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 714 work->worklets.front()->output.flags = (C2FrameData::flags_t)mFlags; in finishWork() 734 work->worklets.front()->output.flags = (C2FrameData::flags_t)0; in finishWork() 741 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in finishWork() 749 FillWork(C2FrameData::FLAG_INCOMPLETE, outOrdinal, buffer)); in finishWork() 818 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process()
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcDec.cpp | 691 if (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) { in fillEmptyWork() 692 flags |= C2FrameData::FLAG_END_OF_STREAM; in fillEmptyWork() 695 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 718 work->worklets.front()->output.flags = (C2FrameData::flags_t)mFlags; in finishWork() 738 work->worklets.front()->output.flags = (C2FrameData::flags_t)0; in finishWork() 745 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in finishWork() 753 FillWork(C2FrameData::FLAG_INCOMPLETE, outOrdinal, buffer)); in finishWork() 820 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process()
|
/frameworks/av/media/codec2/components/xaac/ |
D | C2SoftXaacDec.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() 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() 414 bool eos = (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0; in process() 416 (work->input.flags & C2FrameData::FLAG_CODEC_CONFIG) != 0; in process()
|
/frameworks/av/media/codec2/components/mpeg2/ |
D | C2SoftMpeg2Dec.cpp | 761 if (work->input.flags & C2FrameData::FLAG_END_OF_STREAM) { in fillEmptyWork() 762 flags |= C2FrameData::FLAG_END_OF_STREAM; in fillEmptyWork() 765 work->worklets.front()->output.flags = (C2FrameData::flags_t)flags; in fillEmptyWork() 788 work->worklets.front()->output.flags = (C2FrameData::flags_t)mFlags; in finishWork() 808 work->worklets.front()->output.flags = (C2FrameData::flags_t)0; in finishWork() 815 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in finishWork() 823 FillWork(C2FrameData::FLAG_INCOMPLETE, outOrdinal, buffer)); in finishWork() 892 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()
|