TuttleOFX
1
|
#include <LibAVOptions.hpp>
Public Member Functions | |
AVOptionPlugin (OfxImageEffectHandle handle) | |
Protected Member Functions | |
int | convertIntWithOptionalUnit (const std::string ¶m, const std::string &stringValue) |
template<typename LibAVVideoRW > | |
void | setParameters (LibAVVideoRW &writer, const EAVParamType &type, void *av_class, int req_flags, int rej_flags) |
template<typename LibAVVideoRW > | |
void | setParameters (LibAVVideoRW &writer, const EAVParamType &type, const std::vector< AVPrivOption > &avPrivOpts, const std::string &codec) |
void | setParameters (const PresetParameters ¶meters) |
Private Member Functions | |
template<typename LibAVVideoRW > | |
void | optionSet (LibAVVideoRW &videoRW, const EAVParamType &type, const AVOption &opt, bool &value) |
template<typename LibAVVideoRW > | |
void | optionSet (LibAVVideoRW &videoRW, const EAVParamType &type, const AVOption &opt, bool &value, std::string &valueToSetFlag) |
template<typename LibAVVideoRW > | |
void | optionSet (LibAVVideoRW &videoRW, const EAVParamType &type, const AVOption &opt, int &value) |
template<typename LibAVVideoRW > | |
void | optionSet (LibAVVideoRW &videoRW, const EAVParamType &type, const AVOption &opt, double &value) |
template<typename LibAVVideoRW > | |
void | optionSet (LibAVVideoRW &videoRW, const EAVParamType &type, const AVOption &opt, int &valueNum, int &valueDen) |
template<typename LibAVVideoRW > | |
void | optionSet (LibAVVideoRW &videoRW, const EAVParamType &type, const AVOption &opt, std::string &value) |
Definition at line 20 of file LibAVOptions.hpp.
tuttle::plugin::av::AVOptionPlugin< IOPlugin >::AVOptionPlugin | ( | OfxImageEffectHandle | handle | ) |
Definition at line 13 of file LibAVOptions.tcc.
int tuttle::plugin::av::AVOptionPlugin< IOPlugin >::convertIntWithOptionalUnit | ( | const std::string & | param, |
const std::string & | stringValue | ||
) | [protected] |
Definition at line 20 of file LibAVOptions.tcc.
References TUTTLE_LOG_ERROR.
void tuttle::plugin::av::AVOptionPlugin< IOPlugin >::optionSet | ( | LibAVVideoRW & | videoRW, |
const EAVParamType & | type, | ||
const AVOption & | opt, | ||
bool & | value | ||
) | [private] |
Definition at line 570 of file LibAVOptions.tcc.
References tuttle::plugin::av::eAVParamAudio, tuttle::plugin::av::eAVParamFormat, tuttle::plugin::av::eAVParamVideo, OFX::Log::error(), tuttle::plugin::av::LibAV::libavError_toString(), and TUTTLE_LOG_WARNING.
void tuttle::plugin::av::AVOptionPlugin< IOPlugin >::optionSet | ( | LibAVVideoRW & | videoRW, |
const EAVParamType & | type, | ||
const AVOption & | opt, | ||
bool & | value, | ||
std::string & | valueToSetFlag | ||
) | [private] |
Definition at line 599 of file LibAVOptions.tcc.
References tuttle::plugin::av::eAVParamAudio, tuttle::plugin::av::eAVParamFormat, tuttle::plugin::av::eAVParamVideo, OFX::Log::error(), tuttle::plugin::av::LibAV::libavError_toString(), and TUTTLE_LOG_WARNING.
void tuttle::plugin::av::AVOptionPlugin< IOPlugin >::optionSet | ( | LibAVVideoRW & | videoRW, |
const EAVParamType & | type, | ||
const AVOption & | opt, | ||
int & | value | ||
) | [private] |
Definition at line 638 of file LibAVOptions.tcc.
References tuttle::plugin::av::eAVParamAudio, tuttle::plugin::av::eAVParamFormat, tuttle::plugin::av::eAVParamVideo, OFX::Log::error(), tuttle::plugin::av::LibAV::libavError_toString(), and TUTTLE_LOG_WARNING.
void tuttle::plugin::av::AVOptionPlugin< IOPlugin >::optionSet | ( | LibAVVideoRW & | videoRW, |
const EAVParamType & | type, | ||
const AVOption & | opt, | ||
double & | value | ||
) | [private] |
Definition at line 667 of file LibAVOptions.tcc.
References tuttle::plugin::av::eAVParamAudio, tuttle::plugin::av::eAVParamFormat, tuttle::plugin::av::eAVParamVideo, OFX::Log::error(), tuttle::plugin::av::LibAV::libavError_toString(), and TUTTLE_LOG_WARNING.
void tuttle::plugin::av::AVOptionPlugin< IOPlugin >::optionSet | ( | LibAVVideoRW & | videoRW, |
const EAVParamType & | type, | ||
const AVOption & | opt, | ||
int & | valueNum, | ||
int & | valueDen | ||
) | [private] |
Definition at line 695 of file LibAVOptions.tcc.
References tuttle::plugin::av::eAVParamAudio, tuttle::plugin::av::eAVParamFormat, tuttle::plugin::av::eAVParamVideo, OFX::Log::error(), tuttle::plugin::av::LibAV::libavError_toString(), and TUTTLE_LOG_WARNING.
void tuttle::plugin::av::AVOptionPlugin< IOPlugin >::optionSet | ( | LibAVVideoRW & | videoRW, |
const EAVParamType & | type, | ||
const AVOption & | opt, | ||
std::string & | value | ||
) | [private] |
Definition at line 726 of file LibAVOptions.tcc.
References tuttle::plugin::av::eAVParamAudio, tuttle::plugin::av::eAVParamFormat, tuttle::plugin::av::eAVParamVideo, OFX::Log::error(), tuttle::plugin::av::LibAV::libavError_toString(), and TUTTLE_LOG_WARNING.
void tuttle::plugin::av::AVOptionPlugin< IOPlugin >::setParameters | ( | LibAVVideoRW & | writer, |
const EAVParamType & | type, | ||
void * | av_class, | ||
int | req_flags, | ||
int | rej_flags | ||
) | [protected] |
Definition at line 69 of file LibAVOptions.tcc.
References OFX::Attribute::getName(), OFX::IntParam::getValue(), OFX::Int2DParam::getValue(), OFX::DoubleParam::getValue(), OFX::StringParam::getValue(), OFX::ChoiceParam::getValue(), OFX::BooleanParam::getValue(), and TUTTLE_LOG_WARNING.
void tuttle::plugin::av::AVOptionPlugin< IOPlugin >::setParameters | ( | LibAVVideoRW & | writer, |
const EAVParamType & | type, | ||
const std::vector< AVPrivOption > & | avPrivOpts, | ||
const std::string & | codec | ||
) | [protected] |
Definition at line 234 of file LibAVOptions.tcc.
References tuttle::plugin::av::AVPrivOption::class_name, OFX::Attribute::getName(), OFX::IntParam::getValue(), OFX::Int2DParam::getValue(), OFX::DoubleParam::getValue(), OFX::StringParam::getValue(), OFX::ChoiceParam::getValue(), OFX::BooleanParam::getValue(), tuttle::plugin::av::AVPrivOption::o, and TUTTLE_LOG_WARNING.
void tuttle::plugin::av::AVOptionPlugin< IOPlugin >::setParameters | ( | const PresetParameters & | parameters | ) | [protected] |
Definition at line 364 of file LibAVOptions.tcc.
References OFX::eBooleanParam, OFX::eCameraParam, OFX::eChoiceParam, OFX::eCustomParam, OFX::eDouble2DParam, OFX::eDouble3DParam, OFX::eDoubleParam, OFX::eGroupParam, OFX::eInt2DParam, OFX::eInt3DParam, OFX::eIntParam, OFX::ePageParam, OFX::eParametricParam, OFX::ePushButtonParam, OFX::eRGBAParam, OFX::eRGBParam, OFX::eStringParam, OFX::Attribute::getProps(), OFX::IntParam::setValue(), OFX::Int2DParam::setValue(), OFX::Int3DParam::setValue(), OFX::DoubleParam::setValue(), OFX::Double2DParam::setValue(), OFX::Double3DParam::setValue(), OFX::RGBParam::setValue(), OFX::RGBAParam::setValue(), OFX::StringParam::setValue(), OFX::ChoiceParam::setValue(), OFX::BooleanParam::setValue(), and TUTTLE_LOG_WARNING.