summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Bian <jonathan.bian@intel.com>2013-04-22 09:41:35 -0700
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-08-27 11:16:44 +0200
commit276ad27c386b45378f1de075d085920d0482d2b2 (patch)
treeebe50285c2321085cbc4f211b0ac296e39086fb0
parent8a35b8e2dbdbada50346dea50a3c40314e81554e (diff)
downloadlibva-276ad27c386b45378f1de075d085920d0482d2b2.tar.gz
Refined TCC filter and added cap structure.
-rw-r--r--va/va_vpp.h40
1 files changed, 28 insertions, 12 deletions
diff --git a/va/va_vpp.h b/va/va_vpp.h
index c2936bf..330ab58 100644
--- a/va/va_vpp.h
+++ b/va/va_vpp.h
@@ -782,18 +782,18 @@ typedef struct _VAProcFilterParamterBufferFrameRateConversion {
typedef struct _VAProcFilterParamterBufferTotalColorCorrection {
/** \brief filter type. Shall be set to #VAProcFilterTotalColorCorrection. */
VAProcFilterType type;
- /** \brief TCC Red Saturation (0-255). */
- unsigned int red;
- /** \brief TCC Green Saturation (0-255). */
- unsigned int green;
- /** \brief TCC Blue Saturation (0-255). */
- unsigned int blue;
- /** \brief TCC cyan Saturation (0-255). */
- unsigned int cyan;
- /** \brief TCC Magent Saturation (0-255).*/
- unsigned int magenta;
- /** \brief TCC Yello Saturation (0-255). */
- unsigned int yellow;
+ /** \brief TCC Red Saturation. */
+ float red;
+ /** \brief TCC Green Saturation. */
+ float green;
+ /** \brief TCC Blue Saturation. */
+ float blue;
+ /** \brief TCC cyan Saturation. */
+ float cyan;
+ /** \brief TCC Magenta Saturation. */
+ float magenta;
+ /** \brief TCC Yello Saturation. */
+ float yellow;
} VAProcFilterParameterBufferTotalColorCorrection;
/**
@@ -821,6 +821,22 @@ typedef struct _VAProcFilterCapColorBalance {
VAProcFilterValueRange range;
} VAProcFilterCapColorBalance;
+/** \brief Capabilities specification for the Total Color Correction filter. */
+typedef struct _VAProcFilterCapTotalColorCorrection {
+ /** \brief Range of supported values for red saturation. */
+ VAProcFilterValueRange red_range;
+ /** \brief Range of supported values for green saturation. */
+ VAProcFilterValueRange green_range;
+ /** \brief Range of supported values for blue saturation. */
+ VAProcFilterValueRange blue_range;
+ /** \brief Range of supported values for cyan saturation. */
+ VAProcFilterValueRange cyan_range;
+ /** \brief Range of supported values for magenta saturation. */
+ VAProcFilterValueRange magenta_range;
+ /** \brief Range of supported values for yellow saturation. */
+ VAProcFilterValueRange yellow_range;
+} VAProcFilterCapTotalColorCorrection;
+
/**
* \brief Queries video processing filters.
*