aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/test-drivers/vimc/vimc-core.c
diff options
context:
space:
mode:
authorKaaira Gupta <[email protected]>2020-07-05 13:53:05 +0000
committerMauro Carvalho Chehab <[email protected]>2020-07-19 11:38:56 +0000
commit7a785081a16968a28adce223c572111d2d57a83e (patch)
tree3f165730de0a6ec6e3a7f4fad868f47b146a7bce /drivers/media/test-drivers/vimc/vimc-core.c
parentmedia: tpg: change char argument to const char (diff)
downloadkernel-7a785081a16968a28adce223c572111d2d57a83e.tar.gz
kernel-7a785081a16968a28adce223c572111d2d57a83e.zip
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-core.c')
0 files changed, 0 insertions, 0 deletions