Home
last modified time | relevance | path

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

1234

/hardware/google/av/codec2/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(
441 virtual c2_status_t queue_nb(std::list<std::unique_ptr<C2Work>>* const items) = 0;
462 virtual c2_status_t announce_nb(const std::vector<C2WorkOutline> &items) = 0;
[all …]
/hardware/google/av/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;
/hardware/google/av/media/codecs/avc/
DC2SoftAvcEnc.h128 c2_status_t onInit() override;
129 c2_status_t onStop() override;
132 c2_status_t onFlush_sm() override;
136 c2_status_t drain(
215 c2_status_t initEncoder();
216 c2_status_t releaseEncoder();
218 c2_status_t setFrameType(IV_PICTURE_CODING_TYPE_T e_frame_type);
219 c2_status_t setQp();
220 c2_status_t setEncMode(IVE_ENC_MODE_T e_enc_mode);
221 c2_status_t setDimensions();
[all …]
/hardware/google/av/codec2/hidl/client/include/codec2/hidl/
Dclient.h126 c2_status_t query(
132 c2_status_t config(
137 c2_status_t querySupportedParams(
141 c2_status_t querySupportedValues(
177 c2_status_t createComponent(
182 c2_status_t createInterface(
186 c2_status_t createInputSurface(
191 c2_status_t copyBuffer(
226 static c2_status_t ForAllStores(
228 std::function<c2_status_t(const std::shared_ptr<Codec2Client>&)> predicate);
[all …]
/hardware/google/av/codec2/hidl/client/
Dclient.cpp63 constexpr c2_status_t C2_TRANSACTION_FAILED = C2_CORRUPTED;
116 c2_status_t Codec2ConfigurableClient::query( in query()
140 c2_status_t status; in query()
146 status = static_cast<c2_status_t>(s); in query()
153 c2_status_t parseStatus = parseParamsBlob(&paramPointers, p); in query()
209 c2_status_t Codec2ConfigurableClient::config( in config()
219 c2_status_t status; in config()
227 status = static_cast<c2_status_t>(s); in config()
251 c2_status_t Codec2ConfigurableClient::querySupportedParams( in querySupportedParams()
254 c2_status_t status; in querySupportedParams()
[all …]
/hardware/google/av/media/codecs/base/include/
DSimpleC2Component.h39 virtual c2_status_t setListener_vb(
41 virtual c2_status_t queue_nb(std::list<std::unique_ptr<C2Work>>* const items) override;
42 virtual c2_status_t announce_nb(const std::vector<C2WorkOutline> &items) override;
43 virtual c2_status_t flush_sm(
45 virtual c2_status_t drain_nb(drain_mode_t mode) override;
46 virtual c2_status_t start() override;
47 virtual c2_status_t stop() override;
48 virtual c2_status_t reset() override;
49 virtual c2_status_t release() override;
65 virtual c2_status_t onInit() = 0;
[all …]
/hardware/google/av/media/v4l2store/
DC2VDAComponentStore.cpp33 c2_status_t createComponent(C2String name,
35 c2_status_t createInterface(C2String name,
38 c2_status_t copyBuffer(std::shared_ptr<C2GraphicBuffer> src,
40 c2_status_t query_sm(const std::vector<C2Param*>& stackParams,
43 c2_status_t config_sm(const std::vector<C2Param*>& params,
46 c2_status_t querySupportedParams_nb(
48 c2_status_t querySupportedValues_sm(
76 c2_status_t init(std::string libPath, C2VDACodec codec);
82 c2_status_t createComponent(
85 c2_status_t createInterface(
[all …]
/hardware/google/av/media/codecs/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(
71 c2_status_t initEncParams();
72 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);
/hardware/google/av/codec2/hidl/services/
Dvendor.cpp56 virtual c2_status_t createComponent( in createComponent()
62 virtual c2_status_t createInterface( in createInterface()
73 virtual c2_status_t copyBuffer( in copyBuffer()
79 virtual c2_status_t query_sm( in query_sm()
86 virtual c2_status_t config_sm( in config_sm()
96 virtual c2_status_t querySupportedParams_nb( in querySupportedParams_nb()
101 virtual c2_status_t querySupportedValues_sm( in querySupportedValues_sm()
/hardware/google/av/codec2/vndk/
DC2Store.cpp57 virtual c2_status_t fetchAllocator(
93 c2_status_t C2PlatformAllocatorStoreImpl::fetchAllocator( in fetchAllocator()
140 c2_status_t res = store->querySupportedValues_sm(query); in UseComponentStoreForIonAllocator()
160 size_t *align, unsigned *heapMask, unsigned *flags) -> c2_status_t { in UseComponentStoreForIonAllocator()
166 c2_status_t res = store->config_sm({&usageInfo}, &failures); in UseComponentStoreForIonAllocator()
291 c2_status_t _createBlockPool( in _createBlockPool()
299 c2_status_t res = C2_NOT_FOUND; in _createBlockPool()
354 c2_status_t createBlockPool( in createBlockPool()
397 c2_status_t GetCodec2BlockPool( in GetCodec2BlockPool()
404 c2_status_t res = C2_NOT_FOUND; in GetCodec2BlockPool()
[all …]
/hardware/google/av/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
Dtypes.h70 c2_status_t objcpy(
80 c2_status_t objcpy(
90 c2_status_t objcpy(
100 c2_status_t objcpy(
112 c2_status_t objcpy(
123 c2_status_t objcpy(
201 c2_status_t objcpy(
212 c2_status_t parseParamsBlob(
245 c2_status_t copyParamsFromBlob(
256 c2_status_t updateParamsFromBlob(
[all …]
DConfigurableC2Intf.h49 virtual c2_status_t query(
54 virtual c2_status_t config(
59 virtual c2_status_t querySupportedParams(
62 virtual c2_status_t querySupportedValues(
/hardware/google/av/media/codecs/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(
/hardware/google/av/media/codecs/vpx/
DC2SoftVpxDec.h36 c2_status_t onInit() override;
37 c2_status_t onStop() override;
40 c2_status_t onFlush_sm() override;
44 c2_status_t drain(
69 c2_status_t drainInternal(
/hardware/google/av/media/codecs/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(
/hardware/google/av/media/codecs/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(
/hardware/google/av/media/codecs/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(
/hardware/google/av/media/codecs/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(
/hardware/google/av/media/codecs/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(
/hardware/google/av/media/codecs/aac/
DC2SoftAacEnc.h34 c2_status_t onInit() override;
35 c2_status_t onStop() override;
38 c2_status_t onFlush_sm() override;
42 c2_status_t drain(
DC2SoftAacDec.h35 c2_status_t onInit() override;
36 c2_status_t onStop() override;
39 c2_status_t onFlush_sm() override;
43 c2_status_t drain(
85 c2_status_t drainInternal(
/hardware/google/av/media/codecs/opus/
DC2SoftOpusDec.h45 c2_status_t onInit() override;
46 c2_status_t onStop() override;
49 c2_status_t onFlush_sm() override;
53 c2_status_t drain(
/hardware/google/av/media/codecs/mp3/
DC2SoftMp3Dec.h41 c2_status_t onInit() override;
42 c2_status_t onStop() override;
45 c2_status_t onFlush_sm() override;
49 c2_status_t drain(

1234