mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 13:11:06 +00:00
[MOVED FROM BAD 35/68] colorspace: Only do the I420->YUY2 conversion once per scanline in the fast path
This commit is contained in:
parent
cb4a45bfbd
commit
2c542f083b
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