Home
last modified time | relevance | path

Searched refs:default_ (Results 1 – 3 of 3) sorted by relevance

/hardware/google/av/codec2/vndk/include/util/
DC2InterfaceHelper.h355 void setDefaultValue(std::shared_ptr<C2Param> default_);
482 inline ParamBuilder &withDefault(std::shared_ptr<T> default_) {
486 *mTypedParam = std::shared_ptr<T>(T::From(C2Param::Copy(*default_).release()));
487 setDefaultValue(default_);
496 inline ParamBuilder &withDefault(T *default_) {
497 return withDefault(std::shared_ptr<T>(default_));
511 inline ParamBuilder &withConstValue(std::shared_ptr<T> default_) {
513 setSetter([default_](
520 if (*typedValue != *default_) {
526 return withDefault(default_);
[all …]
/hardware/google/av/media/sfplugin/
DCCodecConfig.h192 std::unique_ptr<T> default_,
199 c2_status_t err = validator_(default_);
205 mCurrentConfig[T::PARAM_TYPE] = std::move(default_);
213 T *default_, const std::string &name,
217 return addLocalParam(std::unique_ptr<T>(default_), name, attrib, validator_);
/hardware/google/av/codec2/vndk/util/
DC2InterfaceHelper.cpp165 void setDefaultValue(std::shared_ptr<C2Param> default_) { in setDefaultValue() argument
166 mDefaultValue = default_; in setDefaultValue()
312 void C2InterfaceHelper::ParamHelper::setDefaultValue(std::shared_ptr<C2Param> default_) { in setDefaultValue() argument
313 mImpl->setDefaultValue(default_); in setDefaultValue()