/hardware/google/av/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/ |
D | Configurable.h | 87 std::unique_ptr<ConfigurableC2Intf> mIntf; 100 Configurable(const sp<CachedConfigurable>& intf): mIntf(intf) { in Configurable() 104 return mIntf->init(store); in init() 111 return mIntf->getName(_hidl_cb); in getName() 119 return mIntf->query(indices, mayBlock, _hidl_cb); in query() 127 return mIntf->config(inParams, mayBlock, _hidl_cb); in config() 135 return mIntf->querySupportedParams(start, count, _hidl_cb); in querySupportedParams() 143 return mIntf->querySupportedValues(inFields, mayBlock, _hidl_cb); in querySupportedValues() 147 sp<CachedConfigurable> mIntf;
|
/hardware/google/av/media/codecs/vpx/ |
D | C2SoftVpxEnc.cpp | 53 mIntf(intfImpl), in C2SoftVpxEnc() 119 IntfImpl::Lock lock = mIntf->lock(); in initEncoder() 120 mSize = mIntf->getSize_l(); in initEncoder() 121 mBitrate = mIntf->getBitrate_l(); in initEncoder() 122 mBitrateMode = mIntf->getBitrateMode_l(); in initEncoder() 123 mFrameRate = mIntf->getFrameRate_l(); in initEncoder() 124 mIntraRefresh = mIntf->getIntraRefresh_l(); in initEncoder() 125 mRequestSync = mIntf->getRequestSync_l(); in initEncoder() 126 mTemporalLayers = mIntf->getTemporalLayers_l()->m.layerCount; in initEncoder() 144 (uint32_t)mBitrateControlMode, mTemporalLayers, mIntf->getSyncFramePeriod(), in initEncoder() [all …]
|
D | C2SoftVpxDec.h | 53 std::shared_ptr<IntfImpl> mIntf; member
|
/hardware/google/av/codec2/hidl/1.0/utils/ |
D | Configurable.cpp | 37 mIntf(std::move(intf)) { in CachedConfigurable() 42 c2_status_t init = mIntf->querySupportedParams(&mSupportedParams); in init() 49 _hidl_cb(mIntf->getName()); in getName() 62 c2_status_t c2res = mIntf->query( in query() 89 c2_status_t c2res = mIntf->config( in config() 150 c2_status_t c2res = mIntf->querySupportedValues( in querySupportedValues()
|
/hardware/google/av/media/codecs/aac/ |
D | C2SoftAacEnc.cpp | 146 mIntf(intfImpl), in C2SoftAacEnc() 236 … mIntf->getSampleRate(), mIntf->getChannelCount(), mIntf->getBitrate(), mSBRMode, mSBRRatio); in setAudioParams() 243 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_SAMPLERATE, mIntf->getSampleRate())) { in setAudioParams() 247 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_BITRATE, mIntf->getBitrate())) { in setAudioParams() 252 getChannelMode(mIntf->getChannelCount()))) { in setAudioParams() 295 uint32_t sampleRate = mIntf->getSampleRate(); in process() 296 uint32_t channelCount = mIntf->getChannelCount(); in process() 309 uint32_t bitrate = mIntf->getBitrate(); in process()
|
D | C2SoftAacDec.cpp | 241 mIntf(intfImpl), in C2SoftAacDec() 322 int32_t targetRefLevel = mIntf->getDrcTargetRefLevel(); in initDecoder() 328 int32_t attenuationFactor = mIntf->getDrcAttenuationFactor(); in initDecoder() 333 int32_t boostFactor = mIntf->getDrcBoostFactor(); in initDecoder() 338 int32_t compressMode = mIntf->getDrcCompressMode(); in initDecoder() 343 int32_t encTargetLevel = mIntf->getDrcEncTargetLevel(); in initDecoder() 348 int32_t effectType = mIntf->getDrcEffectType(); in initDecoder() 588 if (mIntf->isAdts()) { in process() 760 c2_status_t err = mIntf->config( in process()
|
D | C2SoftAacEnc.h | 49 std::shared_ptr<IntfImpl> mIntf;
|
/hardware/google/av/codec2/tests/ |
D | C2ComponentInterface_test.cpp | 53 mIntf = intf; in setComponent() 57 mIntf = nullptr; in resetResults() 174 std::shared_ptr<C2ComponentInterface> mIntf; member in android::C2CompIntfTest 201 return mIntf->query_vb(stackParams, {}, C2_DONT_BLOCK, nullptr); in queryOnStack() 211 return mIntf->query_vb({}, {index}, C2_DONT_BLOCK, heapParams); in queryOnHeap() 266 return mIntf->config_vb(params, C2_DONT_BLOCK, failures); in config() 285 ASSERT_EQ(C2_BAD_VALUE, mIntf->config_vb(params, C2_DONT_BLOCK, &failures)); in configReadOnlyParam() 302 c2_status_t stConfig = mIntf->config_vb(params, C2_DONT_BLOCK, &failures); in configWritableParamValidValue() 321 ASSERT_EQ(C2_BAD_VALUE, mIntf->config_vb(params, C2_DONT_BLOCK, &failures)); in configWritableParamInvalidValue() 589 mIntf->querySupportedValues_vb(validValueInfos, C2_DONT_BLOCK)); \ [all …]
|
/hardware/google/av/media/codecs/flac/ |
D | C2SoftFlacEnc.cpp | 98 mIntf(intfImpl), in C2SoftFlacEnc() 227 uint32_t sampleRate = mIntf->getSampleRate(); in process() 228 uint32_t channelCount = mIntf->getChannelCount(); in process() 338 …ALOGV("%s numChannel=%d, sampleRate=%d", __func__, mIntf->getChannelCount(), mIntf->getSampleRate(… in configureEncoder() 346 ok = ok && FLAC__stream_encoder_set_channels(mFlacStreamEncoder, mIntf->getChannelCount()); in configureEncoder() 347 ok = ok && FLAC__stream_encoder_set_sample_rate(mFlacStreamEncoder, mIntf->getSampleRate()); in configureEncoder()
|
D | C2SoftFlacDec.h | 51 std::shared_ptr<IntfImpl> mIntf; member
|
/hardware/google/av/media/codecs/mpeg4_h263/ |
D | C2SoftMpeg4Dec.cpp | 246 mIntf(intfImpl), in C2SoftMpeg4Dec() 392 mOutputBufferSize = align(mIntf->getMaxWidth(), 16) * align(mIntf->getMaxHeight(), 16) * 3 / 2; in ensureDecoderState() 451 … mDecHandle, vol_data, &vol_size, 1, mIntf->getMaxWidth(), mIntf->getMaxHeight(), H263_MODE)) { in handleResChange() 555 mIntf->getMaxWidth(), mIntf->getMaxHeight(), mode)) { in process() 575 c2_status_t err = mIntf->config({&size}, C2_MAY_BLOCK, &failures); in process() 647 c2_status_t err = mIntf->config({&size}, C2_MAY_BLOCK, &failures); in process()
|
D | C2SoftMpeg4Enc.cpp | 236 mIntf(intfImpl), in C2SoftMpeg4Enc() 359 mEncParams->intraPeriod = mIntf->getSyncFramePeriod(); in initEncParams() 376 IntfImpl::Lock lock = mIntf->lock(); in initEncoder() 377 mSize = mIntf->getSize_l(); in initEncoder() 378 mBitrate = mIntf->getBitrate_l(); in initEncoder() 379 mFrameRate = mIntf->getFrameRate_l(); in initEncoder()
|
D | C2SoftMpeg4Enc.h | 53 std::shared_ptr<IntfImpl> mIntf;
|
D | C2SoftMpeg4Dec.h | 56 std::shared_ptr<IntfImpl> mIntf; member
|
/hardware/google/av/media/codecs/avc/ |
D | C2SoftAvcEnc.cpp | 369 mIntf(intfImpl), in C2SoftAvcEnc() 761 IntfImpl::Lock lock = mIntf->lock(); in setProfileParams() 770 s_profile_params_ip.e_profile = mIntf->getProfile_l(); in setProfileParams() 845 IntfImpl::Lock lock = mIntf->lock(); in initEncoder() 846 mSize = mIntf->getSize_l(); in initEncoder() 847 mBitrate = mIntf->getBitrate_l(); in initEncoder() 848 mFrameRate = mIntf->getFrameRate_l(); in initEncoder() 849 mIntraRefresh = mIntf->getIntraRefresh_l(); in initEncoder() 850 mAVCEncLevel = mIntf->getLevel_l(); in initEncoder() 851 mIInterval = mIntf->getSyncFramePeriod_l(); in initEncoder() [all …]
|
/hardware/google/av/media/codecs/raw/ |
D | C2SoftRawDec.h | 45 std::shared_ptr<IntfImpl> mIntf;
|
/hardware/google/av/media/codecs/gsm/ |
D | C2SoftGsmDec.h | 55 std::shared_ptr<IntfImpl> mIntf;
|
/hardware/google/av/media/codecs/amr_nb_wb/ |
D | C2SoftAmrDec.h | 50 std::shared_ptr<IntfImpl> mIntf; member
|
D | C2SoftAmrNbEnc.h | 47 std::shared_ptr<IntfImpl> mIntf;
|
D | C2SoftAmrWbEnc.h | 47 std::shared_ptr<IntfImpl> mIntf;
|
D | C2SoftAmrNbEnc.cpp | 109 mIntf(intfImpl), in C2SoftAmrNbEnc() 124 switch(mIntf->getBitrate()) { in onInit() 236 mProcessedSamples * 1000000ll / mIntf->getSampleRate(); in process()
|
/hardware/google/av/media/codecs/vorbis/ |
D | C2SoftVorbisDec.h | 53 std::shared_ptr<IntfImpl> mIntf; member
|
/hardware/google/av/media/codecs/g711/ |
D | C2SoftG711Dec.h | 45 std::shared_ptr<IntfImpl> mIntf;
|
/hardware/google/av/media/codecs/opus/ |
D | C2SoftOpusDec.h | 61 std::shared_ptr<IntfImpl> mIntf; member
|
/hardware/google/av/media/codecs/mp3/ |
D | C2SoftMp3Dec.h | 58 std::shared_ptr<IntfImpl> mIntf; member
|