aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDafna Hirschfeld <[email protected]>2020-09-01 13:16:03 +0200
committerMauro Carvalho Chehab <[email protected]>2020-09-27 10:57:38 +0200
commit81cdedb0aaccbcd0798d6bcaad7bcc1f1b551ee6 (patch)
tree1dc920e57d9bcb09d6c054b93d9db926b1659da8 /tools/perf/scripts/python/event_analyzing_sample.py
parent57cc666d36adc7b45e37ba4cd7bc4e44ec4c43d7 (diff)
media: staging: rkisp1: cap: change RGB24 format to XBGR32
According to the TRM [1], the YUV->RGB conversion outputs RGB 888 format with 4 bytes, where the last byte is ignored, using big endian representation: |___X___|___R___|___G___|___B___| 31 24 16 8 0 Which matches format V4L2_PIX_FMT_XBGR32 in little endian representation, so replace it accordingly. "24 bit word". What it means is that 4 bytes are used with 24bit for the RGB and the last byte is ignored. This matches format V4L2_PIX_FMT_XBGR32. Signed-off-by: Dafna Hirschfeld <[email protected]> Acked-by: Helen Koike <[email protected]> Reviewed-by: Tomasz Figa <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions