aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vivid
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-03-11 07:16:03 -0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-04-02 20:03:07 -0400
commit9e1b73cfed2e28061810221467aa3bdd5284cc83 (patch)
treeb44560447f6c11a72d22800295771e4b3289cc6e /drivers/media/platform/vivid
parent8aca230b6d2769a0441782bcba242d0d007f0cea (diff)
[media] vivid: fix format comments
Clarify which formats have an alpha channel and which do not by using 'x' instead of 'a' if there is no alpha channel. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/vivid')
-rw-r--r--drivers/media/platform/vivid/vivid-vid-common.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/media/platform/vivid/vivid-vid-common.c b/drivers/media/platform/vivid/vivid-vid-common.c
index cb73c1ba82b9..453a5ad326f6 100644
--- a/drivers/media/platform/vivid/vivid-vid-common.c
+++ b/drivers/media/platform/vivid/vivid-vid-common.c
@@ -197,7 +197,7 @@ struct vivid_fmt vivid_formats[] = {
197 }, 197 },
198 { 198 {
199 .name = "RGB555 (LE)", 199 .name = "RGB555 (LE)",
200 .fourcc = V4L2_PIX_FMT_RGB555, /* gggbbbbb arrrrrgg */ 200 .fourcc = V4L2_PIX_FMT_RGB555, /* gggbbbbb xrrrrrgg */
201 .vdownsampling = { 1 }, 201 .vdownsampling = { 1 },
202 .bit_depth = { 16 }, 202 .bit_depth = { 16 },
203 .planes = 1, 203 .planes = 1,
@@ -206,7 +206,7 @@ struct vivid_fmt vivid_formats[] = {
206 }, 206 },
207 { 207 {
208 .name = "XRGB555 (LE)", 208 .name = "XRGB555 (LE)",
209 .fourcc = V4L2_PIX_FMT_XRGB555, /* gggbbbbb arrrrrgg */ 209 .fourcc = V4L2_PIX_FMT_XRGB555, /* gggbbbbb xrrrrrgg */
210 .vdownsampling = { 1 }, 210 .vdownsampling = { 1 },
211 .bit_depth = { 16 }, 211 .bit_depth = { 16 },
212 .planes = 1, 212 .planes = 1,
@@ -225,7 +225,7 @@ struct vivid_fmt vivid_formats[] = {
225 }, 225 },
226 { 226 {
227 .name = "RGB555 (BE)", 227 .name = "RGB555 (BE)",
228 .fourcc = V4L2_PIX_FMT_RGB555X, /* arrrrrgg gggbbbbb */ 228 .fourcc = V4L2_PIX_FMT_RGB555X, /* xrrrrrgg gggbbbbb */
229 .vdownsampling = { 1 }, 229 .vdownsampling = { 1 },
230 .bit_depth = { 16 }, 230 .bit_depth = { 16 },
231 .planes = 1, 231 .planes = 1,
@@ -250,7 +250,7 @@ struct vivid_fmt vivid_formats[] = {
250 }, 250 },
251 { 251 {
252 .name = "RGB32 (LE)", 252 .name = "RGB32 (LE)",
253 .fourcc = V4L2_PIX_FMT_RGB32, /* argb */ 253 .fourcc = V4L2_PIX_FMT_RGB32, /* xrgb */
254 .vdownsampling = { 1 }, 254 .vdownsampling = { 1 },
255 .bit_depth = { 32 }, 255 .bit_depth = { 32 },
256 .planes = 1, 256 .planes = 1,
@@ -258,7 +258,7 @@ struct vivid_fmt vivid_formats[] = {
258 }, 258 },
259 { 259 {
260 .name = "RGB32 (BE)", 260 .name = "RGB32 (BE)",
261 .fourcc = V4L2_PIX_FMT_BGR32, /* bgra */ 261 .fourcc = V4L2_PIX_FMT_BGR32, /* bgrx */
262 .vdownsampling = { 1 }, 262 .vdownsampling = { 1 },
263 .bit_depth = { 32 }, 263 .bit_depth = { 32 },
264 .planes = 1, 264 .planes = 1,
@@ -266,7 +266,7 @@ struct vivid_fmt vivid_formats[] = {
266 }, 266 },
267 { 267 {
268 .name = "XRGB32 (LE)", 268 .name = "XRGB32 (LE)",
269 .fourcc = V4L2_PIX_FMT_XRGB32, /* argb */ 269 .fourcc = V4L2_PIX_FMT_XRGB32, /* xrgb */
270 .vdownsampling = { 1 }, 270 .vdownsampling = { 1 },
271 .bit_depth = { 32 }, 271 .bit_depth = { 32 },
272 .planes = 1, 272 .planes = 1,
@@ -274,7 +274,7 @@ struct vivid_fmt vivid_formats[] = {
274 }, 274 },
275 { 275 {
276 .name = "XRGB32 (BE)", 276 .name = "XRGB32 (BE)",
277 .fourcc = V4L2_PIX_FMT_XBGR32, /* bgra */ 277 .fourcc = V4L2_PIX_FMT_XBGR32, /* bgrx */
278 .vdownsampling = { 1 }, 278 .vdownsampling = { 1 },
279 .bit_depth = { 32 }, 279 .bit_depth = { 32 },
280 .planes = 1, 280 .planes = 1,