Home
last modified time | relevance | path

Searched refs:c2_status_t (Results 1 – 25 of 121) sorted by relevance

12345

/frameworks/av/media/codec2/core/include/
DC2Component.h46 c2_status_t status;
155 virtual c2_status_t query_vb(
216 virtual c2_status_t config_vb(
247 virtual c2_status_t createTunnel_sm(c2_node_id_t targetComponent) = 0;
272 virtual c2_status_t releaseTunnel_sm(c2_node_id_t targetComponent) = 0;
292 virtual c2_status_t querySupportedParams_nb(
327 virtual c2_status_t querySupportedValues_vb(
386 virtual c2_status_t setListener_vb(
442 virtual c2_status_t queue_nb(std::list<std::unique_ptr<C2Work>>* const items) = 0;
463 virtual c2_status_t announce_nb(const std::vector<C2WorkOutline> &items) = 0;
[all …]
DC2Buffer.h85 c2_status_t wait(c2_nsecs_t timeoutNs);
159 c2_status_t fire();
173 c2_status_t merge(std::vector<C2Fence> fences);
187 c2_status_t abandon();
201 inline c2_status_t status() const { return mStatus; } in status()
204 _C2InnateStatus(c2_status_t status) : mStatus(status) { } in _C2InnateStatus()
206 c2_status_t mStatus; // this status is updatable by the object
231 …C2Acquirable(c2_status_t error, C2Fence fence, T t) : C2Fence(fence), mInitialError(error), mT(t) … in C2Acquirable()
234 c2_status_t mInitialError;
647 virtual c2_status_t newLinearAllocation( in newLinearAllocation()
[all …]
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.h129 c2_status_t onInit() override;
130 c2_status_t onStop() override;
133 c2_status_t onFlush_sm() override;
137 c2_status_t drain(
211 c2_status_t initEncoder();
212 c2_status_t releaseEncoder();
214 c2_status_t setFrameType(IV_PICTURE_CODING_TYPE_T e_frame_type);
215 c2_status_t setQp();
216 c2_status_t setEncMode(IVE_ENC_MODE_T e_enc_mode);
217 c2_status_t setDimensions();
[all …]
/frameworks/av/media/codec2/vndk/include/
DC2ErrnoUtils.h24 template<int N> constexpr c2_status_t _c2_errno2status_impl();
25 template<> constexpr c2_status_t _c2_errno2status_impl<0>() { return C2_OK; }
26 template<> constexpr c2_status_t _c2_errno2status_impl<EINVAL>() { return C2_BAD_VALUE; }
27 template<> constexpr c2_status_t _c2_errno2status_impl<EACCES>() { return C2_REFUSED; }
28 template<> constexpr c2_status_t _c2_errno2status_impl<EPERM>() { return C2_REFUSED; }
29 template<> constexpr c2_status_t _c2_errno2status_impl<ENOMEM>() { return C2_NO_MEMORY; }
34 static c2_status_t map(int result) {
43 static c2_status_t map(int result) {
49 c2_status_t c2_map_errno(int result) {
DC2AllocatorIon.h37 typedef std::function<c2_status_t(C2MemoryUsage, size_t,
46 virtual c2_status_t newLinearAllocation(
50 virtual c2_status_t priorLinearAllocation(
56 virtual c2_status_t status() const { return mInit; } in status()
79 c2_status_t mapUsage(C2MemoryUsage usage, size_t size,
82 c2_status_t mInit;
94 typedef std::tuple<size_t, unsigned, unsigned, c2_status_t> MapperValue;
/frameworks/av/media/codec2/hidl/client/include/codec2/hidl/
Dclient.h99 c2_status_t query(
105 c2_status_t config(
110 c2_status_t querySupportedParams(
114 c2_status_t querySupportedValues(
150 c2_status_t createComponent(
155 c2_status_t createInterface(
159 c2_status_t createInputSurface(
164 c2_status_t copyBuffer(
227 static c2_status_t ForAllServices(
230 std::function<c2_status_t(std::shared_ptr<Codec2Client> const&)>
[all …]
/frameworks/av/media/codec2/faultinjection/
DC2ComponentWrapper.cpp34 c2_status_t WrapSimpleMethod( in WrapSimpleMethod()
35 std::function<c2_status_t(void)> op, const SimpleMethodState &state) { in WrapSimpleMethod()
36 c2_status_t result = C2_OK; in WrapSimpleMethod()
82 c2_status_t C2ComponentWrapper::setListener_vb( in setListener_vb()
88 c2_status_t C2ComponentWrapper::queue_nb(std::list<std::unique_ptr<C2Work>>* const items) { in queue_nb()
92 c2_status_t C2ComponentWrapper::announce_nb(const std::vector<C2WorkOutline> &items) { in announce_nb()
96 c2_status_t C2ComponentWrapper::flush_sm( in flush_sm()
101 c2_status_t C2ComponentWrapper::drain_nb(C2Component::drain_mode_t mode) { in drain_nb()
105 c2_status_t C2ComponentWrapper::start() { in start()
109 c2_status_t C2ComponentWrapper::stop() { in stop()
[all …]
DC2ComponentWrapper.h64 virtual c2_status_t setListener_vb(
67 virtual c2_status_t queue_nb(std::list<std::unique_ptr<C2Work>>* const items) override;
68 virtual c2_status_t announce_nb(const std::vector<C2WorkOutline> &items) override;
69 virtual c2_status_t flush_sm(
71 virtual c2_status_t drain_nb(drain_mode_t mode) override;
72 virtual c2_status_t start() override;
73 virtual c2_status_t stop() override;
74 virtual c2_status_t reset() override;
75 virtual c2_status_t release() override;
/frameworks/av/media/codec2/hidl/client/
Dclient.cpp76 constexpr c2_status_t C2_TRANSACTION_FAILED = C2_CORRUPTED;
199 c2_status_t Codec2ConfigurableClient::query( in query()
223 c2_status_t status; in query()
229 status = static_cast<c2_status_t>(s); in query()
296 c2_status_t Codec2ConfigurableClient::config( in config()
305 c2_status_t status; in config()
313 status = static_cast<c2_status_t>(s); in config()
340 c2_status_t Codec2ConfigurableClient::querySupportedParams( in querySupportedParams()
343 c2_status_t status; in querySupportedParams()
350 status = static_cast<c2_status_t>(s); in querySupportedParams()
[all …]
/frameworks/av/media/codec2/components/base/include/
DSimpleC2Component.h40 virtual c2_status_t setListener_vb(
42 virtual c2_status_t queue_nb(std::list<std::unique_ptr<C2Work>>* const items) override;
43 virtual c2_status_t announce_nb(const std::vector<C2WorkOutline> &items) override;
44 virtual c2_status_t flush_sm(
46 virtual c2_status_t drain_nb(drain_mode_t mode) override;
47 virtual c2_status_t start() override;
48 virtual c2_status_t stop() override;
49 virtual c2_status_t reset() override;
50 virtual c2_status_t release() override;
64 virtual c2_status_t onInit() = 0;
[all …]
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusEnc.h36 c2_status_t onInit() override;
37 c2_status_t onStop() override;
40 c2_status_t onFlush_sm() override;
44 c2_status_t drain(
81 c2_status_t initEncoder();
82 c2_status_t configureEncoder();
84 c2_status_t drainInternal(const std::shared_ptr<C2BlockPool>& pool,
/frameworks/av/media/codec2/vndk/
DC2Store.cpp61 virtual c2_status_t fetchAllocator(
97 c2_status_t C2PlatformAllocatorStoreImpl::fetchAllocator( in fetchAllocator()
118 c2_status_t res = in fetchAllocator()
150 c2_status_t res = store->querySupportedValues_sm(query); in UseComponentStoreForIonAllocator()
170 size_t *align, unsigned *heapMask, unsigned *flags) -> c2_status_t { in UseComponentStoreForIonAllocator()
176 c2_status_t res = store->config_sm({&usageInfo}, &failures); in UseComponentStoreForIonAllocator()
301 c2_status_t _createBlockPool( in _createBlockPool()
309 c2_status_t res = C2_NOT_FOUND; in _createBlockPool()
364 c2_status_t createBlockPool( in createBlockPool()
407 c2_status_t GetCodec2BlockPool( in GetCodec2BlockPool()
[all …]
DC2AllocatorIon.cpp126 virtual c2_status_t map(
129 virtual c2_status_t unmap(void *addr, size_t size, C2Fence *fenceFd) override;
139 c2_status_t status() const;
211 c2_status_t map(size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, void **addr) { in map()
239c2_status_t err = mapInternal(mapSize, mapOffset, alignmentBytes, prot, flags, &(map.addr), addr); in map()
246 c2_status_t unmap(void *addr, size_t size, C2Fence *fence) { in unmap()
294 c2_status_t status() const { in status()
311 virtual c2_status_t mapInternal(size_t mapSize, size_t mapOffset, size_t alignmentBytes, in mapInternal()
313 c2_status_t err = C2_OK; in mapInternal()
346 c2_status_t mInit;
[all …]
DC2Buffer.cpp169 _C2MappedBlock1DImpl(c2_status_t error) in _C2MappedBlock1DImpl()
182 c2_status_t error() const { in error()
188 c2_status_t mError;
227 C2ReadView::C2ReadView(c2_status_t error) in C2ReadView()
236 c2_status_t C2ReadView::error() const { in error()
258 C2WriteView::C2WriteView(c2_status_t error) in C2WriteView()
265 c2_status_t C2WriteView::error() const { return mImpl->error(); } in error()
276 c2_status_t error = mImpl->getAllocation()->map( in map()
306 c2_status_t error = mImpl->getAllocation()->map( in map()
330 c2_status_t C2BasicLinearBlockPool::fetchLinearBlock( in fetchLinearBlock()
[all …]
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.h36 c2_status_t onInit() override;
37 c2_status_t onStop() override;
40 c2_status_t onFlush_sm() override;
44 c2_status_t drain(
75 c2_status_t initEncParams();
76 c2_status_t initEncoder();
DC2SoftMpeg4Dec.h35 c2_status_t onInit() override;
36 c2_status_t onStop() override;
39 c2_status_t onFlush_sm() override;
43 c2_status_t drain(
52 c2_status_t ensureDecoderState(const std::shared_ptr<C2BlockPool> &pool);
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.h52 c2_status_t onInit() override;
53 c2_status_t onStop() override;
56 c2_status_t onFlush_sm() override;
59 c2_status_t drain(uint32_t drainMode,
101 c2_status_t initEncParams();
102 c2_status_t initEncoder();
103 c2_status_t releaseEncoder();
104 c2_status_t setEncodeArgs(ihevce_inp_buf_t* ps_encode_ip,
110 c2_status_t drainInternal(uint32_t drainMode,
/frameworks/av/media/codec2/hidl/1.0/utils/
DInputSurfaceConnection.cpp129 c2_status_t c2Status = queryFromSink({ &inputSize, &usage }, in init()
173 c2_status_t c2err = GetCodec2PlatformAllocatorStore()->fetchAllocator( in init()
201 c2_status_t err = mAllocator->priorGraphicAllocation(handle, &alloc); in submitBuffer()
250 c2_status_t err = queueToSink(&items); in submitEos()
271 virtual c2_status_t config(
276 virtual c2_status_t query(
280 virtual c2_status_t querySupportedParams(
283 virtual c2_status_t querySupportedValues(
289 c2_status_t queryFromSink( in queryFromSink()
332 c2_status_t status; in queryFromSink()
[all …]
DComponentInterface.cpp53 virtual c2_status_t config( in config()
61 virtual c2_status_t query( in query()
69 virtual c2_status_t querySupportedParams( in querySupportedParams()
75 virtual c2_status_t querySupportedValues( in querySupportedValues()
96 c2_status_t ComponentInterface::status() const { in status()
/frameworks/av/media/codec2/components/base/
DSimpleC2Component.cpp147 virtual c2_status_t fetchLinearBlock( in fetchLinearBlock()
151 c2_status_t status; in fetchLinearBlock()
158 virtual c2_status_t fetchCircularBlock( in fetchCircularBlock()
162 c2_status_t status; in fetchCircularBlock()
169 virtual c2_status_t fetchGraphicBlock( in fetchGraphicBlock()
173 c2_status_t status; in fetchGraphicBlock()
211 c2_status_t SimpleC2Component::setListener_vb( in setListener_vb()
229 c2_status_t SimpleC2Component::queue_nb(std::list<std::unique_ptr<C2Work>> * const items) { in queue_nb()
251 c2_status_t SimpleC2Component::announce_nb(const std::vector<C2WorkOutline> &items) { in announce_nb()
256 c2_status_t SimpleC2Component::flush_sm( in flush_sm()
[all …]
/frameworks/av/media/codec2/hidl/services/
Dvendor.cpp53 virtual c2_status_t createComponent( in createComponent()
59 virtual c2_status_t createInterface( in createInterface()
70 virtual c2_status_t copyBuffer( in copyBuffer()
76 virtual c2_status_t query_sm( in query_sm()
83 virtual c2_status_t config_sm( in config_sm()
93 virtual c2_status_t querySupportedParams_nb( in querySupportedParams_nb()
98 virtual c2_status_t querySupportedValues_sm( in querySupportedValues_sm()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.h39 c2_status_t onInit() override;
40 c2_status_t onStop() override;
43 c2_status_t onFlush_sm() override;
46 c2_status_t drain(uint32_t drainMode,
68 c2_status_t drainInternal(uint32_t drainMode,
/frameworks/av/media/codec2/components/raw/
DC2SoftRawDec.h33 c2_status_t onInit() override;
34 c2_status_t onStop() override;
37 c2_status_t onFlush_sm() override;
41 c2_status_t drain(
/frameworks/av/media/codec2/components/g711/
DC2SoftG711Dec.h33 c2_status_t onInit() override;
34 c2_status_t onStop() override;
37 c2_status_t onFlush_sm() override;
41 c2_status_t drain(
/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrDec.h33 c2_status_t onInit() override;
34 c2_status_t onStop() override;
37 c2_status_t onFlush_sm() override;
41 c2_status_t drain(

12345