Hi,I have attached new postprocessing flags to expose additional GPU features. I am not decided yet for the "scaling-quality" flags naming. The rationale behind this is to expose e.g. what AMD marketing calls Avivo HD upscaling ("detail enhancement")[1]. NVIDIA has probably similar capabilities exposed through VDPAU high-quality scaling options too.
BTW, what additional postprocessing work can the GMA500 chip do? [1] ATI Avivo(tm) HD – Technology Brief (page 5): <http://ati.amd.com/technology/Avivo/pdf/ATI_Avivo_HD_tech_brief.pdf> Comments welcome. Thanks, Gwenole.
diff --git a/va/va.h b/va/va.h index 08294a8..a1a145d 100644 --- a/va/va.h +++ b/va/va.h @@ -143,6 +143,38 @@ typedef int VAStatus; /* Return status type from functions */ #define VA_SRC_BT601 0x00000010 #define VA_SRC_BT709 0x00000020 +/** Enables noise reduction */ +#define VA_FILTER_DENOISE 0x00000100 + +/** Enables sharpening */ +#define VA_FILTER_SHARPNESS 0x00000200 + +/** + * Uses low-quality scaling. + * + * An implementation may choose to apply a basic scaling algorithm + * based on the nearest pixel element or any other algorithm that + * provides the best performance at the expense of lower quality. + */ +#define VA_FILTER_LQ_SCALING 0x00001000 + +/** + * Uses medium-quality scaling. + * + * This is the default scaling level. An implementation may choose to + * apply bilinear filtering or any other algorithm that provides the + * best trade-off between speed and quality. + */ +#define VA_FILTER_MQ_SCALING 0x00002000 + +/** + * Uses high-quality scaling. + * + * An implementation may choose to apply a detail enhancement + * algorithm if the underlying video processing unit permits so. + */ +#define VA_FILTER_HQ_SCALING 0x00004000 + /* * Returns a short english description of error_status */
_______________________________________________ Libva mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libva
