Hi,
thanks for the link to the patch. The patch is useful as it avoids unaligned accesses when creating I420 from 1280x1024 RGB.
However it does not solve my problem when downscaling grayscale 1280x1024 frames to 640x512, thus with a ratio src/dest == 2, for width and height.
I join the the patch for branch imx_4.1.15_1.0.0_ga (tag rel_imx_4.1.15_1.2.0_ga) that I have written to let the capture subsystem accept grayscale sensors, a patch to gstreamer-imx to let imxipuvideotransform accept to work on GRAY frames, and some resulting images, with some variation in the artifact.
I produce the frames using the following gstreamer pipe-line :
gst-launch-1.0 imxv4l2videosrc fps_n=10 ! video/x-raw,format=GRAY8,framerate=10/1,width=1280,height=1024 ! imxipuvideotransform ! video/x-raw,format=GRAY8,width=640,height=512 ! imxvpuenc_mjpeg ! multifilesink location=/tmp/frame%06d.jpg max-files=150