/frameworks/av/media/codec2/core/include/ |
D | C2Component.h | 46 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/components/avc/ |
D | C2SoftAvcEnc.h | 135 c2_status_t onInit() override; 136 c2_status_t onStop() override; 139 c2_status_t onFlush_sm() override; 143 c2_status_t drain( 218 c2_status_t initEncoder(); 219 c2_status_t releaseEncoder(); 221 c2_status_t setFrameType(IV_PICTURE_CODING_TYPE_T e_frame_type); 222 c2_status_t setQp(); 223 c2_status_t setEncMode(IVE_ENC_MODE_T e_enc_mode); 224 c2_status_t setDimensions(); [all …]
|
/frameworks/av/media/codec2/vndk/include/ |
D | C2ErrnoUtils.h | 24 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) {
|
D | C2AllocatorIon.h | 37 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() 84 c2_status_t mapUsage(C2MemoryUsage usage, size_t size, 87 c2_status_t mInit; 99 typedef std::tuple<size_t, unsigned, unsigned, c2_status_t> MapperValue;
|
D | C2DmaBufAllocator.h | 34 virtual c2_status_t newLinearAllocation( 38 virtual c2_status_t priorLinearAllocation( 43 virtual c2_status_t status() const { return mInit; } in status() 60 typedef std::function<c2_status_t(C2MemoryUsage, size_t, 98 c2_status_t mInit; 101 c2_status_t mapUsage(C2MemoryUsage usage, size_t size, 114 typedef std::tuple<C2String, unsigned, c2_status_t> MapperValue;
|
/frameworks/av/media/codec2/hidl/client/include/codec2/hidl/ |
D | client.h | 112 c2_status_t query( 118 c2_status_t config( 123 c2_status_t querySupportedParams( 127 c2_status_t querySupportedValues( 169 c2_status_t createComponent( 174 c2_status_t createInterface( 178 c2_status_t createInputSurface( 183 c2_status_t copyBuffer( 210 static c2_status_t CreateComponentByName( 256 static c2_status_t ForAllServices( [all …]
|
/frameworks/av/media/codec2/faultinjection/ |
D | C2ComponentWrapper.cpp | 34 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 …]
|
D | C2ComponentWrapper.h | 64 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/components/base/include/ |
D | SimpleC2Component.h | 40 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/hidl/client/ |
D | client.cpp | 86 constexpr c2_status_t C2_TRANSACTION_FAILED = C2_CORRUPTED; 115 virtual c2_status_t config_sm( in config_sm() 121 virtual c2_status_t copyBuffer( in copyBuffer() 127 virtual c2_status_t createComponent( in createComponent() 133 virtual c2_status_t createInterface( in createInterface() 139 virtual c2_status_t query_sm( in query_sm() 146 virtual c2_status_t querySupportedParams_nb( in querySupportedParams_nb() 151 virtual c2_status_t querySupportedValues_sm( in querySupportedValues_sm() 277 c2_status_t Codec2ConfigurableClient::query( in query() 301 c2_status_t status; in query() [all …]
|
/frameworks/av/media/codec2/components/opus/ |
D | C2SoftOpusEnc.h | 36 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/components/mpeg4_h263/ |
D | C2SoftMpeg4Enc.h | 36 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();
|
D | C2SoftMpeg4Dec.h | 35 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/services/mediacodec/registrant/ |
D | CodecServiceRegistrant.cpp | 44 constexpr c2_status_t C2_TRANSACTION_FAILED = C2_CORRUPTED; 75 virtual c2_status_t config_sm( in config_sm() 84 c2_status_t status{}; in config_sm() 92 status = static_cast<c2_status_t>(s); in config_sm() 119 virtual c2_status_t copyBuffer( in copyBuffer() 126 virtual c2_status_t createComponent( in createComponent() 133 virtual c2_status_t createInterface( in createInterface() 140 virtual c2_status_t query_sm( in query_sm() 164 c2_status_t status; in query_sm() 170 status = static_cast<c2_status_t>(s); in query_sm() [all …]
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcEnc.h | 52 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, 102 c2_status_t initEncParams(); 103 c2_status_t initEncoder(); 104 c2_status_t releaseEncoder(); 105 c2_status_t setEncodeArgs(ihevce_inp_buf_t* ps_encode_ip, 111 c2_status_t drainInternal(uint32_t drainMode,
|
/frameworks/av/media/codec2/hidl/plugin/ |
D | FilterWrapper.cpp | 62 c2_status_t err = mFilters.back().intf->querySupportedParams_nb(¶mDescs); in takeFilters() 137 c2_status_t query_vb( in query_vb() 146 c2_status_t result = C2_OK; in query_vb() 174 c2_status_t err = filter->query_vb( in query_vb() 204 c2_status_t err = mIntf->query_vb( in query_vb() 222 c2_status_t config_vb( in config_vb() 227 c2_status_t result = C2_OK; in config_vb() 236 c2_status_t err = mIntf->config_vb(paramsForIntf, mayBlock, failures); in config_vb() 259 c2_status_t err = filter->config_vb(paramsForFilter, mayBlock, &filterFailures); in config_vb() 278 c2_status_t createTunnel_sm(c2_node_id_t) override { return C2_OMITTED; } in createTunnel_sm() [all …]
|
/frameworks/av/media/codec2/vndk/ |
D | C2DmaBufAllocator.cpp | 105 virtual c2_status_t map(size_t offset, size_t size, C2MemoryUsage usage, C2Fence* fence, 107 virtual c2_status_t unmap(void* addr, size_t size, C2Fence* fenceFd) override; 137 c2_status_t status() const; 140 virtual c2_status_t mapInternal(size_t mapSize, size_t mapOffset, size_t alignmentBytes, in mapInternal() 142 c2_status_t err = C2_OK; in mapInternal() 158 c2_status_t mInit; 170 c2_status_t C2DmaBufAllocation::map(size_t offset, size_t size, C2MemoryUsage usage, C2Fence* fence, in map() 199 c2_status_t err = in map() 207 c2_status_t C2DmaBufAllocation::unmap(void* addr, size_t size, C2Fence* fence) { in unmap() 233 c2_status_t C2DmaBufAllocation::status() const { in status() [all …]
|
D | C2Store.cpp | 64 virtual c2_status_t fetchAllocator( 132 c2_status_t C2PlatformAllocatorStoreImpl::fetchAllocator( in fetchAllocator() 162 c2_status_t res = in fetchAllocator() 196 c2_status_t res = store->querySupportedValues_sm(query); in UseComponentStoreForIonAllocator() 216 size_t *align, unsigned *heapMask, unsigned *flags) -> c2_status_t { in UseComponentStoreForIonAllocator() 222 c2_status_t res = store->config_sm({&usageInfo}, &failures); in UseComponentStoreForIonAllocator() 252 c2_status_t res = store->querySupportedValues_sm(query); in UseComponentStoreForDmaBufAllocator() 272 unsigned* flags) -> c2_status_t { in UseComponentStoreForDmaBufAllocator() 281 c2_status_t res = store->config_sm({&*usageInfo}, &failures); in UseComponentStoreForDmaBufAllocator() 446 c2_status_t _createBlockPool( in _createBlockPool() [all …]
|
D | C2AllocatorIon.cpp | 95 virtual c2_status_t map( 98 virtual c2_status_t unmap(void *addr, size_t size, C2Fence *fenceFd) override; 108 c2_status_t status() const; 180 c2_status_t map(size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, void **addr) { in map() 208 … c2_status_t err = mapInternal(mapSize, mapOffset, alignmentBytes, prot, flags, &(map.addr), addr); in map() 215 c2_status_t unmap(void *addr, size_t size, C2Fence *fence) { in unmap() 263 c2_status_t status() const { in status() 280 virtual c2_status_t mapInternal(size_t mapSize, size_t mapOffset, size_t alignmentBytes, in mapInternal() 282 c2_status_t err = C2_OK; in mapInternal() 315 c2_status_t mInit; [all …]
|
D | C2AllocatorBlob.cpp | 37 c2_status_t GetCapacityFromHandle(const C2Handle* const grallocHandle, size_t* capacity) { in GetCapacityFromHandle() 59 c2_status_t map(size_t offset, size_t size, C2MemoryUsage usage, C2Fence* fence, 61 c2_status_t unmap(void* addr, size_t size, C2Fence* fenceFd) override; 93 c2_status_t C2AllocationBlob::map(size_t offset, size_t size, C2MemoryUsage usage, in map() 111 c2_status_t err = mGraphicAllocation->map(rect, usage, fence, &layout, &mMappedAddr); in map() 125 c2_status_t C2AllocationBlob::unmap(void* addr, size_t size, C2Fence* fenceFd) { in unmap() 146 c2_status_t err = mGraphicAllocation->unmap(&mMappedAddr, rect, fenceFd); in unmap() 169 c2_status_t C2AllocatorBlob::newLinearAllocation( in newLinearAllocation() 184 c2_status_t status = mC2AllocatorGralloc->newGraphicAllocation( in newLinearAllocation() 196 c2_status_t C2AllocatorBlob::priorLinearAllocation( in priorLinearAllocation() [all …]
|
/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | InputSurfaceConnection.cpp | 129 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() 252 c2_status_t err = queueToSink(&items); in submitEos() 273 virtual c2_status_t config( 278 virtual c2_status_t query( 282 virtual c2_status_t querySupportedParams( 285 virtual c2_status_t querySupportedValues( 291 c2_status_t queryFromSink( in queryFromSink() 334 c2_status_t status; in queryFromSink() [all …]
|
D | ComponentInterface.cpp | 53 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/raw/ |
D | C2SoftRawDec.h | 33 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/ |
D | C2SoftG711Dec.h | 33 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/gav1/ |
D | C2SoftGav1Dec.h | 39 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,
|