mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
colorspace: Only do the I420->YUY2 conversion once per scanline in the fast path
This commit is contained in:
parent
ba35b17b98
commit
e49aa545d0
1 changed files with 0 additions and 6 deletions
|
@ -750,12 +750,6 @@ convert_I420_YUY2 (ColorspaceConvert * convert, guint8 * dest, guint8 * src)
|
|||
FRAME_GET_LINE (src, 0, i + 1),
|
||||
FRAME_GET_LINE (src, 1, i >> 1),
|
||||
FRAME_GET_LINE (src, 2, i >> 1), (convert->width + 1) / 2);
|
||||
cogorc_convert_I420_YUY2 (FRAME_GET_LINE (dest, 0, i),
|
||||
FRAME_GET_LINE (dest, 0, i + 1),
|
||||
FRAME_GET_LINE (src, 0, i),
|
||||
FRAME_GET_LINE (src, 0, i + 1),
|
||||
FRAME_GET_LINE (src, 1, i >> 1),
|
||||
FRAME_GET_LINE (src, 2, i >> 1), (convert->width + 1) / 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue