? palettepatch.txt
? yuvpatch.txt
? docs/libs/tmpl/gstaudiomixerutils.sgml
? docs/libs/tmpl/gstaudiosink.sgml
? docs/libs/tmpl/gstbaseaudiosink.sgml
? docs/libs/tmpl/gstcddabasesrc.sgml
? docs/libs/tmpl/gsttag.sgml
? docs/libs/tmpl/gsttagid3.sgml
? docs/libs/tmpl/gsttagvorbis.sgml
? docs/libs/tmpl/gstvideofilter.sgml
? docs/libs/tmpl/gstvideosink.sgml
? docs/libs/tmpl/private.sgml
? docs/plugins/tmpl/element-alsamixer.sgml
? docs/plugins/tmpl/element-alsasink.sgml
? docs/plugins/tmpl/element-alsasrc.sgml
? docs/plugins/tmpl/element-audioconvert.sgml
? docs/plugins/tmpl/element-audioresample.sgml
? docs/plugins/tmpl/element-audiotestsrc.sgml
? docs/plugins/tmpl/element-cdparanoiasrc.sgml
? docs/plugins/tmpl/element-clockoverlay.sgml
? docs/plugins/tmpl/element-ffmpegcolorspace.sgml
? docs/plugins/tmpl/element-gnomevfssink.sgml
? docs/plugins/tmpl/element-gnomevfssrc.sgml
? docs/plugins/tmpl/element-multifdsink.sgml
? docs/plugins/tmpl/element-tcpserversink.sgml
? docs/plugins/tmpl/element-textoverlay.sgml
? docs/plugins/tmpl/element-textrender.sgml
? docs/plugins/tmpl/element-theoradec.sgml
? docs/plugins/tmpl/element-theoraenc.sgml
? docs/plugins/tmpl/element-timeoverlay.sgml
? docs/plugins/tmpl/element-videorate.sgml
? docs/plugins/tmpl/element-videoscale.sgml
? docs/plugins/tmpl/element-videotestsrc.sgml
? docs/plugins/tmpl/element-volume.sgml
? docs/plugins/tmpl/element-vorbisdec.sgml
? docs/plugins/tmpl/element-vorbisenc.sgml
? docs/plugins/tmpl/element-vorbisparse.sgml
? docs/plugins/tmpl/element-ximagesink.sgml
? docs/plugins/tmpl/element-xvimagesink.sgml
? docs/plugins/tmpl/gst-plugins-base-plugins-unused.sgml
? docs/plugins/tmpl/private.sgml
? gst-libs/gst/riff/palettepatch.txt
? tests/examples/volume/volume
Index: gst/ffmpegcolorspace/avcodec.h
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/gst/ffmpegcolorspace/avcodec.h,v
retrieving revision 1.15
diff -u -r1.15 avcodec.h
--- gst/ffmpegcolorspace/avcodec.h	28 Feb 2006 21:21:06 -0000	1.15
+++ gst/ffmpegcolorspace/avcodec.h	16 Mar 2006 22:35:50 -0000
@@ -64,6 +64,7 @@
     PIX_FMT_RGB32,     ///< Packed pixel, 4 bytes per pixel, BGRXBGRX..., stored in cpu endianness
     PIX_FMT_BGR32,     ///< Packed pixel, 4 bytes per pixel, XRGBXRGB...
     PIX_FMT_YUV410P,   ///< Planar YUV 4:1:0 (1 Cr & Cb sample per 4x4 Y samples)
+    PIX_FMT_YVU410P,   ///< Planar YVU 4:1:0 (1 Cr & Cb sample per 4x4 Y samples)
     PIX_FMT_YUV411P,   ///< Planar YUV 4:1:1 (1 Cr & Cb sample per 4x1 Y samples)
     PIX_FMT_RGB565,    ///< always stored in cpu endianness 
     PIX_FMT_RGB555,    ///< always stored in cpu endianness, most significant bit to 1 
Index: gst/ffmpegcolorspace/gstffmpegcodecmap.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/gst/ffmpegcolorspace/gstffmpegcodecmap.c,v
retrieving revision 1.26
diff -u -r1.26 gstffmpegcodecmap.c
--- gst/ffmpegcolorspace/gstffmpegcodecmap.c	15 Mar 2006 11:30:29 -0000	1.26
+++ gst/ffmpegcolorspace/gstffmpegcodecmap.c	16 Mar 2006 22:35:51 -0000
@@ -260,6 +260,9 @@
     case PIX_FMT_YUV410P:
       fmt = GST_MAKE_FOURCC ('Y', 'U', 'V', '9');
       break;
+    case PIX_FMT_YVU410P:
+      fmt = GST_MAKE_FOURCC ('Y', 'V', 'U', '9');
+      break;
     case PIX_FMT_YUV411P:
       fmt = GST_MAKE_FOURCC ('Y', '4', '1', 'B');
       break;
@@ -537,6 +540,9 @@
         case GST_MAKE_FOURCC ('Y', 'U', 'V', '9'):
           context->pix_fmt = PIX_FMT_YUV410P;
           break;
+        case GST_MAKE_FOURCC ('Y', 'V', 'U', '9'):
+          context->pix_fmt = PIX_FMT_YVU410P;
+          break;
         case GST_MAKE_FOURCC ('A', 'Y', 'U', 'V'):
           context->pix_fmt = PIX_FMT_AYUV4444;
           break;
@@ -696,18 +702,20 @@
       /* PIX_FMT_YVU420P = YV12: same as PIX_FMT_YUV420P, but
        *  with U and V plane swapped. Strides as in videotestsrc */
     case PIX_FMT_YVU420P:
+    case PIX_FMT_YVU410P:
       stride = GST_ROUND_UP_4 (width);
-      h2 = GST_ROUND_UP_2 (height);
+      h2 = ROUND_UP_X (height, pinfo->y_chroma_shift);
       size = stride * h2;
-      stride2 = GST_ROUND_UP_8 (stride) / 2;
-      h2 = GST_ROUND_UP_2 (height) / 2;
+      w2 = DIV_ROUND_UP_X (width, pinfo->x_chroma_shift);
+      stride2 = GST_ROUND_UP_4 (w2);
+      h2 = DIV_ROUND_UP_X (height, pinfo->y_chroma_shift);
       size2 = stride2 * h2;
       picture->data[0] = ptr;
       picture->data[2] = picture->data[0] + size;
       picture->data[1] = picture->data[2] + size2;
       picture->linesize[0] = stride;
-      picture->linesize[1] = GST_ROUND_UP_8 (stride) / 2;
-      picture->linesize[2] = GST_ROUND_UP_8 (stride) / 2;
+      picture->linesize[1] = stride2;
+      picture->linesize[2] = stride2;
       return size + 2 * size2;
     case PIX_FMT_RGB24:
     case PIX_FMT_BGR24:
Index: gst/ffmpegcolorspace/imgconvert.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/gst/ffmpegcolorspace/imgconvert.c,v
retrieving revision 1.19
diff -u -r1.19 imgconvert.c
--- gst/ffmpegcolorspace/imgconvert.c	28 Feb 2006 10:39:19 -0000	1.19
+++ gst/ffmpegcolorspace/imgconvert.c	16 Mar 2006 22:35:52 -0000
@@ -119,6 +119,17 @@
         /* .y_chroma_shift = */ 2,
         /* .depth          = */ 8,
       },
+  /* [PIX_FMT_YVU410P] = */ {
+        /* .format         = */ PIX_FMT_YVU410P,
+        /* .name           = */ "yvu410p",
+        /* .nb_channels    = */ 3,
+        /* .color_type     = */ FF_COLOR_YUV,
+        /* .pixel_type     = */ FF_PIXEL_PLANAR,
+        /* .is_alpha       = */ 0,
+        /* .x_chroma_shift = */ 2,
+        /* .y_chroma_shift = */ 2,
+        /* .depth          = */ 8,
+      },
   /* [PIX_FMT_YUV411P] = */ {
         /* .format         = */ PIX_FMT_YUV411P,
         /* .name           = */ "yuv411p",
Index: gst-libs/gst/riff/riff-media.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/gst-libs/gst/riff/riff-media.c,v
retrieving revision 1.61
diff -u -r1.61 riff-media.c
--- gst-libs/gst/riff/riff-media.c	15 Mar 2006 17:59:04 -0000	1.61
+++ gst-libs/gst/riff/riff-media.c	16 Mar 2006 22:35:54 -0000
@@ -99,6 +99,13 @@
         *codec_name = g_strdup ("Uncompressed packed YUV 4:2:2");
       break;
 
+    case GST_MAKE_FOURCC ('Y', 'V', 'U', '9'):
+      caps = gst_caps_new_simple ("video/x-raw-yuv",
+          "format", GST_TYPE_FOURCC, codec_fcc, NULL);
+      if (codec_name)
+        *codec_name = g_strdup ("Uncompressed packed YVU 4:1:0");
+      break;
+
     case GST_MAKE_FOURCC ('M', 'J', 'P', 'G'): /* YUY2 MJPEG */
     case GST_MAKE_FOURCC ('A', 'V', 'R', 'n'):
     case GST_MAKE_FOURCC ('I', 'J', 'P', 'G'):
@@ -1005,6 +1012,7 @@
   guint32 tags[] = {
     GST_MAKE_FOURCC ('I', '4', '2', '0'),
     GST_MAKE_FOURCC ('Y', 'U', 'Y', '2'),
+    GST_MAKE_FOURCC ('Y', 'V', 'U', '9'),
     GST_MAKE_FOURCC ('M', 'J', 'P', 'G'),
     GST_MAKE_FOURCC ('D', 'V', 'S', 'D'),
     GST_MAKE_FOURCC ('W', 'M', 'V', '1'),
