v4l2_stateful_encoder: Prepend SPSPPS_TO_IDR for RK3399

This CL enables the V4L2_CID_MPEG_VIDEO_PREPEND_SPSPPS_TO_IDR
which is needed for rockchip to produce encoded H264 bitstream
that are recognisable by decoding tools such as e.g.
openh264dec.
This was already proposed in https://crrev.com/c/3152406 but
dropped by mistake.

BUG=b:198199171
TEST=tast run <kevin> video.PlatformEncoding.v4l2_h264_*

Change-Id: Ib445c6c2baab3e7943c1af723aa7de48d5539693
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/drm-tests/+/3176398
Tested-by: Miguel Casas <mcasas@chromium.org>
Reviewed-by: Nathan Hebert <nhebert@chromium.org>
Reviewed-by: Steve Cho <stevecho@chromium.org>
Commit-Queue: Miguel Casas <mcasas@chromium.org>
Commit-Queue: Steve Cho <stevecho@chromium.org>
1 file changed