aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKaaira Gupta <kgupta@es.iitr.ac.in>2020-07-05 15:53:05 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-07-19 13:38:56 +0200
commit7a785081a16968a28adce223c572111d2d57a83e (patch)
tree3f165730de0a6ec6e3a7f4fad868f47b146a7bce /tools/perf/scripts/python/export-to-postgresql.py
parentmedia: tpg: change char argument to const char (diff)
downloadwireguard-linux-7a785081a16968a28adce223c572111d2d57a83e.tar.xz
wireguard-linux-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 <kgupta@es.iitr.ac.in> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Helen Koike <helen.koike@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions