IMX Scaler / CSC m2m driver.

Ian Molton imolton at ad-holdings.co.uk
Fri Mar 20 08:08:33 PDT 2015


On 19/03/15 15:45, Philipp Zabel wrote:
> Hi Ian,

Hi!

> Since the CODA outputs a height of 1088 pixels (macroblock aligned), the
> scaler tries to downsize 1:8 in your example, which crashes the IPU. (It
> would then upscale the 136 pixel downscale result to 270 pixels using
> bilinear scaling.)

So would I be right in thinking that this test (and comment) are wrong:

    /* Cannot downsize more than 8:1 */
         if ((out_size << 3) < in_size) {
                 dev_err(ipu->dev, "Unsupported downsize\n");
                 return -EINVAL;
         }

(drivers/gpu/ipu-v3/ipu-ic.c)

>> I've also noticed that on some occasions the pipeline refused to run, but
>> choosing different resolutions (and then going back to the one I wanted)
>> seemed to fix it - possibly something uninitialised somewhere?
>
> If you notice next time, would you mind reporting the settings?

I'll let you know what I find :)

-Ian



More information about the gstreamer-devel mailing list