mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
videoscale: ...and add Y16 case for the linear scaling
This commit is contained in:
parent
c2e01e09c4
commit
fa8fd0d7f6
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue