Home
last modified time | relevance | path

Searched refs:mIntf (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/av/media/codec2/hidl/1.0/utils/
DInputSurface.cpp73 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))} {
DComponentInterface.cpp50 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
DConfigurable.cpp38 : 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/
DC2SoftVpxEnc.cpp53 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/
DC2SoftFlacEnc.cpp121 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()
DC2SoftFlacDec.h51 std::shared_ptr<IntfImpl> mIntf; member
DC2SoftFlacDec.cpp111 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/
DC2SoftAacEnc.cpp153 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()
DC2SoftAacDec.cpp228 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()
DC2SoftAacEnc.h50 std::shared_ptr<IntfImpl> mIntf;
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp439 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/
DC2ComponentInterface_test.cpp53 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/
DC2SoftMpeg4Dec.cpp250 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()
DC2SoftMpeg4Enc.cpp226 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/
DC2SoftAvcEnc.cpp434 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/
DC2SoftOpusEnc.cpp117 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()
DC2SoftOpusDec.h51 std::shared_ptr<IntfImpl> mIntf; member
/frameworks/av/media/codec2/components/raw/
DC2SoftRawDec.h45 std::shared_ptr<IntfImpl> mIntf;
/frameworks/av/media/codec2/components/g711/
DC2SoftG711Dec.h45 std::shared_ptr<IntfImpl> mIntf;
/frameworks/av/media/codec2/components/amr_nb_wb/
DC2SoftAmrNbEnc.cpp102 mIntf(intfImpl), in C2SoftAmrNbEnc()
117 switch(mIntf->getBitrate()) { in onInit()
229 mProcessedSamples * 1000000ll / mIntf->getSampleRate(); in process()
DC2SoftAmrDec.h50 std::shared_ptr<IntfImpl> mIntf; member
DC2SoftAmrNbEnc.h47 std::shared_ptr<IntfImpl> mIntf;
/frameworks/av/media/codec2/components/gsm/
DC2SoftGsmDec.h52 std::shared_ptr<IntfImpl> mIntf;
/frameworks/av/media/codec2/components/vorbis/
DC2SoftVorbisDec.h53 std::shared_ptr<IntfImpl> mIntf; member
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.h58 std::shared_ptr<IntfImpl> mIntf; member

123