| 43feabdb | 09-Oct-2017 |
Mauro Carvalho Chehab <[email protected]> |
media: v4l2-tpg: use __u16 instead of int for struct tpg_rbg_color16
Despite the struct says "color16", it was actually using 32 bits for each color. Fix it.
Suggested-by: Hans Verkuil <hverkuil@xs
media: v4l2-tpg: use __u16 instead of int for struct tpg_rbg_color16
Despite the struct says "color16", it was actually using 32 bits for each color. Fix it.
Suggested-by: Hans Verkuil <[email protected]> Acked-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
show more ...
|
| b29fd563 | 09-Oct-2017 |
Mauro Carvalho Chehab <[email protected]> |
media: v4l2-tpg.h: rename color structs
The color structs right now are just "color" and "color16". That may lead into conflicts, and don't define precisely what they meant. As those are used by two
media: v4l2-tpg.h: rename color structs
The color structs right now are just "color" and "color16". That may lead into conflicts, and don't define precisely what they meant. As those are used by two drivers (vivid and vimc), this is even on a somewhat public header!
So rename them to: color -> tpg_rbg_color8 color16 -> tpg_rbg_color16
Acked-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
show more ...
|