/frameworks/av/media/codec2/sfplugin/tests/ |
D | CCodecConfig_test.cpp | 321 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/ |
D | C2SoftAacDec.cpp | 583 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/ |
D | MultiAccessUnitHelper.cpp | 312 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/ |
D | C2NodeImpl.cpp | 76 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> ¶m : 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
|
D | CCodecConfig.h | 239 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,
|
D | CCodecConfig.cpp | 1278 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 …]
|
D | CCodec.cpp | 1441 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> ¶m : configUpdate) { in signalSetParameters() 2645 mChannel->setParameters(configUpdate); in signalSetParameters() 2648 (void)config->setParameters(comp, configUpdate, C2_MAY_BLOCK); in signalSetParameters() [all …]
|
D | CCodecBufferChannel.cpp | 370 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> ¶m : 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/ |
D | BufferTypes.h | 413 if (!_createParamsBlob(&d->configUpdate, s.configUpdate)) { in objcpy() 752 if (!parseParamsBlob(¶ms, 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/ |
D | C2Work.h | 188 std::vector<std::unique_ptr<C2Param>> configUpdate; member
|
/frameworks/av/media/codec2/components/flac/ |
D | C2SoftFlacDec.cpp | 182 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()
|
D | C2SoftFlacEnc.cpp | 255 work->worklets.front()->output.configUpdate.push_back(std::move(csd)); in process()
|
/frameworks/av/media/codec2/components/opus/ |
D | C2SoftOpusDec.cpp | 214 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/ |
D | C2SoftVorbisDec.cpp | 230 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/ |
D | C2SoftVpxDec.cpp | 552 for (const std::unique_ptr<C2Param> ¶m: 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/ |
D | C2SoftMp3Dec.cpp | 343 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/ |
D | C2SoftAomDec.cpp | 395 for (const std::unique_ptr<C2Param> ¶m: 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/ |
D | media_c2_hidl_test_common.cpp | 137 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/ |
D | C2SoftMpeg4Dec.cpp | 430 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/ |
D | C2SoftDav1dDec.cpp | 625 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/ |
D | SampleFilterPlugin.cpp | 662 std::vector<C2Param *> configUpdate; in processLoop() local 663 for (const std::unique_ptr<C2Param> ¶m : 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/ |
D | C2SoftGav1Dec.cpp | 575 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/ |
D | C2SoftMpeg2Dec.cpp | 886 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/ |
D | C2SoftHevcDec.cpp | 810 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/ |
D | C2SoftXaacDec.cpp | 395 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()
|