AnsweredAssumed Answered

Issue when downscaling GRAY8 image on iMX6q

Question asked by Philippe De Muyter on Feb 6, 2017
Latest reply on Feb 17, 2017 by Philippe De Muyter

Using an Imx6q custom board based on the sabresd board, and a 4.1.15_1.2.0_ga based kernel, with some patches to accept a grayscale sensor, I run a gstreamer-imx pipeline with a downscale of my 1280x1024 grayscale images to 640x512, and I have noticed artifacts in the result : a repetitive pattern in the first two lines of the result image.  This happens for all images, except the full black ones, and whether I use 0 or IPU_PIX_FMT_GREY as format in the ipu_task for the ioctl.  The downscale I ask is just a division of width and height by a factor 2.  I have attached a full-scale image and the corresponding downscaled image.   Is that a known bug/feature of the IC or is it caused by some bad registers configuration when asking for the conversion ?