Home
last modified time | relevance | path

Searched refs:C2_MAY_BLOCK (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/av/media/codec2/hal/hidl/1.0/utils/
DConfigurable.cpp70 mayBlock ? C2_MAY_BLOCK : C2_DONT_BLOCK, in query()
99 mayBlock ? C2_MAY_BLOCK : C2_DONT_BLOCK, in config()
173 mayBlock ? C2_MAY_BLOCK : C2_DONT_BLOCK); in querySupportedValues()
DInputSurfaceConnection.cpp131 C2_MAY_BLOCK, in init()
337 mayBlock == C2_MAY_BLOCK, in queryFromSink()
DComponentInterface.cpp84 {&kind, &maxInputSize}, {}, C2_MAY_BLOCK, nullptr); in config()
/frameworks/av/media/codec2/hal/aidl/
DConfigurable.cpp73 mayBlock ? C2_MAY_BLOCK : C2_DONT_BLOCK, in query()
97 mayBlock ? C2_MAY_BLOCK : C2_DONT_BLOCK, in config()
170 mayBlock ? C2_MAY_BLOCK : C2_DONT_BLOCK); in querySupportedValues()
DComponentInterface.cpp85 {&kind, &maxInputSize}, {}, C2_MAY_BLOCK, nullptr); in config()
/frameworks/av/media/codec2/hal/services/
Dvendor.cpp96 return mInterface.query(stackParams, heapParamIndices, C2_MAY_BLOCK, heapParams); in query_sm()
102 return mInterface.config(params, C2_MAY_BLOCK, failures); in config_sm()
116 return mInterface.querySupportedValues(fields, C2_MAY_BLOCK); in querySupportedValues_sm()
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecConfig_test.cpp323 mConfigurable, format, D::ALL, C2_MAY_BLOCK, &configUpdate)); in TEST_F()
388 ASSERT_EQ(OK, mConfig.subscribeToAllVendorParams(mConfigurable, C2_MAY_BLOCK)); in TEST_F()
436 mConfigurable, format, D::ALL, C2_MAY_BLOCK, &configUpdate)); in TEST_F()
437 ASSERT_EQ(OK, mConfig.setParameters(mConfigurable, configUpdate, C2_MAY_BLOCK)); in TEST_F()
482 mConfigurable, format, D::ALL, C2_MAY_BLOCK, &configUpdate)); in TEST_F()
543 mConfigurable, format, D::ALL, C2_MAY_BLOCK, &configUpdate)); in TEST_F()
589 mConfigurable, format, D::ALL, C2_MAY_BLOCK, &configUpdate)); in TEST_F()
590 ASSERT_EQ(OK, mConfig.setParameters(mConfigurable, configUpdate, C2_MAY_BLOCK)); in TEST_F()
633 mConfigurable, format, D::ALL, C2_MAY_BLOCK, &configUpdate)); in TEST_P()
688 C2_MAY_BLOCK, &configUpdate)); in TEST_F()
/frameworks/av/media/codec2/hal/plugin/
DFilterWrapper.cpp83 mFilters.back().intf->query_vb({}, indices, C2_MAY_BLOCK, &lastFilterParams); in takeFilters()
99 transferParams_l(mIntf, mFilters[0].intf, C2_MAY_BLOCK); in takeFilters()
101 transferParams_l(mFilters[i - 1].intf, mFilters[i].intf, C2_MAY_BLOCK); in takeFilters()
113 backPropagateParams_l(mIntf, mFilters[0].intf, C2_MAY_BLOCK); in takeFilters()
115 backPropagateParams_l(mFilters[i - 2].intf, mFilters[i - 1].intf, C2_MAY_BLOCK); in takeFilters()
134 mFilters.back().intf->config_vb(paramPtrs, C2_MAY_BLOCK, &failures); in takeFilters()
565 setListenerInternal(filters, mListener, C2_MAY_BLOCK); in start()
877 c2_status_t err = intf->query_vb({&domain, &kind}, {}, C2_MAY_BLOCK, nullptr); in getTraits()
/frameworks/av/media/codec2/components/tests/
DC2SoftCodecTest.cpp80 status = interface->querySupportedValues_vb(validValueInfos, C2_MAY_BLOCK); in TEST_F()
/frameworks/av/media/codec2/hal/plugin/samples/
DSampleFilterPlugin.cpp121 c2_status_t err = intf->query_vb({&info}, {}, C2_MAY_BLOCK, &heapParams); in IsFilteringEnabled()
667 mIntf->config_vb(configUpdate, C2_MAY_BLOCK, &failures); in processLoop()
886 return mIntf.query(stackParams, heapParamIndices, C2_MAY_BLOCK, heapParams); in query_sm()
891 return mIntf.config(params, C2_MAY_BLOCK, failures); in config_sm()
902 return mIntf.querySupportedValues(fields, C2_MAY_BLOCK); in querySupportedValues_sm()
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp192 c2_status_t err = mSurface->config({&eos}, C2_MAY_BLOCK, &failures); in signalEndOfInputStream()
702 return mClient->config(params, C2_MAY_BLOCK, failures); in config_sm()
727 return mClient->query(stackParams, heapParamIndices, C2_MAY_BLOCK, heapParams); in query_sm()
737 return mClient->querySupportedValues(fields, C2_MAY_BLOCK); in querySupportedValues_sm()
1287 C2_MAY_BLOCK, in configure()
1419 if (config->subscribeToAllVendorParams(comp, C2_MAY_BLOCK) != OK) { in configure()
2629 comp, params, Config::IS_PARAM, C2_MAY_BLOCK, &configUpdate); in signalSetParameters()
2643 (void)config->setParameters(comp, localConfigUpdate, C2_MAY_BLOCK); in signalSetParameters()
2648 (void)config->setParameters(comp, configUpdate, C2_MAY_BLOCK); in signalSetParameters()
2673 config->setParameters(comp, params, C2_MAY_BLOCK); in signalRequestIDRFrame()
[all …]
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.cpp562 { outParam.get() }, C2_MAY_BLOCK, &failures); in finishWork()
616 c2_status_t err = mIntf->config({&colorAspect}, C2_MAY_BLOCK, &failures); in process()
718 c2_status_t err = mIntf->config({&size}, C2_MAY_BLOCK, &failures); in outputBuffer()
758 c2_status_t err = mIntf->config({&pixelFormat }, C2_MAY_BLOCK, &failures); in outputBuffer()
/frameworks/av/media/codec2/hal/client/
Dclient.cpp148 return mClient->config(params, C2_MAY_BLOCK, failures); in config_sm()
173 return mClient->query(stackParams, heapParamIndices, C2_MAY_BLOCK, heapParams); in query_sm()
183 return mClient->querySupportedValues(fields, C2_MAY_BLOCK); in querySupportedValues_sm()
376 mayBlock == C2_MAY_BLOCK, in query()
458 mayBlock == C2_MAY_BLOCK, in config()
537 mayBlock == C2_MAY_BLOCK, in querySupportedValues()
639 ndk::ScopedAStatus transStatus = mBase->query(indices, (mayBlock == C2_MAY_BLOCK), &result); in query()
719 ndk::ScopedAStatus transStatus = mBase->config(aidlParams, (mayBlock == C2_MAY_BLOCK), &result); in config()
778 inFields, (mayBlock == C2_MAY_BLOCK), &result); in querySupportedValues()
2449 c2_status_t err = config({&outputUsage}, C2_MAY_BLOCK, &failures); in setOutputSurface()
/frameworks/av/media/codec2/hal/common/
DMultiAccessUnitHelper.cpp79 c2_status_t err = mC2ComponentIntf->query_vb({&mKind}, {}, C2_MAY_BLOCK, nullptr); in MultiAccessUnitInterface()
107 {&sampleRate, &channelCount}, {}, C2_MAY_BLOCK, nullptr); in getDecoderSampleRateAndChannelCount()
122 c2_status_t err = mC2ComponentIntf->query_vb({maxInputSize}, {}, C2_MAY_BLOCK, nullptr); in getMaxInputSize()
212 if (C2_OK != mInterface->config(config, C2_MAY_BLOCK, &failures)) { in tryReconfigure()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp505 c2_status_t err = mIntf->config({&size}, C2_MAY_BLOCK, &failures); in process()
578 c2_status_t err = mIntf->config({&size}, C2_MAY_BLOCK, &failures); in process()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacDec.cpp860 C2_MAY_BLOCK, in process()
885 C2_MAY_BLOCK, in process()
958 mIntf->config({&outputPortDelay}, C2_MAY_BLOCK, &failures); in process()
/frameworks/av/media/codec2/fuzzer/
DC2Fuzzer.cpp191 status = mInterface->query_vb({&kind, &domain}, {}, C2_MAY_BLOCK, nullptr); in initDecoder()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp405 { outParam.get() }, C2_MAY_BLOCK, &failures); in finishWork()
522 c2_status_t err = mIntf->config({&size}, C2_MAY_BLOCK, &failures); in outputBuffer()
/frameworks/av/media/codec2/vndk/
DC2Store.cpp1238 return mInterface.query(stackParams, heapParamIndices, C2_MAY_BLOCK, heapParams); in query_sm()
1244 return mInterface.config(params, C2_MAY_BLOCK, failures); in config_sm()
1321 return mInterface.querySupportedValues(fields, C2_MAY_BLOCK); in querySupportedValues_sm()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp691 (void)mIntf->config({&codedAspects}, C2_MAY_BLOCK, &failures); in getSeqInfo()
959 mIntf->config({&size}, C2_MAY_BLOCK, &failures); in process()
998 mIntf->config({&size}, C2_MAY_BLOCK, &failures); in process()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp622 (void)mIntf->config({&codedAspects}, C2_MAY_BLOCK, &failures); in getVuiParams()
912 mIntf->config({&outputDelay}, C2_MAY_BLOCK, &failures); in process()
938 mIntf->config({&size}, C2_MAY_BLOCK, &failures); in process()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp628 (void)mIntf->config({&codedAspects}, C2_MAY_BLOCK, &failures); in getVuiParams()
921 mIntf->config({&outputDelay}, C2_MAY_BLOCK, &failures); in process()
946 c2_status_t err = mIntf->config({&size}, C2_MAY_BLOCK, &failures); in process()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacDec.cpp258 C2_MAY_BLOCK, &failures); in process()
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusDec.cpp346 C2_MAY_BLOCK, in process()
/frameworks/av/media/codec2/vndk/util/
DC2InterfaceUtils.cpp1320 c2_status_t res = intf->query_vb({ &kind, &domain }, {}, C2_MAY_BLOCK, nullptr); in FillTraitsFromInterface()
1339 res = intf->query_vb({}, { mediaTypeIndex }, C2_MAY_BLOCK, &params); in FillTraitsFromInterface()
1370 res = intf->query_vb({}, { C2ComponentAliasesSetting::PARAM_TYPE }, C2_MAY_BLOCK, &params); in FillTraitsFromInterface()

12