Home
last modified time | relevance | path

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

123

/hardware/google/av/media/codecs/base/include/
DSimpleC2Component.h42 virtual c2_status_t queue_nb(std::list<std::unique_ptr<C2Work>>* const items) override;
45 flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) override;
93 const std::unique_ptr<C2Work> &work,
122 void finish(uint64_t frameIndex, std::function<void(const std::unique_ptr<C2Work> &)> fillWork);
138 const std::unique_ptr<C2Work> &currentWork,
139 std::function<void(const std::unique_ptr<C2Work> &)> fillWork);
210 std::unique_ptr<C2Work> pop_front();
211 void push_back(std::unique_ptr<C2Work> work);
224 std::unique_ptr<C2Work> work;
234 typedef std::unordered_map<uint64_t, std::unique_ptr<C2Work>> PendingWork;
/hardware/google/av/codec2/hidl/1.0/mts/common/
Dmedia_c2_hidl_test_common.h53 const std::function<void(std::list<std::unique_ptr<C2Work>>& workItems)> fn =
58 std::list<std::unique_ptr<C2Work>>& workItems, in onWorkDone()
105 std::function<void(std::list<std::unique_ptr<C2Work>>& workItems)> callBack;
186 std::mutex& queueLock, std::list<std::unique_ptr<C2Work>>& workQueue,
191 std::list<std::unique_ptr<C2Work>>& workQueue,
196 std::unique_ptr<C2Work>& work, std::list<uint64_t>& flushedIndices,
198 std::list<std::unique_ptr<C2Work>>& workQueue, bool& eos, bool& csd,
Dmedia_c2_hidl_test_common.cpp26 std::mutex& queueLock, std::list<std::unique_ptr<C2Work>>& workQueue, in testInputBuffer()
28 std::unique_ptr<C2Work> work; in testInputBuffer()
51 std::list<std::unique_ptr<C2Work>> items; in testInputBuffer()
59 std::list<std::unique_ptr<C2Work>>& workQueue, in waitOnInputConsumption()
83 std::unique_ptr<C2Work>& work, std::list<uint64_t>& flushedIndices, in workDone()
85 std::list<std::unique_ptr<C2Work>>& workQueue, bool& eos, bool& csd, in workDone()
/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);
/hardware/google/av/media/codecs/base/
DSimpleC2Component.cpp33 std::unique_ptr<C2Work> SimpleC2Component::WorkQueue::pop_front() { in pop_front()
34 std::unique_ptr<C2Work> work = std::move(mQueue.front().work); in pop_front()
39 void SimpleC2Component::WorkQueue::push_back(std::unique_ptr<C2Work> work) { in push_back()
179 c2_status_t SimpleC2Component::queue_nb(std::list<std::unique_ptr<C2Work>> * const items) { in queue_nb()
207 flush_mode_t flushMode, std::list<std::unique_ptr<C2Work>>* const flushedWork) { in flush_sm()
220 std::unique_ptr<C2Work> work = queue->pop_front(); in flush_sm()
342 std::list<std::unique_ptr<C2Work>> vec(std::unique_ptr<C2Work> &work) { in vec()
343 std::list<std::unique_ptr<C2Work>> ret; in vec()
351 uint64_t frameIndex, std::function<void(const std::unique_ptr<C2Work> &)> fillWork) { in finish()
352 std::unique_ptr<C2Work> work; in finish()
[all …]
/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/codec2/hidl/1.0/mts/audio/
DMtsHidlC2V1_0TargetAudioEncTest.cpp71 [this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp()
76 mWorkQueue.emplace_back(new C2Work); in SetUp()
137 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone()
138 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
168 std::list<std::unique_ptr<C2Work>> mWorkQueue;
265 std::list<std::unique_ptr<C2Work>>& workQueue, in encodeNFrames()
283 std::unique_ptr<C2Work> work; in encodeNFrames()
338 std::list<std::unique_ptr<C2Work>> items; in encodeNFrames()
435 std::unique_ptr<C2Work> work; in TEST_F()
454 std::list<std::unique_ptr<C2Work>> items; in TEST_F()
[all …]
DMtsHidlC2V1_0TargetAudioDecTest.cpp77 [this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp()
82 mWorkQueue.emplace_back(new C2Work); in SetUp()
157 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone()
158 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
221 std::list<std::unique_ptr<C2Work>> mWorkQueue;
391 std::list<std::unique_ptr<C2Work>>& workQueue, in decodeNFrames()
403 std::unique_ptr<C2Work> work; in decodeNFrames()
465 std::list<std::unique_ptr<C2Work>> items; in decodeNFrames()
644 std::unique_ptr<C2Work> work; in TEST_F()
664 std::list<std::unique_ptr<C2Work>> items; in TEST_F()
[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);
/hardware/google/av/codec2/hidl/1.0/mts/component/
DMtsHidlC2V1_0TargetComponentTest.cpp46 [this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp()
54 mWorkQueue.emplace_back(new C2Work); in SetUp()
70 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone()
71 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
85 std::list<std::unique_ptr<C2Work>> mWorkQueue;
103 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_F()
120 std::list<std::unique_ptr<C2Work>> workList; in TEST_F()
/hardware/google/av/codec2/hidl/1.0/mts/video/
DMtsHidlC2V1_0TargetVideoEncTest.cpp70 [this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp()
75 mWorkQueue.emplace_back(new C2Work); in SetUp()
140 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone()
141 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
177 std::list<std::unique_ptr<C2Work>> mWorkQueue;
248 std::list<std::unique_ptr<C2Work>>& workQueue, in encodeNFrames()
263 std::unique_ptr<C2Work> work; in encodeNFrames()
327 std::list<std::unique_ptr<C2Work>> items; in encodeNFrames()
405 std::unique_ptr<C2Work> work; in TEST_F()
424 std::list<std::unique_ptr<C2Work>> items; in TEST_F()
[all …]
DMtsHidlC2V1_0TargetVideoDecTest.cpp76 [this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp()
81 mWorkQueue.emplace_back(new C2Work); in SetUp()
143 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone()
144 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
217 std::list<std::unique_ptr<C2Work>> mWorkQueue;
332 std::list<std::unique_ptr<C2Work>>& workQueue, in decodeNFrames()
344 std::unique_ptr<C2Work> work; in decodeNFrames()
406 std::list<std::unique_ptr<C2Work>> items; in decodeNFrames()
547 std::unique_ptr<C2Work> work; in TEST_F()
566 std::list<std::unique_ptr<C2Work>> items; in TEST_F()
[all …]
/hardware/google/av/codec2/faultinjection/
DC2ComponentWrapper.h52 std::list<std::unique_ptr<C2Work>> workItems) override;
67 virtual c2_status_t queue_nb(std::list<std::unique_ptr<C2Work>>* const items) override;
70 flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) override;
DC2ComponentWrapper.cpp65 std::list<std::unique_ptr<C2Work>> workItems) { in onWorkDone_nb()
88 c2_status_t C2ComponentWrapper::queue_nb(std::list<std::unique_ptr<C2Work>>* const items) { in queue_nb()
97 C2Component::flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) { in flush_sm()
/hardware/google/av/media/codecs/cmds/
Dcodec2.cpp80 std::list<std::unique_ptr<C2Work>> workItems);
102 std::list<std::unique_ptr<C2Work>> mWorkQueue;
106 std::list<std::unique_ptr<C2Work>> mProcessedWork;
119 std::list<std::unique_ptr<C2Work>> workItems) override { in onWorkDone_nb()
174 std::weak_ptr<C2Component> component, std::list<std::unique_ptr<C2Work>> workItems) { in onWorkDone()
226 mWorkQueue.emplace_back(new C2Work); in play()
233 std::unique_ptr<C2Work> work; in play()
328 std::unique_ptr<C2Work> work; in play()
359 std::list<std::unique_ptr<C2Work>> items; in play()
/hardware/google/av/codec2/hidl/1.0/utils/
DInputSurfaceConnection.cpp183 std::unique_ptr<C2Work> work(new C2Work); in submitBuffer()
204 std::list<std::unique_ptr<C2Work>> items; in submitBuffer()
214 std::unique_ptr<C2Work> work(new C2Work); in submitEos()
221 std::list<std::unique_ptr<C2Work>> items; in submitEos()
349 c2_status_t compQueue(std::list<std::unique_ptr<C2Work>>* const items) { in compQueue()
/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.h213 const std::list<std::unique_ptr<C2Work>>& s,
218 std::list<std::unique_ptr<C2Work>>* d,
318 void yieldBufferQueueBlocks(const std::list<std::unique_ptr<C2Work>>& workList,
355 void holdBufferQueueBlocks(const std::list<std::unique_ptr<C2Work>>& workList,
/hardware/google/av/media/codecs/avc/
DC2SoftAvcDec.h111 const std::unique_ptr<C2Work> &work,
132 void finishWork(uint64_t index, const std::unique_ptr<C2Work> &work);
137 const std::unique_ptr<C2Work> &work);
/hardware/google/av/media/codecs/mpeg2/
DC2SoftMpeg2Dec.h107 const std::unique_ptr<C2Work> &work,
129 void finishWork(uint64_t index, const std::unique_ptr<C2Work> &work);
134 const std::unique_ptr<C2Work> &work);
/hardware/google/av/media/codecs/xaac/
DC2SoftXaacDec.h61 const std::unique_ptr<C2Work> &work,
107 void finishWork(const std::unique_ptr<C2Work>& work,
/hardware/google/av/codec2/include/
DC2Component.h338 std::list<std::unique_ptr<C2Work>> workItems) = 0;
442 virtual c2_status_t queue_nb(std::list<std::unique_ptr<C2Work>>* const items) = 0;
505 …virtual c2_status_t flush_sm(flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedW…
/hardware/google/av/codec2/hidl/client/include/codec2/hidl/
Dclient.h255 std::list<std::unique_ptr<C2Work>>& workItems,
320 std::list<std::unique_ptr<C2Work>>* const items);
324 std::list<std::unique_ptr<C2Work>>* const flushedWork);
425 size_t handleOnWorkDone(const std::list<std::unique_ptr<C2Work>> &workItems);
/hardware/google/av/media/codecs/raw/
DC2SoftRawDec.h39 const std::unique_ptr<C2Work> &work,
/hardware/google/av/media/sfplugin/
DCCodec.h69 void onWorkDone(std::list<std::unique_ptr<C2Work>> &workItems,
175 Mutexed<std::list<std::unique_ptr<C2Work>>> mWorkDoneQueue;

123