summaryrefslogtreecommitdiffstats
path: root/include/media/tpg
Commit message (Collapse)AuthorAgeFilesLines
* media: v4l2-tpg: use __u16 instead of int for struct tpg_rbg_color16Mauro Carvalho Chehab2017-12-181-1/+1
| | | | | | | | | Despite the struct says "color16", it was actually using 32 bits for each color. Fix it. Suggested-by: Hans Verkuil <hverkuil@xs4all.nl> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* media: v4l2-tpg.h: rename color structsMauro Carvalho Chehab2017-12-181-4/+4
| | | | | | | | | | | | | | 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 <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* media: v4l2-tpg*.h: move headers to include/media/tpg and merge themMauro Carvalho Chehab2017-12-181-0/+662
The v4l2-tpg*.h headers are meant to be used only internally by vivid and vimc. There's no sense keeping them together with the V4L2 kAPI headers. Also, one header includes the other as they're meant to be used together. So, merge them. Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
OpenPOWER on IntegriCloud