Home
last modified time | relevance | path

Searched refs:C2FrameData (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
DInputBufferManager.h122 const C2FrameData& input);
138 const C2FrameData& input);
165 const C2FrameData& input);
168 const C2FrameData& input);
/frameworks/av/media/codec2/core/include/
DC2Work.h115 struct C2FrameData { struct
177 C2FrameData output; argument
201 C2FrameData input;
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusEnc.cpp311 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/
Dmedia_c2_hidl_test_common.cpp41 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/
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp154 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()
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp316 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/
DC2Decoder.cpp97 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/
DC2SoftMpeg4Dec.cpp356 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()
DC2SoftMpeg4Enc.cpp295 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/
DC2SoftVpxEnc.cpp446 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()
DC2SoftVpxDec.cpp490 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/
DBenchmarkC2Common.cpp96 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/
DVtsHalMediaC2V1_0TargetComponentTest.cpp249 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/
DC2SoftGav1Dec.cpp354 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/
DInputBufferManager.cpp43 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/
DC2SoftAomDec.cpp365 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/
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp156 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()
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp315 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/
DC2SoftAacEnc.cpp307 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()
DC2SoftAacDec.cpp457 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/
DC2SoftHevcDec.cpp687 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/
DC2SoftAvcDec.cpp691 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/
DC2SoftXaacDec.cpp336 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/
DC2SoftMpeg2Dec.cpp761 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/
DC2Encoder.cpp162 if (numFrames == 1) flags |= C2FrameData::FLAG_END_OF_STREAM; in encodeFrames()
164 work->input.flags = (C2FrameData::flags_t)flags; in encodeFrames()

12