How would this interact with the current renderscale property passed to a render?
Standard version: 1.4
Minor Change
Render action InArgs property. Draft/Preview is typical for scrubbing, Best is typical for render. These allow a plug-in to take short-cuts for improved performance when the situation allows.
#define kOfxImageEffectPropRenderQuality “OfxImageEffectPropRenderQuality”
#define kOfxImageEffectPropRenderQualityDraft “OfxImageEffectPropRenderQualityDraft”
#define kOfxImageEffectPropRenderQualityBest “OfxImageEffectPropRenderQualityBest”
For now a single alternative version is supported - QualityDraft is a good thing for example to call if your application draw thumbnails of a clip (different frames over time) in a manner that causes plugin processing. The hope is also that this can speed up scrubbing and such interaction. Plugin is guaranteed here that the render results will not be saved in some persistant cache.
Original submission by Dennis Adams below - See Final Status in next box.
/** @brief Indicates the quality level of the render
*/
#define kOfxImageEffectPropRenderQuality “OfxImageEffectPropRenderQuality”
#define kOfxImageEffectPropRenderQualityDraft “OfxImageEffectPropRenderQualityDraft”
#define kOfxImageEffectPropRenderQualityPreview “OfxImageEffectPropRenderQualityPreview”
#define kOfxImageEffectPropRenderQualityGood “OfxImageEffectPropRenderQualityGood”
#define kOfxImageEffectPropRenderQualityBest “OfxImageEffectPropRenderQualityBest”
How would this interact with the current renderscale property passed to a render?
Also earlier I said it might be preferable here to have only one Draft quality boolean if that option is supported. I guess the goal here is visual hints while scrubbing the timeline and things like that. An effect might then expect this will have no caching, and set internally a special render mode (e.g. no anti-aliasing, wireframe, etc) - whatever is enough to preview in such context and from host side assume they can for example use change their abort strategy (so this becomes as well probably something refinable per host in practice - some support downgrades to smaller render scale and some don't...). This setup could also be used for thumbnail generation and equivalent.