/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/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() 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/ |
D | C2SoftAvcEnc.h | 129 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/ |
D | client.h | 107 c2_status_t query( 113 c2_status_t config( 118 c2_status_t querySupportedParams( 122 c2_status_t querySupportedValues( 162 c2_status_t createComponent( 167 c2_status_t createInterface( 171 c2_status_t createInputSurface( 176 c2_status_t copyBuffer( 247 static c2_status_t ForAllServices( 250 std::function<c2_status_t(std::shared_ptr<Codec2Client> const&)> [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/hidl/client/ |
D | client.cpp | 80 constexpr c2_status_t C2_TRANSACTION_FAILED = C2_CORRUPTED; 105 virtual c2_status_t config_sm( in config_sm() 111 virtual c2_status_t copyBuffer( in copyBuffer() 117 virtual c2_status_t createComponent( in createComponent() 123 virtual c2_status_t createInterface( in createInterface() 129 virtual c2_status_t query_sm( in query_sm() 136 virtual c2_status_t querySupportedParams_nb( in querySupportedParams_nb() 141 virtual c2_status_t querySupportedValues_sm( in querySupportedValues_sm() 267 c2_status_t Codec2ConfigurableClient::query( in query() 291 c2_status_t status; in query() [all …]
|
/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/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 | 43 constexpr c2_status_t C2_TRANSACTION_FAILED = C2_CORRUPTED; 74 virtual c2_status_t config_sm( in config_sm() 83 c2_status_t status{}; in config_sm() 91 status = static_cast<c2_status_t>(s); in config_sm() 118 virtual c2_status_t copyBuffer( in copyBuffer() 125 virtual c2_status_t createComponent( in createComponent() 132 virtual c2_status_t createInterface( in createInterface() 139 virtual c2_status_t query_sm( in query_sm() 163 c2_status_t status; in query_sm() 169 status = static_cast<c2_status_t>(s); in query_sm() [all …]
|
/frameworks/av/media/codec2/vndk/ |
D | C2Store.cpp | 63 virtual c2_status_t fetchAllocator( 102 c2_status_t C2PlatformAllocatorStoreImpl::fetchAllocator( in fetchAllocator() 129 c2_status_t res = in fetchAllocator() 161 c2_status_t res = store->querySupportedValues_sm(query); in UseComponentStoreForIonAllocator() 181 size_t *align, unsigned *heapMask, unsigned *flags) -> c2_status_t { in UseComponentStoreForIonAllocator() 187 c2_status_t res = store->config_sm({&usageInfo}, &failures); in UseComponentStoreForIonAllocator() 336 c2_status_t _createBlockPool( in _createBlockPool() 344 c2_status_t res = C2_NOT_FOUND; in _createBlockPool() 413 c2_status_t createBlockPool( in createBlockPool() 456 c2_status_t GetCodec2BlockPool( in GetCodec2BlockPool() [all …]
|
D | C2AllocatorBlob.cpp | 35 c2_status_t GetCapacityFromHandle(const C2Handle* const grallocHandle, size_t* capacity) { in GetCapacityFromHandle() 57 c2_status_t map(size_t offset, size_t size, C2MemoryUsage usage, C2Fence* fence, 59 c2_status_t unmap(void* addr, size_t size, C2Fence* fenceFd) override; 81 c2_status_t C2AllocationBlob::map(size_t offset, size_t size, C2MemoryUsage usage, in map() 88 c2_status_t C2AllocationBlob::unmap(void* addr, size_t size, C2Fence* fenceFd) { in unmap() 109 c2_status_t C2AllocatorBlob::newLinearAllocation( in newLinearAllocation() 122 c2_status_t status = mC2AllocatorGralloc->newGraphicAllocation( in newLinearAllocation() 134 c2_status_t C2AllocatorBlob::priorLinearAllocation( in priorLinearAllocation() 147 c2_status_t status = mC2AllocatorGralloc->priorGraphicAllocation(handle, &graphicAllocation); in priorLinearAllocation()
|
D | C2AllocatorIon.cpp | 90 virtual c2_status_t map( 93 virtual c2_status_t unmap(void *addr, size_t size, C2Fence *fenceFd) override; 103 c2_status_t status() const; 175 c2_status_t map(size_t offset, size_t size, C2MemoryUsage usage, C2Fence *fence, void **addr) { in map() 203 … c2_status_t err = mapInternal(mapSize, mapOffset, alignmentBytes, prot, flags, &(map.addr), addr); in map() 210 c2_status_t unmap(void *addr, size_t size, C2Fence *fence) { in unmap() 258 c2_status_t status() const { in status() 275 virtual c2_status_t mapInternal(size_t mapSize, size_t mapOffset, size_t alignmentBytes, in mapInternal() 277 c2_status_t err = C2_OK; in mapInternal() 310 c2_status_t mInit; [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, 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/ |
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() 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 …]
|
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/hidl/services/ |
D | vendor.cpp | 55 virtual c2_status_t createComponent( in createComponent() 61 virtual c2_status_t createInterface( in createInterface() 72 virtual c2_status_t copyBuffer( in copyBuffer() 78 virtual c2_status_t query_sm( in query_sm() 85 virtual c2_status_t config_sm( in config_sm() 95 virtual c2_status_t querySupportedParams_nb( in querySupportedParams_nb() 100 virtual c2_status_t querySupportedValues_sm( in querySupportedValues_sm()
|
/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/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,
|
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/ |
D | Configurable.h | 55 virtual c2_status_t query( 60 virtual c2_status_t config( 65 virtual c2_status_t querySupportedParams( 68 virtual c2_status_t querySupportedValues( 90 virtual c2_status_t validate( 109 c2_status_t init(const std::shared_ptr<ParameterCache> &cache);
|
/frameworks/av/media/codec2/components/base/ |
D | SimpleC2Component.cpp | 147 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/components/gsm/ |
D | C2SoftGsmDec.h | 43 c2_status_t onInit() override; 44 c2_status_t onStop() override; 47 c2_status_t onFlush_sm() override; 51 c2_status_t drain(
|