×

Terminal Output

  • Welcome
  • Standards Discussion
  • Contact
  • Ofx small
  • Welcome
    • Why a Standard?
    • For Implementers
    • Association Business
  • API Documentation
    • API Reference
    • Programming Reference
    • Programming Guide
  • Standards Discussion
  • Contact
Back to standard change list


Render Quality Proposed

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

  1. Type - string x 1
  1. Property Set - Render In Args (read only)
  1. Valid Values - see below… (Draft, Preview, Good, Best)

*/

#define kOfxImageEffectPropRenderQuality “OfxImageEffectPropRenderQuality”

#define kOfxImageEffectPropRenderQualityDraft “OfxImageEffectPropRenderQualityDraft”

#define kOfxImageEffectPropRenderQualityPreview “OfxImageEffectPropRenderQualityPreview”

#define kOfxImageEffectPropRenderQualityGood “OfxImageEffectPropRenderQualityGood”

#define kOfxImageEffectPropRenderQualityBest “OfxImageEffectPropRenderQualityBest”

Back to standard change list


Discussion

Comments

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.

Pierre Jasmin | 5:22 pm, 13 Jun 2015

How would this interact with the current renderscale property passed to a render?

Bruno Nicoletti | 7:06 am, 2 Mar 2015
  • Pierre Jasmin : We had such discussion back then. At first glance this looks too detailed (too many options). Other comments: Some applications degrade resolution for similar purpose during interaction and set renderScale.
unattributed | 9:49 am, 8 Mar 2014
Back to standard change list
  • OFX @ Github
  • Association Information

Copyright ©2023 The Open Effects Association