| Index: source/libvpx/vpx/vpx_image.h
|
| diff --git a/source/libvpx/vpx/vpx_image.h b/source/libvpx/vpx/vpx_image.h
|
| index 337e4c4bedbbc241e567954d5028b681ec801d6b..c06d35101cca128ecf1b698a24355dced7656714 100644
|
| --- a/source/libvpx/vpx/vpx_image.h
|
| +++ b/source/libvpx/vpx/vpx_image.h
|
| @@ -28,7 +28,7 @@ extern "C" {
|
| * types, removing or reassigning enums, adding/removing/rearranging
|
| * fields to structures
|
| */
|
| -#define VPX_IMAGE_ABI_VERSION (2) /**<\hideinitializer*/
|
| +#define VPX_IMAGE_ABI_VERSION (3) /**<\hideinitializer*/
|
|
|
|
|
| #define VPX_IMG_FMT_PLANAR 0x100 /**< Image is a planar format. */
|
| @@ -66,9 +66,22 @@ extern "C" {
|
| VPX_IMG_FMT_I44016 = VPX_IMG_FMT_I440 | VPX_IMG_FMT_HIGHBITDEPTH
|
| } vpx_img_fmt_t; /**< alias for enum vpx_img_fmt */
|
|
|
| + /*!\brief List of supported color spaces */
|
| + typedef enum vpx_color_space {
|
| + VPX_CS_UNKNOWN = 0, /**< Unknown */
|
| + VPX_CS_BT_601 = 1, /**< BT.601 */
|
| + VPX_CS_BT_709 = 2, /**< BT.709 */
|
| + VPX_CS_SMPTE_170 = 3, /**< SMPTE.170 */
|
| + VPX_CS_SMPTE_240 = 4, /**< SMPTE.240 */
|
| + VPX_CS_BT_2020 = 5, /**< BT.2020 */
|
| + VPX_CS_RESERVED = 6, /**< Reserved */
|
| + VPX_CS_SRGB = 7 /**< sRGB */
|
| + } vpx_color_space_t; /**< alias for enum vpx_color_space */
|
| +
|
| /**\brief Image Descriptor */
|
| typedef struct vpx_image {
|
| vpx_img_fmt_t fmt; /**< Image Format */
|
| + vpx_color_space_t cs; /**< Color Space */
|
|
|
| /* Image storage dimensions */
|
| unsigned int w; /**< Stored image width */
|
|
|