CHROMIUM: [media] rockchip-vpu: Specify frame size ranges per coded format

For some operating modes (namely VP8 decode on RK3399 VPU and VP9 decode
on RK3399 VDEC) the supported frame size range is different than currently
globally hardcoded limits. Let's include the ranges in rockchip_vpu_fmt
struct and specify them for each coded format separately.

BUG=chrome-os-partner:62115
TEST=1080p VP8 stream uses HW decode, 2160p falls back to SW on Kevin.

Change-Id: Ie0274e33535271726ee19021a10850932efd4d66
Signed-off-by: Tomasz Figa <tfiga@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/435059
Reviewed-by: Pawel Osciak <posciak@chromium.org>
(cherry picked from commit 04546ccde2f9fa90c269ca0938f84529e713ba94)
Reviewed-on: https://chromium-review.googlesource.com/435873
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Douglas Anderson <dianders@chromium.org>
6 files changed