Commit 9803dc46 authored by Laurent Aimar's avatar Laurent Aimar

* vout_pictures.*: added YVU9.

parent 6ae1b0c0
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vout_pictures.c : picture management functions * vout_pictures.c : picture management functions
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2004 VideoLAN * Copyright (C) 2000-2004 VideoLAN
* $Id: vout_pictures.c,v 1.46 2004/02/22 00:15:33 gbazin Exp $ * $Id: vout_pictures.c,v 1.47 2004/02/27 14:01:35 fenrir Exp $
* *
* Authors: Vincent Seguin <seguin@via.ecp.fr> * Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org> * Samuel Hocevar <sam@zoy.org>
...@@ -528,6 +528,7 @@ void vout_InitFormat( video_frame_format_t *p_format, vlc_fourcc_t i_chroma, ...@@ -528,6 +528,7 @@ void vout_InitFormat( video_frame_format_t *p_format, vlc_fourcc_t i_chroma,
p_format->i_bits_per_pixel = 12; p_format->i_bits_per_pixel = 12;
break; break;
case FOURCC_I410: case FOURCC_I410:
case FOURCC_YVU9:
p_format->i_bits_per_pixel = 9; p_format->i_bits_per_pixel = 9;
break; break;
case FOURCC_Y211: case FOURCC_Y211:
...@@ -596,6 +597,7 @@ void vout_InitPicture( vlc_object_t *p_this, picture_t *p_pic, ...@@ -596,6 +597,7 @@ void vout_InitPicture( vlc_object_t *p_this, picture_t *p_pic,
break; break;
case FOURCC_I410: case FOURCC_I410:
case FOURCC_YVU9:
p_pic->p[ Y_PLANE ].i_lines = i_height; p_pic->p[ Y_PLANE ].i_lines = i_height;
p_pic->p[ Y_PLANE ].i_pitch = i_width; p_pic->p[ Y_PLANE ].i_pitch = i_width;
p_pic->p[ Y_PLANE ].i_visible_pitch = p_pic->p[ Y_PLANE ].i_pitch; p_pic->p[ Y_PLANE ].i_visible_pitch = p_pic->p[ Y_PLANE ].i_pitch;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vout_pictures.h : picture management definitions * vout_pictures.h : picture management definitions
***************************************************************************** *****************************************************************************
* Copyright (C) 2002-2004 VideoLAN * Copyright (C) 2002-2004 VideoLAN
* $Id: vout_pictures.h,v 1.5 2004/01/06 12:02:06 zorglub Exp $ * $Id: vout_pictures.h,v 1.6 2004/02/27 14:01:35 fenrir Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -77,6 +77,7 @@ ...@@ -77,6 +77,7 @@
/* Planar YUV 4:1:0, Y:U:V */ /* Planar YUV 4:1:0, Y:U:V */
#define FOURCC_I410 VLC_FOURCC('I','4','1','0') #define FOURCC_I410 VLC_FOURCC('I','4','1','0')
#define FOURCC_YVU9 VLC_FOURCC('Y','V','U','9')
/* Planar Y, packed UV, from Matrox */ /* Planar Y, packed UV, from Matrox */
#define FOURCC_YMGA VLC_FOURCC('Y','M','G','A') #define FOURCC_YMGA VLC_FOURCC('Y','M','G','A')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment