Home
last modified time | relevance | path

Searched refs:c2_status_t (Results 1 – 25 of 115) 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 …]
/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/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/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(
210 static c2_status_t ForAllServices(
212 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;
196 c2_status_t Codec2ConfigurableClient::query( in query()
220 c2_status_t status; in query()
226 status = static_cast<c2_status_t>(s); in query()
293 c2_status_t Codec2ConfigurableClient::config( in config()
302 c2_status_t status; in config()
310 status = static_cast<c2_status_t>(s); in config()
337 c2_status_t Codec2ConfigurableClient::querySupportedParams( in querySupportedParams()
340 c2_status_t status; in querySupportedParams()
347 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,
DC2SoftOpusDec.h35 c2_status_t onInit() override;
36 c2_status_t onStop() override;
39 c2_status_t onFlush_sm() override;
43 c2_status_t drain(
/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/hidl/services/
Dvendor.cpp48 virtual c2_status_t createComponent( in createComponent()
54 virtual c2_status_t createInterface( in createInterface()
65 virtual c2_status_t copyBuffer( in copyBuffer()
71 virtual c2_status_t query_sm( in query_sm()
78 virtual c2_status_t config_sm( in config_sm()
88 virtual c2_status_t querySupportedParams_nb( in querySupportedParams_nb()
93 virtual c2_status_t querySupportedValues_sm( in querySupportedValues_sm()
/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,
98 c2_status_t initEncParams();
99 c2_status_t initEncoder();
100 c2_status_t releaseEncoder();
101 c2_status_t setEncodeArgs(ihevce_inp_buf_t* ps_encode_ip,
107 c2_status_t drainInternal(uint32_t drainMode,
/frameworks/av/media/codec2/vndk/
DC2Store.cpp57 virtual c2_status_t fetchAllocator(
93 c2_status_t C2PlatformAllocatorStoreImpl::fetchAllocator( in fetchAllocator()
114 c2_status_t res = in fetchAllocator()
146 c2_status_t res = store->querySupportedValues_sm(query); in UseComponentStoreForIonAllocator()
166 size_t *align, unsigned *heapMask, unsigned *flags) -> c2_status_t { in UseComponentStoreForIonAllocator()
172 c2_status_t res = store->config_sm({&usageInfo}, &failures); in UseComponentStoreForIonAllocator()
297 c2_status_t _createBlockPool( in _createBlockPool()
305 c2_status_t res = C2_NOT_FOUND; in _createBlockPool()
360 c2_status_t createBlockPool( in createBlockPool()
403 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 …]
/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/hidl/1.0/utils/
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()
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 …]
/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(
/frameworks/av/media/codec2/components/gsm/
DC2SoftGsmDec.h43 c2_status_t onInit() override;
44 c2_status_t onStop() override;
47 c2_status_t onFlush_sm() override;
51 c2_status_t drain(
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacDec.h34 c2_status_t onInit() override;
35 c2_status_t onStop() override;
38 c2_status_t onFlush_sm() override;
42 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/vorbis/
DC2SoftVorbisDec.h36 c2_status_t onInit() override;
37 c2_status_t onStop() override;
40 c2_status_t onFlush_sm() override;
44 c2_status_t drain(

12345