Home
last modified time | relevance | path

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

1234

/frameworks/av/media/codec2/components/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);
205 typedef std::unordered_map<uint64_t, std::unique_ptr<C2Work>> PendingWork;
212 std::unique_ptr<C2Work> pop_front();
213 void push_back(std::unique_ptr<C2Work> work);
227 std::unique_ptr<C2Work> work;
/frameworks/av/media/codec2/hidl/1.0/vts/functional/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) override { in onWorkDone()
108 std::function<void(std::list<std::unique_ptr<C2Work>>& workItems)> callBack;
189 std::mutex& queueLock, std::list<std::unique_ptr<C2Work>>& workQueue,
194 std::list<std::unique_ptr<C2Work>>& workQueue,
199 std::unique_ptr<C2Work>& work, std::list<uint64_t>& flushedIndices,
201 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()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.h44 void process(const std::unique_ptr<C2Work>& work,
64 void finishWork(uint64_t index, const std::unique_ptr<C2Work>& work,
67 const std::unique_ptr<C2Work>& work);
70 const std::unique_ptr<C2Work>& work);
/frameworks/av/media/codec2/components/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()
229 c2_status_t SimpleC2Component::queue_nb(std::list<std::unique_ptr<C2Work>> * const items) { in queue_nb()
257 flush_mode_t flushMode, std::list<std::unique_ptr<C2Work>>* const flushedWork) { in flush_sm()
270 std::unique_ptr<C2Work> work = queue->pop_front(); in flush_sm()
383 std::list<std::unique_ptr<C2Work>> vec(std::unique_ptr<C2Work> &work) { in vec()
384 std::list<std::unique_ptr<C2Work>> ret; in vec()
392 uint64_t frameIndex, std::function<void(const std::unique_ptr<C2Work> &)> fillWork) { in finish()
393 std::unique_ptr<C2Work> work; in finish()
[all …]
/frameworks/av/media/tests/benchmark/src/native/common/
DBenchmarkC2Common.h61 const std::function<void(std::list<std::unique_ptr<C2Work>> &workItems)> fn = nullptr)
64 std::list<std::unique_ptr<C2Work>> &workItems) override { in onWorkDone()
100 std::function<void(std::list<std::unique_ptr<C2Work>> &workItems)> callBack;
122 void handleWorkDone(std::list<std::unique_ptr<C2Work>> &workItems);
138 std::list<std::unique_ptr<C2Work>> mWorkQueue;
DBenchmarkC2Common.cpp46 mWorkQueue.emplace_back(new C2Work); in setupCodec2()
91 void BenchmarkC2Common::handleWorkDone(std::list<std::unique_ptr<C2Work>> &workItems) { in handleWorkDone()
94 for (std::unique_ptr<C2Work> &work : workItems) { in handleWorkDone()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.h42 const std::unique_ptr<C2Work> &work,
86 void finishWork(uint64_t index, const std::unique_ptr<C2Work> &work,
90 const std::unique_ptr<C2Work> &work);
94 const std::unique_ptr<C2Work> &work);
/frameworks/av/media/codec2/components/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);
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.h44 void process(const std::unique_ptr<C2Work>& work,
68 void finishWork(uint64_t index, const std::unique_ptr<C2Work>& work,
71 const std::unique_ptr<C2Work>& work);
75 const std::unique_ptr<C2Work>& work);
/frameworks/av/media/codec2/hidl/1.0/vts/functional/audio/
DVtsHalMediaC2V1_0TargetAudioEncTest.cpp71 [this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp()
76 mWorkQueue.emplace_back(new C2Work); in SetUp()
131 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone()
132 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
163 std::list<std::unique_ptr<C2Work>> mWorkQueue;
281 std::list<std::unique_ptr<C2Work>>& workQueue, in encodeNFrames()
299 std::unique_ptr<C2Work> work; in encodeNFrames()
354 std::list<std::unique_ptr<C2Work>> items; in encodeNFrames()
482 std::unique_ptr<C2Work> work; in TEST_F()
501 std::list<std::unique_ptr<C2Work>> items; in TEST_F()
[all …]
DVtsHalMediaC2V1_0TargetAudioDecTest.cpp77 [this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp()
82 mWorkQueue.emplace_back(new C2Work); in SetUp()
150 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone()
151 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
214 std::list<std::unique_ptr<C2Work>> mWorkQueue;
399 std::list<std::unique_ptr<C2Work>>& workQueue, in decodeNFrames()
411 std::unique_ptr<C2Work> work; in decodeNFrames()
473 std::list<std::unique_ptr<C2Work>> items; in decodeNFrames()
694 std::unique_ptr<C2Work> work; in TEST_F()
714 std::list<std::unique_ptr<C2Work>> items; in TEST_F()
[all …]
/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp72 [this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp()
80 mWorkQueue.emplace_back(new C2Work); in SetUp()
96 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone()
97 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
111 std::list<std::unique_ptr<C2Work>> mWorkQueue;
129 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_F()
146 std::list<std::unique_ptr<C2Work>> workList; in TEST_F()
317 std::list<std::unique_ptr<C2Work>> workList; in TEST_F()
/frameworks/av/media/codec2/components/cmds/
Dcodec2.cpp81 std::list<std::unique_ptr<C2Work>> workItems);
103 std::list<std::unique_ptr<C2Work>> mWorkQueue;
107 std::list<std::unique_ptr<C2Work>> mProcessedWork;
120 std::list<std::unique_ptr<C2Work>> workItems) override { in onWorkDone_nb()
175 std::weak_ptr<C2Component> component, std::list<std::unique_ptr<C2Work>> workItems) { in onWorkDone()
227 mWorkQueue.emplace_back(new C2Work); in play()
234 std::unique_ptr<C2Work> work; in play()
329 std::unique_ptr<C2Work> work; in play()
360 std::list<std::unique_ptr<C2Work>> items; in play()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacDec.h41 const std::unique_ptr<C2Work> &work,
82 const std::unique_ptr<C2Work> &work,
88 const std::unique_ptr<C2Work> &work);
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp70 [this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp()
75 mWorkQueue.emplace_back(new C2Work); in SetUp()
134 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone()
135 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
213 std::list<std::unique_ptr<C2Work>> mWorkQueue;
284 std::list<std::unique_ptr<C2Work>>& workQueue, in encodeNFrames()
300 std::unique_ptr<C2Work> work; in encodeNFrames()
369 std::list<std::unique_ptr<C2Work>> items; in encodeNFrames()
487 std::unique_ptr<C2Work> work; in TEST_F()
506 std::list<std::unique_ptr<C2Work>> items; in TEST_F()
[all …]
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp80 [this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp()
85 mWorkQueue.emplace_back(new C2Work); in SetUp()
147 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone()
148 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
221 std::list<std::unique_ptr<C2Work>> mWorkQueue;
336 std::list<std::unique_ptr<C2Work>>& workQueue, in decodeNFrames()
348 std::unique_ptr<C2Work> work; in decodeNFrames()
411 std::list<std::unique_ptr<C2Work>> items; in decodeNFrames()
580 std::unique_ptr<C2Work> work; in TEST_F()
599 std::list<std::unique_ptr<C2Work>> items; in TEST_F()
[all …]
/frameworks/av/media/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()
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
Dtypes.h219 const std::list<std::unique_ptr<C2Work>>& s,
224 std::list<std::unique_ptr<C2Work>>* d,
314 const std::list<std::unique_ptr<C2Work>>& workList,
333 const std::list<std::unique_ptr<C2Work>>& workList,
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.h65 const std::unique_ptr<C2Work> &work,
92 void finishWork(uint64_t index, const std::unique_ptr<C2Work> &work);
97 const std::unique_ptr<C2Work> &work);
DC2SoftHevcEnc.h57 void process(const std::unique_ptr<C2Work>& work,
107 void finishWork(uint64_t index, const std::unique_ptr<C2Work>& work,
112 const std::unique_ptr<C2Work>& work);
/frameworks/av/media/codec2/sfplugin/
DC2OMXNode.cpp61 std::unique_ptr<C2Work> &&work, in queue()
92 std::list<std::unique_ptr<C2Work>> items; in threadLoop()
130 WorkFence(std::unique_ptr<C2Work> &&w, int fd) : work(std::move(w)), fenceFd(fd) {} in WorkFence()
133 std::unique_ptr<C2Work> &&w, in WorkFence()
142 std::unique_ptr<C2Work> work;
375 std::unique_ptr<C2Work> work(new C2Work); in emptyBuffer()
/frameworks/av/media/codec2/hidl/1.0/utils/
DInputSurfaceConnection.cpp209 std::unique_ptr<C2Work> work(new C2Work); in submitBuffer()
229 std::list<std::unique_ptr<C2Work>> items; in submitBuffer()
240 std::unique_ptr<C2Work> work(new C2Work); in submitEos()
247 std::list<std::unique_ptr<C2Work>> items; in submitEos()
405 c2_status_t queueToSink(std::list<std::unique_ptr<C2Work>>* const items) { in queueToSink()
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusEnc.h42 const std::unique_ptr<C2Work> &work,
85 const std::unique_ptr<C2Work>& work);

1234