diff options
| author | Xia Jiang <[email protected]> | 2020-08-14 09:11:52 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-08-28 15:33:18 +0200 |
| commit | ac5a59c8bdf2b3b7bf799c6b0926e32b6796bf1c (patch) | |
| tree | fc43b0a285075f0ea60b62d9c15188fa11117f93 /tools/perf/scripts/python | |
| parent | 690345fc7a6238b36052e9593c3315e7a4923000 (diff) | |
media: platform: Refactor mtk_jpeg_find_format()
Delete the unused ctx parameter.
Using mtk_jpeg_formats and num_formats parameters is more generic,
because that jpeg enc will also use it.
Delete the macro definition of MTK_JPEG_FMT_TYPE_OUTPUT and
MTK_JPEG_FMT_TYPE_CAPTURE, because that MTK_JPEG_FMT_FLAG_DEC_OUTPUT
and MTK_JPEG_FMT_FLAG_DEC_CAPTURE are enough.
Reviewed-by: Tomasz Figa <[email protected]>
Signed-off-by: Xia Jiang <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions