aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBenjamin Gaignard <[email protected]>2023-11-09 17:29:23 +0100
committerMauro Carvalho Chehab <[email protected]>2023-11-23 11:59:26 +0100
commita6e86185188c87465402c282fcc612b204602008 (patch)
tree6d4c13d0207afbf7b204512f2cb14c294a2e1756 /tools/perf/scripts/python/export-to-sqlite.py
parent1be718477f29b524becd577f71c815b98fc40788 (diff)
media: mediatek: jpeg: Use vb2_get_buffer() instead of directly access to buffers array
Use vb2_get_buffer() instead of direct access to the vb2_queue bufs array. This allows us to change the type of the bufs in the future. After each call to vb2_get_buffer() we need to be sure that we get a valid pointer so check the return value of all of them. Signed-off-by: Benjamin Gaignard <[email protected]> Reviewed-by: Andrzej Pietrasiewicz <[email protected]> CC: Bin Liu <[email protected]> CC: Matthias Brugger <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions