Home
last modified time | relevance | path

Searched refs:drainMode (Results 1 – 25 of 54) sorted by relevance

123

/aosp12/frameworks/av/media/codec2/components/base/
H A DSimpleC2Component.cpp51 uint32_t SimpleC2Component::WorkQueue::drainMode() const { in drainMode() function in android::SimpleC2Component::WorkQueue
52 return mQueue.front().drainMode; in drainMode()
55 void SimpleC2Component::WorkQueue::markDrain(uint32_t drainMode) { in markDrain() argument
56 mQueue.push_back({ nullptr, drainMode }); in markDrain()
287 c2_status_t SimpleC2Component::drain_nb(drain_mode_t drainMode) { in drain_nb() argument
288 if (drainMode == DRAIN_CHAIN) { in drain_nb()
301 queue->markDrain(drainMode); in drain_nb()
443 int32_t drainMode; in processQueue() local
453 drainMode = queue->drainMode(); in processQueue()
515 c2_status_t err = drain(drainMode, mOutputBlockPool); in processQueue()
/aosp12/frameworks/av/media/codec2/components/base/include/
H A DSimpleC2Component.h107 uint32_t drainMode,
209 uint32_t drainMode() const;
210 void markDrain(uint32_t drainMode);
222 uint32_t drainMode; member
/aosp12/frameworks/av/media/codec2/components/gav1/
H A DC2SoftGav1Dec.h46 c2_status_t drain(uint32_t drainMode,
68 c2_status_t drainInternal(uint32_t drainMode,
H A DC2SoftGav1Dec.cpp747 uint32_t drainMode, const std::shared_ptr<C2BlockPool> &pool, in drainInternal() argument
749 if (drainMode == NO_DRAIN) { in drainInternal()
753 if (drainMode == DRAIN_CHAIN) { in drainInternal()
767 if (drainMode == DRAIN_COMPONENT_WITH_EOS && work && in drainInternal()
775 c2_status_t C2SoftGav1Dec::drain(uint32_t drainMode, in drain() argument
777 return drainInternal(drainMode, pool, nullptr); in drain()
/aosp12/frameworks/av/media/codec2/components/raw/
H A DC2SoftRawDec.cpp168 uint32_t drainMode, in drain() argument
171 if (drainMode == NO_DRAIN) { in drain()
175 if (drainMode == DRAIN_CHAIN) { in drain()
H A DC2SoftRawDec.h42 uint32_t drainMode,
/aosp12/frameworks/av/media/codec2/components/aac/
H A DC2SoftAacDec.h44 uint32_t drainMode,
87 uint32_t drainMode,
/aosp12/frameworks/av/media/codec2/components/vpx/
H A DC2SoftVpxDec.h45 uint32_t drainMode,
92 uint32_t drainMode,
/aosp12/frameworks/av/media/codec2/components/aom/
H A DC2SoftAomDec.h46 c2_status_t drain(uint32_t drainMode,
73 c2_status_t drainInternal(uint32_t drainMode,
H A DC2SoftAomDec.cpp736 uint32_t drainMode, const std::shared_ptr<C2BlockPool>& pool, in drainInternal() argument
738 if (drainMode == NO_DRAIN) { in drainInternal()
742 if (drainMode == DRAIN_CHAIN) { in drainInternal()
755 if (drainMode == DRAIN_COMPONENT_WITH_EOS && work && in drainInternal()
763 c2_status_t C2SoftAomDec::drain(uint32_t drainMode, in drain() argument
765 return drainInternal(drainMode, pool, nullptr); in drain()
/aosp12/frameworks/av/media/codec2/components/g711/
H A DC2SoftG711Dec.cpp212 uint32_t drainMode, in drain() argument
215 if (drainMode == NO_DRAIN) { in drain()
219 if (drainMode == DRAIN_CHAIN) { in drain()
H A DC2SoftG711Dec.h42 uint32_t drainMode,
/aosp12/frameworks/av/media/codec2/components/hevc/
H A DC2SoftHevcDec.h67 uint32_t drainMode,
94 uint32_t drainMode,
H A DC2SoftHevcEnc.h59 c2_status_t drain(uint32_t drainMode,
111 c2_status_t drainInternal(uint32_t drainMode,
/aosp12/frameworks/av/media/codec2/components/gsm/
H A DC2SoftGsmDec.cpp245 uint32_t drainMode, in drain() argument
248 if (drainMode == NO_DRAIN) { in drain()
252 if (drainMode == DRAIN_CHAIN) { in drain()
H A DC2SoftGsmDec.h49 uint32_t drainMode,
/aosp12/frameworks/av/media/codec2/components/amr_nb_wb/
H A DC2SoftAmrNbEnc.cpp286 uint32_t drainMode, in drain() argument
289 if (drainMode == NO_DRAIN) { in drain()
293 if (drainMode == DRAIN_CHAIN) { in drain()
H A DC2SoftAmrDec.cpp379 uint32_t drainMode, in drain() argument
382 if (drainMode == NO_DRAIN) { in drain()
386 if (drainMode == DRAIN_CHAIN) { in drain()
H A DC2SoftAmrWbEnc.cpp360 uint32_t drainMode, in drain() argument
363 if (drainMode == NO_DRAIN) { in drain()
367 if (drainMode == DRAIN_CHAIN) { in drain()
H A DC2SoftAmrDec.h44 uint32_t drainMode,
/aosp12/frameworks/av/media/codec2/components/avc/
H A DC2SoftAvcDec.h114 uint32_t drainMode,
135 uint32_t drainMode,
/aosp12/frameworks/av/media/codec2/components/mpeg2/
H A DC2SoftMpeg2Dec.h111 uint32_t drainMode,
133 uint32_t drainMode,
/aosp12/frameworks/av/media/codec2/components/flac/
H A DC2SoftFlacDec.cpp321 uint32_t drainMode, in drain() argument
324 if (drainMode == NO_DRAIN) { in drain()
328 if (drainMode == DRAIN_CHAIN) { in drain()
H A DC2SoftFlacDec.h43 uint32_t drainMode,
/aosp12/frameworks/av/media/codec2/components/opus/
H A DC2SoftOpusDec.cpp162 uint32_t drainMode, in drain() argument
165 if (drainMode == NO_DRAIN) { in drain()
169 if (drainMode == DRAIN_CHAIN) { in drain()

123