]> git.sesse.net Git - vlc/commitdiff
* vout_pictures.*: added YVU9.
authorLaurent Aimar <fenrir@videolan.org>
Fri, 27 Feb 2004 14:01:35 +0000 (14:01 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Fri, 27 Feb 2004 14:01:35 +0000 (14:01 +0000)
src/video_output/vout_pictures.c
src/video_output/vout_pictures.h

index f4d5fb2f2bc9ac829f95083be272ff7cc6cd5ca7..427ce00f79fbecfb760c1b5ec6a0b25a1743d701 100644 (file)
@@ -2,7 +2,7 @@
  * vout_pictures.c : picture management functions
  *****************************************************************************
  * 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>
  *          Samuel Hocevar <sam@zoy.org>
@@ -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;
             break;
         case FOURCC_I410:
+        case FOURCC_YVU9:
             p_format->i_bits_per_pixel = 9;
             break;
         case FOURCC_Y211:
@@ -596,6 +597,7 @@ void vout_InitPicture( vlc_object_t *p_this, picture_t *p_pic,
             break;
 
         case FOURCC_I410:
+        case FOURCC_YVU9:
             p_pic->p[ Y_PLANE ].i_lines = i_height;
             p_pic->p[ Y_PLANE ].i_pitch = i_width;
             p_pic->p[ Y_PLANE ].i_visible_pitch = p_pic->p[ Y_PLANE ].i_pitch;
index 02d90b7b2e8310451018f832d4d9cc056732a807..ce5dc8e9fa5dd287b0c4b6af5640dfa8cad35e9c 100644 (file)
@@ -2,7 +2,7 @@
  * vout_pictures.h : picture management definitions
  *****************************************************************************
  * 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>
  *
@@ -77,6 +77,7 @@
 
 /* Planar YUV 4:1:0, Y:U:V */
 #define FOURCC_I410         VLC_FOURCC('I','4','1','0')
+#define FOURCC_YVU9         VLC_FOURCC('Y','V','U','9')
 
 /* Planar Y, packed UV, from Matrox */
 #define FOURCC_YMGA         VLC_FOURCC('Y','M','G','A')