Home
last modified time | relevance | path

Searched refs:configUpdate (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/av/media/codec2/sfplugin/tests/
DCCodecConfig_test.cpp321 std::vector<std::unique_ptr<C2Param>> configUpdate; in TEST_F() local
323 mConfigurable, format, D::ALL, C2_MAY_BLOCK, &configUpdate)); in TEST_F()
325 ASSERT_EQ(3u, configUpdate.size()); in TEST_F()
327 FindParam<std::remove_pointer<decltype(i32)>::type>(configUpdate); in TEST_F()
332 FindParam<std::remove_pointer<decltype(i64)>::type>(configUpdate); in TEST_F()
337 FindParam<std::remove_pointer<decltype(str)>::type>(configUpdate); in TEST_F()
349 std::vector<std::unique_ptr<C2Param>> configUpdate; in TEST_F() local
354 configUpdate.push_back(C2Param::Copy(i32)); in TEST_F()
355 configUpdate.push_back(C2Param::Copy(i64)); in TEST_F()
356 configUpdate.push_back(std::move(str)); in TEST_F()
[all …]
/frameworks/av/media/codec2/components/aac/
DC2SoftAacDec.cpp583 work->worklets.front()->output.configUpdate.clear(); in process()
866 output.configUpdate.push_back(C2Param::Copy(sampleRateInfo)); in process()
867 output.configUpdate.push_back(C2Param::Copy(channelCountInfo)); in process()
868 output.configUpdate.push_back(C2Param::Copy(channelMaskInfo)); in process()
888 work->worklets.front()->output.configUpdate.push_back( in process()
902 work->worklets.front()->output.configUpdate.push_back( in process()
907 work->worklets.front()->output.configUpdate.push_back( in process()
915 work->worklets.front()->output.configUpdate.push_back( in process()
921 work->worklets.front()->output.configUpdate.push_back( in process()
926 work->worklets.front()->output.configUpdate.push_back( in process()
[all …]
/frameworks/av/media/codec2/hal/common/
DMultiAccessUnitHelper.cpp312 if (!inWork->input.configUpdate.empty()) { in scatter()
313 for (std::unique_ptr<C2Param>& param : inWork->input.configUpdate) { in scatter()
319 newWork->input.configUpdate.push_back(std::move(param)); in scatter()
322 inWork->input.configUpdate.clear(); in scatter()
622 if (!(*worklet)->output.configUpdate.empty()) { in processWorklets()
623 for (auto& configUpdate : (*worklet)->output.configUpdate) { in processWorklets()
624 outputFramedata.configUpdate.push_back(std::move(configUpdate)); in processWorklets()
626 (*worklet)->output.configUpdate.clear(); in processWorklets()
808 outFrameData.configUpdate.insert( in finalizeWork()
809 outFrameData.configUpdate.end(), in finalizeWork()
/frameworks/av/media/codec2/sfplugin/
DC2NodeImpl.cpp76 jobs->configUpdate.emplace_back(new C2StreamDataSpaceInfo::input(0u, dataspace)); in setDataspace()
86 jobs->configUpdate.push_back(std::move(colorAspects)); in setDataspace()
125 for (const std::unique_ptr<C2Param> &param : jobs->configUpdate) { in threadLoop()
126 items.front()->input.configUpdate.emplace_back(C2Param::Copy(*param)); in threadLoop()
145 jobs->configUpdate.clear(); in threadLoop()
188 std::vector<std::unique_ptr<C2Param>> configUpdate; member
DCCodecConfig.h239 std::vector<std::unique_ptr<C2Param>> &configUpdate, Domain domain);
256 std::vector<std::unique_ptr<C2Param>> *configUpdate) const;
266 std::vector<std::unique_ptr<C2Param>> &configUpdate,
DCCodecConfig.cpp1278 std::vector<std::unique_ptr<C2Param>> &configUpdate, Domain domain) { in updateConfiguration() argument
1279 ALOGV("updating configuration with %zu params", configUpdate.size()); in updateConfiguration()
1281 for (std::unique_ptr<C2Param> &p : configUpdate) { in updateConfiguration()
1981 std::vector<std::unique_ptr<C2Param>> *configUpdate) const { in getConfigUpdateFromSdkParams()
2052 configUpdate->clear(); in getConfigUpdateFromSdkParams()
2061 configUpdate->emplace_back(C2Param::Copy(*it->second)); in getConfigUpdateFromSdkParams()
2066 c2_status_t err = configurable->query({ }, supportedIndices, blocking, configUpdate); in getConfigUpdateFromSdkParams()
2068 ALOGD("query failed after returning %zu params => %s", configUpdate->size(), asString(err)); in getConfigUpdateFromSdkParams()
2071 if (configUpdate->size()) { in getConfigUpdateFromSdkParams()
2072 mParamUpdater->updateParamsFromMessage(params, configUpdate); in getConfigUpdateFromSdkParams()
[all …]
DCCodec.cpp1441 std::vector<std::unique_ptr<C2Param>> configUpdate; in configure() local
1451 comp, sdkParams, Config::IS_CONFIG, C2_DONT_BLOCK, &configUpdate); in configure()
1468 configUpdate.push_back(std::move(gop)); in configure()
1507 configUpdate.push_back(std::move(qp)); in configure()
1520 err = config->setParameters(comp, configUpdate, C2_DONT_BLOCK); in configure()
2627 std::vector<std::unique_ptr<C2Param>> configUpdate; in signalSetParameters() local
2629 comp, params, Config::IS_PARAM, C2_MAY_BLOCK, &configUpdate); in signalSetParameters()
2637 for (const std::unique_ptr<C2Param> &param : configUpdate) { in signalSetParameters()
2645 mChannel->setParameters(configUpdate); in signalSetParameters()
2648 (void)config->setParameters(comp, configUpdate, C2_MAY_BLOCK); in signalSetParameters()
[all …]
DCCodecBufferChannel.cpp370 items.front()->input.configUpdate = std::move(mParamsToBeSet); in queueInputBufferInternal()
387 work->input.configUpdate = std::move(mParamsToBeSet); in queueInputBufferInternal()
393 work->input.configUpdate.push_back(C2Param::Copy(tunnelHoldRender)); in queueInputBufferInternal()
2159 for (const std::unique_ptr<C2Param> &param : work->input.configUpdate) { in flush()
2160 copy->input.configUpdate.push_back(C2Param::Copy(*param)); in flush()
2290 while (!worklet->output.configUpdate.empty()) { in handleWork()
2292 worklet->output.configUpdate.back().swap(param); in handleWork()
2293 worklet->output.configUpdate.pop_back(); in handleWork()
/frameworks/av/media/codec2/hal/common/include/codec2/common/
DBufferTypes.h413 if (!_createParamsBlob(&d->configUpdate, s.configUpdate)) { in objcpy()
752 if (!parseParamsBlob(&params, s.configUpdate)) { in objcpy()
756 d->configUpdate.clear(); in objcpy()
758 d->configUpdate.emplace_back(C2Param::Copy(*param)); in objcpy()
759 if (!d->configUpdate.back()) { in objcpy()
/frameworks/av/media/codec2/core/include/
DC2Work.h188 std::vector<std::unique_ptr<C2Param>> configUpdate; member
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacDec.cpp182 work->worklets.front()->output.configUpdate.clear(); in process()
260 work->worklets.front()->output.configUpdate.push_back( in process()
262 work->worklets.front()->output.configUpdate.push_back( in process()
DC2SoftFlacEnc.cpp255 work->worklets.front()->output.configUpdate.push_back(std::move(csd)); in process()
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusDec.cpp214 work->worklets.front()->output.configUpdate.clear(); in process()
349 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(sampleRateInfo)); in process()
350 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(channelCountInfo)); in process()
/frameworks/av/media/codec2/components/vorbis/
DC2SoftVorbisDec.cpp230 work->worklets.front()->output.configUpdate.clear(); in process()
305 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(sampleRateInfo)); in process()
306 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(channelCountInfo)); in process()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.cpp552 for (const std::unique_ptr<C2Param> &param: work->input.configUpdate) { in finishWork()
564 work->worklets.front()->output.configUpdate.push_back( in finishWork()
587 work->worklets.front()->output.configUpdate.clear(); in process()
618 work->worklets.front()->output.configUpdate.push_back( in process()
720 work->worklets.front()->output.configUpdate.push_back( in outputBuffer()
760 work->worklets.front()->output.configUpdate.push_back( in outputBuffer()
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp343 work->worklets.front()->output.configUpdate.clear(); in process()
453 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(sampleRateInfo)); in process()
454 … work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(channelCountInfo)); in process()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp395 for (const std::unique_ptr<C2Param> &param: work->input.configUpdate) { in finishWork()
407 work->worklets.front()->output.configUpdate.push_back( in finishWork()
428 work->worklets.front()->output.configUpdate.clear(); in process()
524 work->worklets.front()->output.configUpdate.push_back( in outputBuffer()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.cpp137 if (work->worklets.front()->output.configUpdate.size() != 0) { in workDone()
140 std::move(work->worklets.front()->output.configUpdate); in workDone()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Dec.cpp430 work->worklets.front()->output.configUpdate.clear(); in process()
507 work->worklets.front()->output.configUpdate.push_back( in process()
580 work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(size)); in process()
/frameworks/av/media/codec2/components/dav1d/
DC2SoftDav1dDec.cpp625 work->worklets.front()->output.configUpdate.clear(); in process()
680 work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(size)); in process()
837 work->worklets.front()->output.configUpdate.push_back( in getHDRStaticParams()
876 work->worklets.front()->output.configUpdate.push_back(std::move(mHdr10PlusInfo)); in getHDR10PlusInfoData()
991 work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(pixelFormat)); in outputBuffer()
/frameworks/av/media/codec2/hal/plugin/samples/
DSampleFilterPlugin.cpp662 std::vector<C2Param *> configUpdate; in processLoop() local
663 for (const std::unique_ptr<C2Param> &param : work->input.configUpdate) { in processLoop()
664 configUpdate.push_back(param.get()); in processLoop()
667 mIntf->config_vb(configUpdate, C2_MAY_BLOCK, &failures); in processLoop()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp575 work->worklets.front()->output.configUpdate.clear(); in process()
677 work->worklets.front()->output.configUpdate.push_back(C2Param::Copy(mHdrStaticMetadataInfo)); in getHDRStaticParams()
708 work->worklets.front()->output.configUpdate.push_back(std::move(mHdr10PlusInfo)); in getHDR10PlusInfoData()
817 work->worklets.front()->output.configUpdate.push_back( in outputBuffer()
890 work->worklets.front()->output.configUpdate.push_back( in outputBuffer()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp886 work->worklets.front()->output.configUpdate.clear(); in process()
961 work->worklets.front()->output.configUpdate.push_back( in process()
1000 work->worklets.front()->output.configUpdate.push_back( in process()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp810 work->worklets.front()->output.configUpdate.clear(); in process()
914 work->worklets.front()->output.configUpdate.push_back( in process()
940 work->worklets.front()->output.configUpdate.push_back( in process()
/frameworks/av/media/codec2/components/xaac/
DC2SoftXaacDec.cpp395 work->worklets.front()->output.configUpdate.clear(); in process()
539 work->worklets.front()->output.configUpdate.push_back( in process()
541 work->worklets.front()->output.configUpdate.push_back( in process()

12