Home
last modified time | relevance | path

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

123

/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
202 C2FrameData output; argument
226 C2FrameData input;
/frameworks/av/media/codec2/fuzzer/
DC2Fuzzer.cpp95 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/
DC2SoftOpusEnc.cpp337 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/
DC2Decoder.cpp99 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/
DC2SoftMpeg4Dec.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()
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()
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()
467 bool eos = ((work->input.flags & C2FrameData::FLAG_END_OF_STREAM) != 0); in process()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.cpp84 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/
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/components/vpx/
DC2SoftVpxEnc.cpp451 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()
DC2SoftVpxDec.cpp491 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/
DVtsHalMediaC2V1_0TargetComponentTest.cpp343 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/
DInputBufferManager.cpp43 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/
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp252 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()
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp361 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/
DC2SoftAomDec.cpp367 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/
DC2SoftGav1Dec.cpp359 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/
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp152 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()
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp368 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/
DC2SoftAacEnc.cpp332 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/
DC2SoftAvcDec.cpp701 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/
DC2SoftHevcDec.cpp692 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/
DC2SoftXaacDec.cpp337 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/
DC2SoftMpeg2Dec.cpp769 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/
DC2Encoder.cpp162 if (numFrames == 1) flags |= C2FrameData::FLAG_END_OF_STREAM; in encodeFrames()
164 work->input.flags = (C2FrameData::flags_t)flags; in encodeFrames()

123