mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
3202938369
The strides that are set from the GstVideoInfo structs are a gsize. Using an int can cause overflows when dealing with large enough images https://bugzilla.gnome.org/show_bug.cgi?id=731195 |
||
---|---|---|
.. | ||
.gitignore | ||
gstvideoscale.c | ||
gstvideoscale.h | ||
gstvideoscaleorc-dist.c | ||
gstvideoscaleorc-dist.h | ||
gstvideoscaleorc.orc | ||
Makefile.am | ||
README | ||
videoscale.vcproj | ||
vs_4tap.c | ||
vs_4tap.h | ||
vs_fill_borders.c | ||
vs_fill_borders.h | ||
vs_image.c | ||
vs_image.h | ||
vs_lanczos.c | ||
vs_scanline.c | ||
vs_scanline.h |
- test different strides using gst-launch -v videotestsrc ! video/x-raw,width=320,height=240,format=UYVY ! videoscale ! video/x-raw,width=328,height=240 ! xvimagesink gst-launch -v videotestsrc ! video/x-raw,width=320,height=240,format=UYVY ! videoscale ! video/x-raw,width=324,height=240 ! xvimagesink gst-launch -v videotestsrc ! video/x-raw,width=320,height=240,format=UYVY ! videoscale ! video/x-raw,width=322,height=240 ! xvimagesink gst-launch -v videotestsrc ! video/x-raw,width=320,height=240,format=UYVY ! videoscale ! video/x-raw,width=321,height=240 ! xvimagesink