Home
last modified time | relevance | path

Searched refs:C2Work (Results 1 – 25 of 56) sorted by relevance

123

/hardware/google/av/media/codecs/base/include/
DSimpleC2Component.h41 virtual c2_status_t queue_nb(std::list<std::unique_ptr<C2Work>>* const items) override;
44 flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) override;
94 const std::unique_ptr<C2Work> &work,
123 void finish(uint64_t frameIndex, std::function<void(const std::unique_ptr<C2Work> &)> fillWork);
168 std::unique_ptr<C2Work> pop_front();
169 void push_back(std::unique_ptr<C2Work> work);
184 std::unique_ptr<C2Work> work;
194 typedef std::unordered_map<uint64_t, std::unique_ptr<C2Work>> PendingWork;
/hardware/google/av/media/codecs/vpx/
DC2SoftVpxDec.h42 const std::unique_ptr<C2Work> &work,
64 void finishWork(uint64_t index, const std::unique_ptr<C2Work> &work,
68 const std::unique_ptr<C2Work> &work);
72 const std::unique_ptr<C2Work> &work);
DC2SoftVpxDec.cpp281 void fillEmptyWork(const std::unique_ptr<C2Work> &work) { in fillEmptyWork()
293 void C2SoftVpxDec::finishWork(uint64_t index, const std::unique_ptr<C2Work> &work, in finishWork()
297 auto fillWork = [buffer, index](const std::unique_ptr<C2Work> &work) { in finishWork()
318 const std::unique_ptr<C2Work> &work, in process()
418 const std::unique_ptr<C2Work> &work) in outputBuffer()
488 const std::unique_ptr<C2Work> &work) { in drainInternal()
/hardware/google/av/media/codecs/mpeg4_h263/
DC2SoftMpeg4Dec.h41 const std::unique_ptr<C2Work> &work,
53 void finishWork(uint64_t index, const std::unique_ptr<C2Work> &work);
54 bool handleResChange(const std::unique_ptr<C2Work> &work);
/hardware/google/av/media/codecs/base/
DSimpleC2Component.cpp32 std::unique_ptr<C2Work> SimpleC2Component::WorkQueue::pop_front() { in pop_front()
33 std::unique_ptr<C2Work> work = std::move(mQueue.front().work); in pop_front()
38 void SimpleC2Component::WorkQueue::push_back(std::unique_ptr<C2Work> work) { in push_back()
90 c2_status_t SimpleC2Component::queue_nb(std::list<std::unique_ptr<C2Work>> * const items) { in queue_nb()
114 flush_mode_t flushMode, std::list<std::unique_ptr<C2Work>>* const flushedWork) { in flush_sm()
127 std::unique_ptr<C2Work> work = queue->pop_front(); in flush_sm()
293 std::list<std::unique_ptr<C2Work>> vec(std::unique_ptr<C2Work> &work) { in vec()
294 std::list<std::unique_ptr<C2Work>> ret; in vec()
302 uint64_t frameIndex, std::function<void(const std::unique_ptr<C2Work> &)> fillWork) { in finish()
303 std::unique_ptr<C2Work> work; in finish()
[all …]
/hardware/google/av/media/codecs/aac/
DC2SoftAacDec.h41 const std::unique_ptr<C2Work> &work,
82 const std::unique_ptr<C2Work> &work,
88 const std::unique_ptr<C2Work> &work);
DC2SoftAacDec.cpp350 const std::unique_ptr<C2Work> &work, in drainRingBuffer()
374 std::function<void(const std::unique_ptr<C2Work>&)> fillWork = in drainRingBuffer()
376 -> std::function<void(const std::unique_ptr<C2Work>&)> { in drainRingBuffer()
378 const std::unique_ptr<C2Work> &work, c2_status_t err) { in drainRingBuffer()
412 const std::unique_ptr<C2Work> &work) { in drainRingBuffer()
435 const std::unique_ptr<C2Work> &work, in process()
710 const std::unique_ptr<C2Work> &work) { in drainInternal()
726 auto fillEmptyWork = [](const std::unique_ptr<C2Work> &work) { in drainInternal()
/hardware/google/av/codec2/hidl/1.0/utils/
DInputSurfaceConnection.cpp185 std::unique_ptr<C2Work> work(new C2Work); in submitBuffer()
206 std::list<std::unique_ptr<C2Work>> items; in submitBuffer()
221 std::unique_ptr<C2Work> work(new C2Work); in submitEos()
228 std::list<std::unique_ptr<C2Work>> items; in submitEos()
/hardware/google/av/media/codecs/cmds/
Dcodec2.cpp82 std::list<std::unique_ptr<C2Work>> workItems);
104 std::list<std::unique_ptr<C2Work>> mWorkQueue;
108 std::list<std::unique_ptr<C2Work>> mProcessedWork;
121 std::list<std::unique_ptr<C2Work>> workItems) override { in onWorkDone_nb()
176 std::weak_ptr<C2Component> component, std::list<std::unique_ptr<C2Work>> workItems) { in onWorkDone()
228 mWorkQueue.emplace_back(new C2Work); in play()
235 std::unique_ptr<C2Work> work; in play()
330 std::unique_ptr<C2Work> work; in play()
361 std::list<std::unique_ptr<C2Work>> items; in play()
/hardware/google/av/media/codecs/hevc/
DC2SoftHevcDec.h64 const std::unique_ptr<C2Work> &work,
91 void finishWork(uint64_t index, const std::unique_ptr<C2Work> &work);
96 const std::unique_ptr<C2Work> &work);
/hardware/google/av/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
Dtypes.h197 const std::list<std::unique_ptr<C2Work>>& s,
202 std::list<std::unique_ptr<C2Work>>* d,
301 void yieldBufferQueueBlocks(const std::list<std::unique_ptr<C2Work>>& workList,
338 void holdBufferQueueBlocks(const std::list<std::unique_ptr<C2Work>>& workList,
/hardware/google/av/media/codecs/mpeg2/
DC2SoftMpeg2Dec.h107 const std::unique_ptr<C2Work> &work,
136 void finishWork(uint64_t index, const std::unique_ptr<C2Work> &work);
141 const std::unique_ptr<C2Work> &work);
/hardware/google/av/media/sfplugin/
DCCodecBufferChannel.h109 void flush(const std::list<std::unique_ptr<C2Work>> &flushedWork);
119 std::unique_ptr<C2Work> work, const sp<AMessage> &outputFormat,
189 std::unique_ptr<C2Work> work, const sp<AMessage> &outputFormat,
DCCodec.h69 void onWorkDone(std::list<std::unique_ptr<C2Work>> &workItems);
163 Mutexed<std::list<std::unique_ptr<C2Work>>> mWorkDoneQueue;
DC2OMXNode.cpp235 std::unique_ptr<C2Work> work(new C2Work); in emptyBuffer()
254 std::list<std::unique_ptr<C2Work>> items; in emptyBuffer()
/hardware/google/av/media/codecs/avc/
DC2SoftAvcDec.h111 const std::unique_ptr<C2Work> &work,
139 void finishWork(uint64_t index, const std::unique_ptr<C2Work> &work);
144 const std::unique_ptr<C2Work> &work);
/hardware/google/av/media/codecs/xaac/
DC2SoftXaacDec.h52 const std::unique_ptr<C2Work> &work,
93 void finishWork(const std::unique_ptr<C2Work>& work,
/hardware/google/av/codec2/hidl/client/include/codec2/hidl/
Dclient.h245 std::list<std::unique_ptr<C2Work>>& workItems) = 0;
285 std::list<std::unique_ptr<C2Work>>* const items);
289 std::list<std::unique_ptr<C2Work>>* const flushedWork);
347 void handleOnWorkDone(const std::list<std::unique_ptr<C2Work>> &workItems);
/hardware/google/av/codec2/include/
DC2Component.h338 std::list<std::unique_ptr<C2Work>> workItems) = 0;
441 virtual c2_status_t queue_nb(std::list<std::unique_ptr<C2Work>>* const items) = 0;
504 …virtual c2_status_t flush_sm(flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedW…
/hardware/google/av/media/codecs/raw/
DC2SoftRawDec.h39 const std::unique_ptr<C2Work> &work,
/hardware/google/av/media/codecs/flac/
DC2SoftFlacDec.h40 const std::unique_ptr<C2Work> &work,
/hardware/google/av/media/codecs/amr_nb_wb/
DC2SoftAmrDec.h39 const std::unique_ptr<C2Work> &work,
/hardware/google/av/media/codecs/gsm/
DC2SoftGsmDec.h49 const std::unique_ptr<C2Work> &work,
/hardware/google/av/media/codecs/g711/
DC2SoftG711Dec.h39 const std::unique_ptr<C2Work> &work,
/hardware/google/av/media/codecs/vorbis/
DC2SoftVorbisDec.h42 const std::unique_ptr<C2Work> &work,

123