Hi,

On Sun, Oct 14, 2012 at 5:22 PM, Luca Barbato <lu_z...@gentoo.org> wrote:
> +    if (isPlanar(dstFormat) && isALPHA(dstFormat) && !alpPixBuf) {
> +        int length = dstW;
> +        int height = dstY - lastDstY;
> +        if (is9_OR_10BPS(dstFormat)) {
> +            const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(dstFormat);
> +            fill_plane9or10(dst[3], dstStride[3], length, height, lastDstY,
> +                            255, desc->comp[3].depth_minus1 + 1,
> +                            isBE(dstFormat));
> +        } else if (is16BPS(c->dstFormat))
> +           length *= 2;
> +
> +        fillPlane(dst[3], dstStride[3], length, height, lastDstY, 255);

Doesn't this call fillPlane, even if we're 9 or 10 bits?

Ronald
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to