v4l2_stateful_encoder: add support for /dev/video-enc1

v4l2_stateful_encoder only supports /dev/video-enc0 but on RK3399,
the VP8 capabilities are only present in /dev/video-enc1. This
CL extends the code to support this secondary dev file. AFAIK
other SoCs using v4l2 do not present several dev files, so I just
added support for these two dev files -- leaving as a TODO to
extend to /dev/video-enc* if and when this is needed.

TEST=emerge+deploy+tast run <hana> video.PlatformEncoding.v4l2_vp8_180

Change-Id: I9ee1e1cb9434c9d92a8681d7e28702b55e8ca734
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/drm-tests/+/3101454
Tested-by: Miguel Casas <mcasas@chromium.org>
Reviewed-by: Fritz Koenig <frkoenig@chromium.org>
Commit-Queue: Miguel Casas <mcasas@chromium.org>
1 file changed