gst/videotestsrc/videotestsrc.c: May just as well use the precalculated uvstride here.

Original commit message from CVS:
* gst/videotestsrc/videotestsrc.c: (paint_hline_NV12_NV21):
May just as well use the precalculated uvstride here.
This commit is contained in:
Tim-Philipp Müller 2008-05-22 22:35:40 +00:00
parent d58def621b
commit 747d52adb3
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
* gst/videotestsrc/videotestsrc.c: (paint_hline_NV12_NV21):
May just as well use the precalculated uvstride here.
2008-05-22 Jan Schmidt <jan.schmidt@sun.com>
* docs/plugins/Makefile.am:

View file

@ -1078,8 +1078,8 @@ paint_hline_NV12_NV21 (paintinfo * p, int x, int y, int w)
oil_splat_u8_ns (p->yp + offset + x, &p->color->Y, w);
if (uvlength) {
oil_splat_u8 (p->up + offsetuv, 2, &p->color->U, x2 - x1);
oil_splat_u8 (p->vp + offsetuv, 2, &p->color->V, x2 - x1);
oil_splat_u8 (p->up + offsetuv, 2, &p->color->U, uvlength);
oil_splat_u8 (p->vp + offsetuv, 2, &p->color->V, uvlength);
}
}