aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorEzequiel Garcia <[email protected]>2019-10-07 19:45:02 +0200
committerMauro Carvalho Chehab <[email protected]>2019-11-10 17:48:56 +0100
commitae02d49493b5d32bb3e035fdeb1655346f5e1ea5 (patch)
tree54f53cffcb0d8642ef4e1464bc44d5b892a897e1 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent59d8bf5ddfcfdd16e4dcb1a23915d09648a05558 (diff)
media: hantro: Fix s_fmt for dynamic resolution changes
Commit 953aaa1492c53 ("media: rockchip/vpu: Prepare things to support decoders") changed the conditions under S_FMT was allowed for OUTPUT CAPTURE buffers. However, and according to the mem-to-mem stateless decoder specification, in order to support dynamic resolution changes, S_FMT should be allowed even if OUTPUT buffers have been allocated. Relax decoder S_FMT restrictions on OUTPUT buffers, allowing a resolution modification, provided the pixel format stays the same. Tested on RK3288 platforms using ChromiumOS Video Decode/Encode Accelerator Unittests. [hverkuil: fix typo: In other -> In order] Fixes: 953aaa1492c53 ("media: rockchip/vpu: Prepare things to support decoders") Signed-off-by: Ezequiel Garcia <[email protected]> Reviewed-by: Boris Brezillon <[email protected]> Cc: <[email protected]> # for v5.4 and up Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions