videoscale: ...and add Y16 case for the linear scaling

This commit is contained in:
Sebastian Dröge 2010-06-13 20:57:19 +02:00
parent c2e01e09c4
commit fa8fd0d7f6

View file

@ -1042,6 +1042,7 @@ gst_video_scale_transform (GstBaseTransform * trans, GstBuffer * in,
break; break;
case GST_VIDEO_FORMAT_GRAY16_LE: case GST_VIDEO_FORMAT_GRAY16_LE:
case GST_VIDEO_FORMAT_GRAY16_BE: case GST_VIDEO_FORMAT_GRAY16_BE:
case GST_VIDEO_FORMAT_Y16:
vs_image_scale_linear_Y16 (&dest, &src, videoscale->tmp_buf); vs_image_scale_linear_Y16 (&dest, &src, videoscale->tmp_buf);
break; break;
case GST_VIDEO_FORMAT_I420: case GST_VIDEO_FORMAT_I420: