aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJames Cowgill <[email protected]>2021-11-11 23:01:08 +0100
committerMauro Carvalho Chehab <[email protected]>2021-11-30 12:08:23 +0100
commit41479adb5e52998ecf690b46164fffea3f5d65fd (patch)
tree134cb3fe65b88ccd32410922a6f61b87677d7182 /tools/perf/scripts/python/exported-sql-viewer.py
parent615c6f28b9ad7efc9bfbef2cafc6a0c5bc0c21e0 (diff)
media: hantro: Avoid global variable for jpeg quantization tables
On a system with multiple encoders present, it's possible for two encoders to write to the global luma and chroma quantization tables at the same time if they both submit a JPEG frame to be encoded. Avoid this race by moving the tables into the `jpeg_ctx` structure which is stored on the stack. Signed-off-by: James Cowgill <[email protected]> Reviewed-by: Ezequiel Garcia <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions