[Bug 747225] video-converter: doesn't work properly with GRAY16 formats
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Apr 4 07:02:29 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=747225
--- Comment #4 from RaviKiran <ravi.kiran at samsung.com> ---
Perhaps I should mention non-passthrough mode. I tried with videobox (with
patch attached in bug 737401) with border (any side).
But, if you explicitly disable passthrough in videoconvert element's set_info,
you can reproduce with following pipeline too:
gst-launch-1.0 videotestsrc ! "video/x-raw,format={GRAY16_LE}" ! videoconvert
! "video/x-raw,format={GRAY16_LE}" ! videoconvert ! ximagesink
In gst_video_scaler_2d, n_elems and width multiplier will be 1 for GRAY16
formats. So, for no-scaling case, bytes to memcpy will be 320 instead of 640.
I'm not sure about changing the width multiplier ex: 2 for GRAY16, as it causes
problems while scaling (like crash in video_scale_h_ntap_u16).
In gst_video_scaler_2d no-scaling case, since src_stride = dest_stride, I used
stride for memcpy. For other cases, vscale or hscale will not be NULL.
Let me know if I got something wrong. Thanks.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list