mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
tests/check/libs/video.c: Update strides for Y41B
This commit is contained in:
parent
92465ba8ac
commit
4db9487a1f
1 changed files with 2 additions and 2 deletions
|
@ -237,9 +237,9 @@ paint_setup_Y41B (paintinfo * p, unsigned char *dest)
|
|||
p->yp = dest;
|
||||
p->ystride = GST_ROUND_UP_4 (p->width);
|
||||
p->up = p->yp + p->ystride * p->height;
|
||||
p->ustride = GST_ROUND_UP_8 (p->width) / 4;
|
||||
p->ustride = GST_ROUND_UP_16 (p->width) / 4;
|
||||
p->vp = p->up + p->ustride * p->height;
|
||||
p->vstride = GST_ROUND_UP_8 (p->width) / 4;
|
||||
p->vstride = GST_ROUND_UP_16 (p->width) / 4;
|
||||
p->endptr = p->vp + p->vstride * p->height;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue