/frameworks/av/media/codec2/hidl/1.0/utils/ |
D | InputSurface.cpp | 73 mIntf(intf), in ConfigurableIntf() 84 return mIntf->query({}, indices, mayBlock, params); in query() 92 c2_status_t err = mIntf->config(params, mayBlock, failures); in config() 93 if (mIntf->eos()) { in config() 107 return mIntf->querySupportedParams(params); in querySupportedParams() 113 return mIntf->querySupportedValues(fields, mayBlock); in querySupportedValues() 117 const std::shared_ptr<InputSurface::Interface> mIntf; member in android::hardware::media::c2::V1_0::utils::InputSurface::ConfigurableIntf 163 mIntf{std::make_shared<Interface>(reflector)}, 166 mIntf, source))} {
|
D | ComponentInterface.cpp | 50 mIntf{intf} { 58 return mIntf->config_vb(params, mayBlock, failures); in config() 66 return mIntf->query_vb({}, indices, mayBlock, params); in query() 72 return mIntf->querySupportedParams_nb(params); in querySupportedParams() 78 return mIntf->querySupportedValues_vb(fields, mayBlock); in querySupportedValues() 82 std::shared_ptr<C2ComponentInterface> mIntf; member
|
D | Configurable.cpp | 38 : mIntf{std::move(intf)} { in CachedConfigurable() 43 c2_status_t init = mIntf->querySupportedParams(&mSupportedParams); in init() 50 return mIntf->getId(); in getId() 54 _hidl_cb(mIntf->getName()); in getName() 67 c2_status_t c2res = mIntf->query( in query() 96 c2_status_t c2res = mIntf->config( in config() 170 c2_status_t c2res = mIntf->querySupportedValues( in querySupportedValues()
|
/frameworks/av/media/codec2/components/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 …]
|
/frameworks/av/media/codec2/components/flac/ |
D | C2SoftFlacEnc.cpp | 121 mIntf(intfImpl), in C2SoftFlacEnc() 248 const uint32_t sampleRate = mIntf->getSampleRate(); in process() 249 const uint32_t channelCount = mIntf->getChannelCount(); in process() 250 const bool inputFloat = mIntf->getPcmEncodingInfo() == C2Config::PCM_FLOAT; in process() 367 …ALOGV("%s numChannel=%d, sampleRate=%d", __func__, mIntf->getChannelCount(), mIntf->getSampleRate(… in configureEncoder() 374 const bool inputFloat = mIntf->getPcmEncodingInfo() == C2Config::PCM_FLOAT; in configureEncoder() 377 ok = ok && FLAC__stream_encoder_set_channels(mFlacStreamEncoder, mIntf->getChannelCount()); in configureEncoder() 378 ok = ok && FLAC__stream_encoder_set_sample_rate(mFlacStreamEncoder, mIntf->getSampleRate()); in configureEncoder() 381 mIntf->getComplexity()); in configureEncoder()
|
D | C2SoftFlacDec.h | 51 std::shared_ptr<IntfImpl> mIntf; member
|
D | C2SoftFlacDec.cpp | 111 mIntf(intfImpl), in C2SoftFlacDec() 252 mIntf->config({&sampleRateInfo, &channelCountInfo}, in process() 273 const bool outputFloat = mIntf->getPcmEncodingInfo() == C2Config::PCM_FLOAT; in process()
|
/frameworks/av/media/codec2/components/aac/ |
D | C2SoftAacEnc.cpp | 153 mIntf(intfImpl), in C2SoftAacEnc() 243 uint32_t sbrMode = mIntf->getSBRMode(); in setAudioParams() 248 mIntf->getSampleRate(), mIntf->getChannelCount(), mIntf->getBitrate(), in setAudioParams() 251 uint32_t aacProfile = mIntf->getProfile(); in setAudioParams() 257 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_SAMPLERATE, mIntf->getSampleRate())) { in setAudioParams() 261 if (AACENC_OK != aacEncoder_SetParam(mAACEncoder, AACENC_BITRATE, mIntf->getBitrate())) { in setAudioParams() 266 getChannelMode(mIntf->getChannelCount()))) { in setAudioParams() 309 uint32_t sampleRate = mIntf->getSampleRate(); in process() 310 uint32_t channelCount = mIntf->getChannelCount(); in process() 323 uint32_t bitrate = mIntf->getBitrate(); in process()
|
D | C2SoftAacDec.cpp | 228 mIntf(intfImpl), in C2SoftAacDec() 309 int32_t targetRefLevel = mIntf->getDrcTargetRefLevel(); in initDecoder() 315 int32_t attenuationFactor = mIntf->getDrcAttenuationFactor(); in initDecoder() 320 int32_t boostFactor = mIntf->getDrcBoostFactor(); in initDecoder() 325 int32_t compressMode = mIntf->getDrcCompressMode(); in initDecoder() 330 int32_t encTargetLevel = mIntf->getDrcEncTargetLevel(); in initDecoder() 335 int32_t effectType = mIntf->getDrcEffectType(); in initDecoder() 575 if (mIntf->isAdts()) { in process() 747 c2_status_t err = mIntf->config( in process()
|
D | C2SoftAacEnc.h | 50 std::shared_ptr<IntfImpl> mIntf;
|
/frameworks/av/media/codec2/components/hevc/ |
D | C2SoftHevcEnc.cpp | 439 mIntf(intfImpl), in C2SoftHevcEnc() 619 IntfImpl::Lock lock = mIntf->lock(); in initEncoder() 620 mSize = mIntf->getSize_l(); in initEncoder() 621 mBitrateMode = mIntf->getBitrateMode_l(); in initEncoder() 622 mBitrate = mIntf->getBitrate_l(); in initEncoder() 623 mFrameRate = mIntf->getFrameRate_l(); in initEncoder() 624 mHevcEncProfile = mIntf->getProfile_l(); in initEncoder() 625 mHevcEncLevel = mIntf->getLevel_l(); in initEncoder() 626 mIDRInterval = mIntf->getSyncFramePeriod_l(); in initEncoder() 627 mIInterval = mIntf->getSyncFramePeriod_l(); in initEncoder() [all …]
|
/frameworks/av/media/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 …]
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Dec.cpp | 250 mIntf(intfImpl), in C2SoftMpeg4Dec() 396 mOutputBufferSize = align(mIntf->getMaxWidth(), 16) * align(mIntf->getMaxHeight(), 16) * 3 / 2; in ensureDecoderState() 455 … mDecHandle, vol_data, &vol_size, 1, mIntf->getMaxWidth(), mIntf->getMaxHeight(), H263_MODE)) { in handleResChange() 561 mIntf->getMaxWidth(), mIntf->getMaxHeight(), mode)) { in process() 581 c2_status_t err = mIntf->config({&size}, C2_MAY_BLOCK, &failures); in process() 653 c2_status_t err = mIntf->config({&size}, C2_MAY_BLOCK, &failures); in process()
|
D | C2SoftMpeg4Enc.cpp | 226 mIntf(intfImpl), in C2SoftMpeg4Enc() 349 mEncParams->intraPeriod = mIntf->getSyncFramePeriod(); in initEncParams() 366 IntfImpl::Lock lock = mIntf->lock(); in initEncoder() 367 mSize = mIntf->getSize_l(); in initEncoder() 368 mBitrate = mIntf->getBitrate_l(); in initEncoder() 369 mFrameRate = mIntf->getFrameRate_l(); in initEncoder()
|
/frameworks/av/media/codec2/components/avc/ |
D | C2SoftAvcEnc.cpp | 434 mIntf(intfImpl), in C2SoftAvcEnc() 831 IntfImpl::Lock lock = mIntf->lock(); in setProfileParams() 840 s_profile_params_ip.e_profile = mIntf->getProfile_l(); in setProfileParams() 920 IntfImpl::Lock lock = mIntf->lock(); in initEncoder() 921 mSize = mIntf->getSize_l(); in initEncoder() 922 mBitrate = mIntf->getBitrate_l(); in initEncoder() 923 mFrameRate = mIntf->getFrameRate_l(); in initEncoder() 924 mIntraRefresh = mIntf->getIntraRefresh_l(); in initEncoder() 925 mAVCEncLevel = mIntf->getLevel_l(); in initEncoder() 926 mIInterval = mIntf->getSyncFramePeriod_l(); in initEncoder() [all …]
|
/frameworks/av/media/codec2/components/opus/ |
D | C2SoftOpusEnc.cpp | 117 mIntf(intfImpl), in C2SoftOpusEnc() 135 mSampleRate = mIntf->getSampleRate(); in configureEncoder() 136 mChannelCount = mIntf->getChannelCount(); in configureEncoder() 137 uint32_t bitrate = mIntf->getBitrate(); in configureEncoder() 138 int complexity = mIntf->getComplexity(); in configureEncoder()
|
D | C2SoftOpusDec.h | 51 std::shared_ptr<IntfImpl> mIntf; member
|
/frameworks/av/media/codec2/components/raw/ |
D | C2SoftRawDec.h | 45 std::shared_ptr<IntfImpl> mIntf;
|
/frameworks/av/media/codec2/components/g711/ |
D | C2SoftG711Dec.h | 45 std::shared_ptr<IntfImpl> mIntf;
|
/frameworks/av/media/codec2/components/amr_nb_wb/ |
D | C2SoftAmrNbEnc.cpp | 102 mIntf(intfImpl), in C2SoftAmrNbEnc() 117 switch(mIntf->getBitrate()) { in onInit() 229 mProcessedSamples * 1000000ll / mIntf->getSampleRate(); in process()
|
D | C2SoftAmrDec.h | 50 std::shared_ptr<IntfImpl> mIntf; member
|
D | C2SoftAmrNbEnc.h | 47 std::shared_ptr<IntfImpl> mIntf;
|
/frameworks/av/media/codec2/components/gsm/ |
D | C2SoftGsmDec.h | 52 std::shared_ptr<IntfImpl> mIntf;
|
/frameworks/av/media/codec2/components/vorbis/ |
D | C2SoftVorbisDec.h | 53 std::shared_ptr<IntfImpl> mIntf; member
|
/frameworks/av/media/codec2/components/mp3/ |
D | C2SoftMp3Dec.h | 58 std::shared_ptr<IntfImpl> mIntf; member
|