[PATCH 1/2] v4l: vsp1: Add support for colorkey alpha blending

Geert Uytterhoeven geert at linux-m68k.org
Thu May 4 11:22:52 UTC 2017


On Thu, May 4, 2017 at 12:53 PM, agheorghe
<Alexandru_Gheorghe at mentor.com> wrote:
> --- a/include/media/vsp1.h
> +++ b/include/media/vsp1.h
> @@ -32,6 +32,9 @@ struct vsp1_du_atomic_config {
>         struct v4l2_rect dst;
>         unsigned int alpha;
>         unsigned int zpos;
> +       u32 colorkey;
> +       bool colorkey_en;

Please move this bool down, together with the other bool, to reduce
object size due to alignment.

> +       u32 colorkey_alpha;
>         bool interlaced;
>  };

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds


More information about the dri-devel mailing list