jp2kdec, jp2kenc: add support v308 (4:4:4 YUV)

Because we can.
This commit is contained in:
Tim-Philipp Müller 2011-01-26 18:45:56 +00:00
parent 86ae3777fd
commit 5d754e549a
2 changed files with 2 additions and 2 deletions

View file

@ -65,7 +65,7 @@ static GstStaticPadTemplate gst_jasper_dec_src_template =
GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB "; " GST_VIDEO_CAPS_BGR "; " GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB "; " GST_VIDEO_CAPS_BGR "; "
GST_VIDEO_CAPS_RGBx "; " GST_VIDEO_CAPS_xRGB "; " GST_VIDEO_CAPS_RGBx "; " GST_VIDEO_CAPS_xRGB "; "
GST_VIDEO_CAPS_BGRx "; " GST_VIDEO_CAPS_xBGR "; " GST_VIDEO_CAPS_BGRx "; " GST_VIDEO_CAPS_xBGR "; "
GST_VIDEO_CAPS_YUV ("{ I420, YV12, YUY2, UYVY, Y41B, Y42B }")) GST_VIDEO_CAPS_YUV ("{ I420, YV12, YUY2, UYVY, Y41B, Y42B, v308 }"))
); );
static void gst_jasper_dec_set_property (GObject * object, guint prop_id, static void gst_jasper_dec_set_property (GObject * object, guint prop_id,

View file

@ -49,7 +49,7 @@ static GstStaticPadTemplate gst_jasper_enc_sink_template =
GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB "; " GST_VIDEO_CAPS_BGR "; " GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB "; " GST_VIDEO_CAPS_BGR "; "
GST_VIDEO_CAPS_RGBx "; " GST_VIDEO_CAPS_xRGB "; " GST_VIDEO_CAPS_RGBx "; " GST_VIDEO_CAPS_xRGB "; "
GST_VIDEO_CAPS_BGRx "; " GST_VIDEO_CAPS_xBGR "; " GST_VIDEO_CAPS_BGRx "; " GST_VIDEO_CAPS_xBGR "; "
GST_VIDEO_CAPS_YUV ("{ I420, YV12 }")) GST_VIDEO_CAPS_YUV ("{ I420, YV12, v308 }"))
); );
static GstStaticPadTemplate gst_jasper_enc_src_template = static GstStaticPadTemplate gst_jasper_enc_src_template =