diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-30 00:18:47 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-10-31 07:30:21 -0400 |
commit | 3fa013be95bb046490d3b11d546bf06d73c7e0e3 (patch) | |
tree | 6e068b18251d63df422cd43528214f20744fda2f /tools/perf/scripts/python/stat-cpi.py | |
parent | d7ca1c9c15e309344e8dcd19826434359dff33b7 (diff) |
media: st-hva: hva-h264: use swap macro in hva_h264_encode
Make use of the swap macro and remove unnecessary variable tmp_frame.
This makes the code easier to read and maintain.
This code was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions