mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 05:01:23 +00:00
a5f3d21723
Flesh out the video filter base class. Make it parse the input and output caps and turn them into GstVideoInfo. Map buffers as video frames and pass them to the transform functions. This allows us to also implement the propose and decide_allocation vmethods. Implement the transform size method as well. Update subclasses with the new improvements. |
||
---|---|---|
.. | ||
.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-yuv,width=320,height=240,format=\(fourcc\)UYVY ! videoscale ! video/x-raw-yuv,width=328,height=240 ! xvimagesink gst-launch -v videotestsrc ! video/x-raw-yuv,width=320,height=240,format=\(fourcc\)UYVY ! videoscale ! video/x-raw-yuv,width=324,height=240 ! xvimagesink gst-launch -v videotestsrc ! video/x-raw-yuv,width=320,height=240,format=\(fourcc\)UYVY ! videoscale ! video/x-raw-yuv,width=322,height=240 ! xvimagesink gst-launch -v videotestsrc ! video/x-raw-yuv,width=320,height=240,format=\(fourcc\)UYVY ! videoscale ! video/x-raw-yuv,width=321,height=240 ! xvimagesink