Home
last modified time | relevance | path

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

12345

/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(
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 …]
/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(
209 c2_status_t initEncoder();
210 c2_status_t releaseEncoder();
212 c2_status_t setFrameType(IV_PICTURE_CODING_TYPE_T e_frame_type);
213 c2_status_t setQp();
214 c2_status_t setEncMode(IVE_ENC_MODE_T e_enc_mode);
215 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(
229 static c2_status_t ForAllStores(
231 std::function<c2_status_t(const std::shared_ptr<Codec2Client>&)> predicate);
[all …]
/hardware/google/av/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;
/hardware/google/av/codec2/hidl/client/
Dclient.cpp64 constexpr c2_status_t C2_TRANSACTION_FAILED = C2_CORRUPTED;
113 c2_status_t Codec2ConfigurableClient::query( in query()
137 c2_status_t status; in query()
143 status = static_cast<c2_status_t>(s); in query()
150 c2_status_t parseStatus = parseParamsBlob(&paramPointers, p); in query()
207 c2_status_t Codec2ConfigurableClient::config( in config()
217 c2_status_t status; in config()
225 status = static_cast<c2_status_t>(s); in config()
249 c2_status_t Codec2ConfigurableClient::querySupportedParams( in querySupportedParams()
252 c2_status_t status; in querySupportedParams()
[all …]
/hardware/google/av/media/codecs/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 …]
/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(
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);
/hardware/google/av/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()
/hardware/google/av/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 …]
/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/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/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
Dtypes.h74 c2_status_t objcpy(
84 c2_status_t objcpy(
94 c2_status_t objcpy(
104 c2_status_t objcpy(
116 c2_status_t objcpy(
127 c2_status_t objcpy(
217 c2_status_t objcpy(
228 c2_status_t parseParamsBlob(
261 c2_status_t copyParamsFromBlob(
272 c2_status_t updateParamsFromBlob(
[all …]
/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/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(
DC2SoftAmrNbEnc.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/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/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/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/aac/
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(
DC2SoftAacEnc.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/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(

12345