Home
last modified time | relevance | path

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

12345

/frameworks/av/media/codec2/hal/common/include/codec2/common/
DMultiAccessUnitHelper.h74 std::list<std::unique_ptr<C2Work>> &c2workItems,
75 std::list<std::list<std::unique_ptr<C2Work>>> * const processedWork);
83 std::list<std::unique_ptr<C2Work>> &c2workItems,
84 std::list<std::unique_ptr<C2Work>> * const processedWork);
90 std::list<std::unique_ptr<C2Work>> * const c2flushedWorks);
95 c2_status_t error(std::list<std::unique_ptr<C2Work>> * const c2workItems);
161 std::unique_ptr<C2Work> mLargeWork;
192 std::unique_ptr<C2Work> &work,
193 const std::function <void(std::unique_ptr<C2Work>&)> &addWork);
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.h46 void process(const std::unique_ptr<C2Work>& work,
98 const std::unique_ptr<C2Work> &work);
100 const std::unique_ptr<C2Work> &work);
103 void finishWork(uint64_t index, const std::unique_ptr<C2Work>& work,
106 void setError(const std::unique_ptr<C2Work> &work, c2_status_t error);
110 const std::unique_ptr<C2Work>& work);
113 const std::unique_ptr<C2Work>& work);
/frameworks/av/media/codec2/components/dav1d/
DC2SoftDav1dDec.h49 void process(const std::unique_ptr<C2Work>& work,
104 void getHDRStaticParams(const Dav1dPicture* picture, const std::unique_ptr<C2Work>& work);
105 void getHDR10PlusInfoData(const Dav1dPicture* picture, const std::unique_ptr<C2Work>& work);
108 void finishWork(uint64_t index, const std::unique_ptr<C2Work>& work,
112 void setError(const std::unique_ptr<C2Work>& work, c2_status_t error);
115 const std::unique_ptr<C2Work>& work);
118 const std::unique_ptr<C2Work>& work);
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.h88 const std::function<void(std::list<std::unique_ptr<C2Work>>& workItems)> fn = nullptr)
91 std::list<std::unique_ptr<C2Work>>& workItems) override { in onWorkDone()
133 std::function<void(std::list<std::unique_ptr<C2Work>>& workItems)> callBack;
152 std::mutex& queueLock, std::list<std::unique_ptr<C2Work>>& workQueue,
156 std::list<std::unique_ptr<C2Work>>& workQueue,
160 std::unique_ptr<C2Work>& work, std::list<uint64_t>& flushedIndices,
162 std::list<std::unique_ptr<C2Work>>& workQueue, bool& eos, bool& csd,
170 void verifyFlushOutput(std::list<std::unique_ptr<C2Work>>& flushedWork,
171 std::list<std::unique_ptr<C2Work>>& workQueue,
Dmedia_c2_hidl_test_common.cpp78 std::mutex& queueLock, std::list<std::unique_ptr<C2Work>>& workQueue, in testInputBuffer()
80 std::unique_ptr<C2Work> work; in testInputBuffer()
103 std::list<std::unique_ptr<C2Work>> items; in testInputBuffer()
110 std::list<std::unique_ptr<C2Work>>& workQueue, size_t bufferCount) { in waitOnInputConsumption()
132 std::unique_ptr<C2Work>& work, std::list<uint64_t>& flushedIndices, in workDone()
134 std::list<std::unique_ptr<C2Work>>& workQueue, bool& eos, bool& csd, in workDone()
298 void verifyFlushOutput(std::list<std::unique_ptr<C2Work>>& flushedWork, in verifyFlushOutput()
299 std::list<std::unique_ptr<C2Work>>& workQueue, in verifyFlushOutput()
305 for (std::unique_ptr<C2Work>& work : flushedWork) { in verifyFlushOutput()
/frameworks/av/media/codec2/components/base/include/
DSimpleC2Component.h111 virtual c2_status_t queue_nb(std::list<std::unique_ptr<C2Work>>* const items) override;
114 flush_mode_t mode, std::list<std::unique_ptr<C2Work>>* const flushedWork) override;
162 const std::unique_ptr<C2Work> &work,
191 void finish(uint64_t frameIndex, std::function<void(const std::unique_ptr<C2Work> &)> fillWork);
207 const std::unique_ptr<C2Work> &currentWork,
208 std::function<void(const std::unique_ptr<C2Work> &)> fillWork);
269 typedef std::unordered_map<uint64_t, std::unique_ptr<C2Work>> PendingWork;
276 std::unique_ptr<C2Work> pop_front();
277 void push_back(std::unique_ptr<C2Work> work);
291 std::unique_ptr<C2Work> work;
/frameworks/av/media/codec2/fuzzer/
DC2Fuzzer.cpp41 std::list<std::unique_ptr<C2Work>>& workItems)> in CodecListener()
45 std::list<std::unique_ptr<C2Work>> workItems) { in onWorkDone_nb()
63 std::list<std::unique_ptr<C2Work>>& workItems)> callBack;
123 std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone()
125 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
176 mWorkQueue.emplace_back(new C2Work); in initDecoder()
208 [this](std::weak_ptr<C2Component> comp, std::list<std::unique_ptr<C2Work>>& workItems) { in initDecoder()
258 std::unique_ptr<C2Work> work; in decodeFrames()
292 std::list<std::unique_ptr<C2Work>> items; in decodeFrames()
301 std::list<std::unique_ptr<C2Work>> c2flushedWorks; in decodeFrames()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.h42 const std::unique_ptr<C2Work> &work,
92 void finishWork(uint64_t index, const std::unique_ptr<C2Work> &work,
96 const std::unique_ptr<C2Work> &work);
100 const std::unique_ptr<C2Work> &work);
/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/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/sfplugin/
DFrameReassembler.h52 std::list<std::unique_ptr<C2Work>> *items);
61 std::list<std::unique_ptr<C2Work>> mPendingWork;
70 void finishCurrentBlock(std::list<std::unique_ptr<C2Work>> *items);
DFrameReassembler.cpp89 std::list<std::unique_ptr<C2Work>> *items) { in process()
153 std::unique_ptr<C2Work> work(new C2Work); in process()
202 void FrameReassembler::finishCurrentBlock(std::list<std::unique_ptr<C2Work>> *items) { in finishCurrentBlock()
212 std::unique_ptr<C2Work> work{std::make_unique<C2Work>()}; in finishCurrentBlock()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.h41 void process(const std::unique_ptr<C2Work>& work,
65 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);
/frameworks/av/media/codec2/hal/common/
DBufferTypes.cpp111 void forEachBlock(const std::list<std::unique_ptr<C2Work>>& workList, in forEachBlock()
114 for (const std::unique_ptr<C2Work>& work : workList) { in forEachBlock()
145 const std::list<std::unique_ptr<C2Work>>& workList, in BeginTransferBufferQueueBlocks()
164 const std::list<std::unique_ptr<C2Work>>& workList, in EndTransferBufferQueueBlocks()
DMultiAccessUnitHelper.cpp239 std::list<std::unique_ptr<C2Work>> * const worklist) { in error()
259 std::list<std::unique_ptr<C2Work>>* const c2flushedWorks) { in flush()
290 std::list<std::unique_ptr<C2Work>> &largeWork, in scatter()
291 std::list<std::list<std::unique_ptr<C2Work>>>* const processedWork) { in scatter()
297 for (std::unique_ptr<C2Work>& w : largeWork) { in scatter()
298 std::list<std::unique_ptr<C2Work>> sliceWork; in scatter()
307 (std::unique_ptr<C2Work>& inWork, uint32_t flags) -> std::unique_ptr<C2Work> { in scatter()
308 std::unique_ptr<C2Work> newWork(new C2Work); in scatter()
371 std::unique_ptr<C2Work> newWork = cloneInputWork(w, info.flags); in scatter()
397 std::list<std::unique_ptr<C2Work>> &sliceWork = processedWork->back(); in scatter()
[all …]
/frameworks/av/media/codec2/components/aac/
DC2SoftAacDec.h41 const std::unique_ptr<C2Work> &work,
83 const std::unique_ptr<C2Work> &work,
89 const std::unique_ptr<C2Work> &work);
/frameworks/av/media/codec2/hal/aidl/include/codec2/aidl/
DBufferTypes.h110 const std::list<std::unique_ptr<C2Work>>& s,
115 std::list<std::unique_ptr<C2Work>>* d,
122 const std::list<std::unique_ptr<C2Work>>& workList);
/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/hal/aidl/
DComponent.cpp102 std::list<std::unique_ptr<C2Work>> c2workItems) override { in onWorkDone_nb()
103 for (const std::unique_ptr<C2Work>& work : c2workItems) { in onWorkDone_nb()
155 std::list<std::unique_ptr<C2Work>> worklist; in onError_nb()
174 std::list<std::unique_ptr<C2Work>> c2workItems) override { in onWorkDone_nb()
176 std::list<std::unique_ptr<C2Work>> processedWork; in onWorkDone_nb()
220 std::list<std::unique_ptr<C2Work>> c2works; in queue()
227 for (const std::unique_ptr<C2Work>& work : c2works) { in queue()
235 std::list<std::list<std::unique_ptr<C2Work>>> c2worklists; in queue()
255 std::list<std::unique_ptr<C2Work>> c2flushedWorks; in flush()
263 for (const std::unique_ptr<C2Work>& work : c2flushedWorks) { in flush()
/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/hal/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp69 mListener.reset(new CodecListener([this](std::list<std::unique_ptr<C2Work>>& workItems) { in SetUp()
76 mWorkQueue.emplace_back(new C2Work); in SetUp()
103 void handleWorkDone(std::list<std::unique_ptr<C2Work>>& workItems) { in handleWorkDone()
104 for (std::unique_ptr<C2Work>& work : workItems) { in handleWorkDone()
121 std::list<std::unique_ptr<C2Work>> mWorkQueue;
147 std::list<std::unique_ptr<C2Work>> flushedWork; in TEST_P()
164 std::list<std::unique_ptr<C2Work>> workList; in TEST_P()
301 std::list<std::unique_ptr<C2Work>> workList; in TEST_P()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.h61 const std::unique_ptr<C2Work> &work,
88 void finishWork(uint64_t index, const std::unique_ptr<C2Work> &work);
93 const std::unique_ptr<C2Work> &work);
/frameworks/av/media/codec2/hal/hidl/1.0/utils/include/codec2/hidl/1.0/
Dtypes.h208 const std::list<std::unique_ptr<C2Work>>& s,
213 std::list<std::unique_ptr<C2Work>>* d,
303 const std::list<std::unique_ptr<C2Work>>& workList,
322 const std::list<std::unique_ptr<C2Work>>& workList,

12345