Skip to content

Commit

Permalink
Clarify the usage of flag VA_PROC_PIPELINE_FAST.
Browse files Browse the repository at this point in the history
Signed-off-by: Furong Zhang <[email protected]>
  • Loading branch information
FurongZhang committed Aug 2, 2023
1 parent 7d6c7d4 commit b6cf2b2
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions va/va_vpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -510,11 +510,15 @@ typedef struct _VABlendState {
* \brief Specifies whether to apply power or performance
* optimizations to a pipeline.
*
* When processing several surfaces, it may be necessary to prioritize
* more certain pipelines than others. This flag is only a hint to the
* video processor so that it can omit certain filters to save power
* for example. Typically, this flag could be used with video surfaces
* decoded from a secondary bitstream.
* This flag is a hint to the video processor to achieve faster processing speed
* (better performance)in the pipeine. Hardware vendor might have several approaches
* for one functionality, this flag is to indicate the one with best performance.
* Performance depends on the hardware capablity, plesae refer to the specific hardware
* specification from hardware vendors. Here, lists a few examples as the reference.
* 1) When processing several surfaces, it may be necessary to prioritize more certain
* pipelines with this flag than others. 2) This flag is only a hint to the video processor
* so that it can omit certain filters for better performance for example. 3) Typically, this
* flag could be used with video surfaces decoded from a secondary bitstream.
*/
#define VA_PROC_PIPELINE_FAST 0x00000002
/**@}*/
Expand Down

0 comments on commit b6cf2b2

Please sign in to comment.