Home
last modified time | relevance | path

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

12

/hardware/google/av/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
DConfigurable.h87 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/
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 …]
DC2SoftVpxDec.h53 std::shared_ptr<IntfImpl> mIntf; member
/hardware/google/av/codec2/hidl/1.0/utils/
DConfigurable.cpp37 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/
DC2SoftAacEnc.cpp146 mIntf(intfImpl), in C2SoftAacEnc()
236mIntf->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()
DC2SoftAacDec.cpp241 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()
DC2SoftAacEnc.h49 std::shared_ptr<IntfImpl> mIntf;
/hardware/google/av/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 …]
/hardware/google/av/media/codecs/flac/
DC2SoftFlacEnc.cpp98 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()
DC2SoftFlacDec.h51 std::shared_ptr<IntfImpl> mIntf; member
/hardware/google/av/media/codecs/mpeg4_h263/
DC2SoftMpeg4Dec.cpp246 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()
DC2SoftMpeg4Enc.cpp236 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()
DC2SoftMpeg4Enc.h53 std::shared_ptr<IntfImpl> mIntf;
DC2SoftMpeg4Dec.h56 std::shared_ptr<IntfImpl> mIntf; member
/hardware/google/av/media/codecs/avc/
DC2SoftAvcEnc.cpp369 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/
DC2SoftRawDec.h45 std::shared_ptr<IntfImpl> mIntf;
/hardware/google/av/media/codecs/gsm/
DC2SoftGsmDec.h55 std::shared_ptr<IntfImpl> mIntf;
/hardware/google/av/media/codecs/amr_nb_wb/
DC2SoftAmrDec.h50 std::shared_ptr<IntfImpl> mIntf; member
DC2SoftAmrNbEnc.h47 std::shared_ptr<IntfImpl> mIntf;
DC2SoftAmrWbEnc.h47 std::shared_ptr<IntfImpl> mIntf;
DC2SoftAmrNbEnc.cpp109 mIntf(intfImpl), in C2SoftAmrNbEnc()
124 switch(mIntf->getBitrate()) { in onInit()
236 mProcessedSamples * 1000000ll / mIntf->getSampleRate(); in process()
/hardware/google/av/media/codecs/vorbis/
DC2SoftVorbisDec.h53 std::shared_ptr<IntfImpl> mIntf; member
/hardware/google/av/media/codecs/g711/
DC2SoftG711Dec.h45 std::shared_ptr<IntfImpl> mIntf;
/hardware/google/av/media/codecs/opus/
DC2SoftOpusDec.h61 std::shared_ptr<IntfImpl> mIntf; member
/hardware/google/av/media/codecs/mp3/
DC2SoftMp3Dec.h58 std::shared_ptr<IntfImpl> mIntf; member

12