[Libva] [PATCH 24/24] va: Remove VAProcFilterColorStandard

Xiang, Haihao haihao.xiang at intel.com
Mon May 13 01:19:27 PDT 2013


Color primary conversion is an implicit operation for the pipeline,
surface_color_standard (input) and output_color_standard (output)
in VAProcPipelineParameterBuffer are used  to indicate the color
primary conversion.

Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
---
 va/va_vpp.h |   20 +-------------------
 1 files changed, 1 insertions(+), 19 deletions(-)

diff --git a/va/va_vpp.h b/va/va_vpp.h
index 63e72c4..1fdb530 100644
--- a/va/va_vpp.h
+++ b/va/va_vpp.h
@@ -245,9 +245,6 @@ typedef enum _VAProcFilterType {
     VAProcFilterSharpening,
     /** \brief Color balance parameters. */
     VAProcFilterColorBalance,
-    /** \brief Color standard conversion. */
-    VAProcFilterColorStandard,
-    /** \brief Number of video filters. */
     VAProcFilterCount
 } VAProcFilterType;
 
@@ -476,8 +473,7 @@ typedef struct _VAProcPipelineParameterBuffer {
      *   \c VA_BOTTOM_FIELD. Note that any deinterlacing filter
      *   (#VAProcFilterDeinterlacing) will override those flags.
      * - Color space conversion: \c VA_SRC_BT601, \c VA_SRC_BT709,
-     *   \c VA_SRC_SMPTE_240. Note that any color standard filter
-     *   (#VAProcFilterColorStandard) will override those flags.
+     *   \c VA_SRC_SMPTE_240. 
      * - Scaling: \c VA_FILTER_SCALING_DEFAULT, \c VA_FILTER_SCALING_FAST,
      *   \c VA_FILTER_SCALING_HQ, \c VA_FILTER_SCALING_NL_ANAMORPHIC.
      */
@@ -626,14 +622,6 @@ typedef struct _VAProcFilterParameterBufferColorBalance {
     float                       value;
 } VAProcFilterParameterBufferColorBalance;
 
-/** \brief Color standard filter parametrization. */
-typedef struct _VAProcFilterParameterBufferColorStandard {
-    /** \brief Filter type. Shall be set to #VAProcFilterColorStandard. */
-    VAProcFilterType            type;
-    /** \brief Color standard to use. */
-    VAProcColorStandardType     standard;
-} VAProcFilterParameterBufferColorStandard;
-
 /**
  * \brief Default filter cap specification (single range value).
  *
@@ -659,12 +647,6 @@ typedef struct _VAProcFilterCapColorBalance {
     VAProcFilterValueRange      range;
 } VAProcFilterCapColorBalance;
 
-/** \brief Capabilities specification for the color standard filter. */
-typedef struct _VAProcFilterCapColorStandard {
-    /** \brief Color standard type. */
-    VAProcColorStandardType     type;
-} VAProcFilterCapColorStandard;
-
 /**
  * \brief Queries video processing filters.
  *
-- 
1.7.4.1



More information about the Libva mailing list