IMX Scaler / CSC m2m driver.

Philipp Zabel p.zabel at pengutronix.de
Mon Mar 23 03:39:30 PDT 2015


Am Freitag, den 20.03.2015, 16:40 +0000 schrieb Ian Molton:
> Another datapoint:
> 
> This pipeline generates good 1080p output:
> -------------------------------------
> 
> gst-launch-1.0 filesrc location= Downloads/big_buck_bunny_1080p_h264.mov ! qtdemux ! h264parse ! v4l2video3videodec capture-io-mode=dmabuf ! videoconvert ! ximagesink sync=false
> 
> 
> 
> This one generates 1080p frames, but they appear to be doubled-up - ie. the vertical resolution is 540ish, but the frame is still 1080 high.
> 
> horizontal resolution looks unaffected.
> -------------------------------------
> 
> gst-launch-1.0 filesrc location= Downloads/big_buck_bunny_1080p_h264.mov ! qtdemux ! h264parse ! v4l2video3videodec capture-io-mode=dmabuf ! v4l2video0convert output-io-mode=dmabuf-import ! video/x-raw,width=1920,height=1080 ! ximagesink sync=false

This is a hardware limintation. The videodec output is 1920x1088 with 8
lines of garbage.
The only way to scale that down to 1920x1080 for the IPU IC is to use
the 2:1 downscaler (to 1920x544) and then use the bilinear upscaler to
scale it back up to 1920x1080.

The decoder output should be cropped to 1920x1080 when feeding it into
the scaler/csc.

regards
Philipp



More information about the gstreamer-devel mailing list