aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@collabora.com>2020-07-01 15:16:05 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-07-19 13:25:22 +0200
commite765dba11ec26d7ea42974ec4d470b5ce00be3de (patch)
tree2a1329c8dff5f4a0a5b1791d9fbd1ca0bcfea9ad /tools/perf/scripts/python/export-to-postgresql.py
parenthantro: Rework how encoder and decoder are identified (diff)
downloadwireguard-linux-e765dba11ec26d7ea42974ec4d470b5ce00be3de.tar.xz
wireguard-linux-e765dba11ec26d7ea42974ec4d470b5ce00be3de.zip
hantro: Move hantro_enc_buf_finish to JPEG codec_ops.done
hantro_enc_buf_finish is used only for JPEG, and so should be moved to JPEG codec_ops.done. This cleanup is also taking care of addressing a subtle issue: checking the non-NULL bounce buffer using ctx->jpeg_enc, which is a member of a union is confusing and error-prone. Note that the issue is currently innocuous because an encoder context only supports JPEG. The codec_ops.done has an argument that codec-specific code shouldn't need, so drop that as well. Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> 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