diff options
author | Kaaira Gupta <[email protected]> | 2020-07-05 15:53:05 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2020-07-19 13:38:56 +0200 |
commit | 7a785081a16968a28adce223c572111d2d57a83e (patch) | |
tree | 3f165730de0a6ec6e3a7f4fad868f47b146a7bce /drivers/media/test-drivers/vimc/vimc-sensor.c | |
parent | 9dc75e79c0dec0eb9363793efbd5f16d134169dc (diff) |
media: tpg: Add function to return colors' order of test image
Currently there is no method to know the correct order of the colors for
a test image generated by tpg. Write a function that returns a string of
colors' order given a tpg. It returns a NULL pointer in case of test
patterns which do not have a well defined colors' order. Hence add a
NULL check for text in tpg_gen_text().
[hverkuil: white -> White (for consistency)]
Signed-off-by: Kaaira Gupta <[email protected]>
Reviewed-by: Kieran Bingham <[email protected]>
Reviewed-by: Helen Koike <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/test-drivers/vimc/vimc-sensor.c')
0 files changed, 0 insertions, 0 deletions