summaryrefslogtreecommitdiffstats
path: root/include/media/tpg
Commit message (Collapse)AuthorAgeFilesLines
* media: include/(uapi/)media: add SPDX license infoHans Verkuil2018-02-141-13/+1
| | | | | | | | Replace the old license information with the corresponding SPDX license for those headers that I authored. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* 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>