aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJernej Skrabec <[email protected]>2022-06-20 18:55:14 +0100
committerMauro Carvalho Chehab <[email protected]>2022-07-17 11:05:13 +0100
commit4af46bcc49152fc8a68a6bc5b5a2ca8a3c6db439 (patch)
tree068f6172c6689acbf517fcb773b661a030717e7c /tools/perf/scripts/python
parent1f258653e16c24489c4e468564e45348c8b7674b (diff)
media: cedrus: Add error handling for failed setup
During decoding setup stage for complex codecs like HEVC driver can detect inconsistent values in controls or some other task, like allocating memory, can fail. Currently setup stage has no way of signalling error. Change return type of setup callback to int and if returned value is not zero, skip decoding and finish job immediately with error flag. While currently there is only one place when setup can fail, it's expected that there will be more such cases in the future, when HEVC decoding is improved. Signed-off-by: Jernej Skrabec <[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')
0 files changed, 0 insertions, 0 deletions