mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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:
parent
d58def621b
commit
747d52adb3
2 changed files with 7 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue