aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-5.10/950-0504-staging-bcm2835-codec-Add-VC-1-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bcm27xx/patches-5.10/950-0504-staging-bcm2835-codec-Add-VC-1-support.patch')
-rw-r--r--target/linux/bcm27xx/patches-5.10/950-0504-staging-bcm2835-codec-Add-VC-1-support.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-5.10/950-0504-staging-bcm2835-codec-Add-VC-1-support.patch b/target/linux/bcm27xx/patches-5.10/950-0504-staging-bcm2835-codec-Add-VC-1-support.patch
new file mode 100644
index 0000000000..bd70e73997
--- /dev/null
+++ b/target/linux/bcm27xx/patches-5.10/950-0504-staging-bcm2835-codec-Add-VC-1-support.patch
@@ -0,0 +1,29 @@
+From 11bf5a8b401bbc34ace1acd8be9ed4099d95d0b1 Mon Sep 17 00:00:00 2001
+From: Dave Stevenson <dave.stevenson@raspberrypi.com>
+Date: Wed, 10 Mar 2021 19:07:48 +0000
+Subject: [PATCH] staging/bcm2835-codec: Add VC-1 support.
+
+Providing the relevant licence has been purchased, then Pi0-3
+can decode VC-1.
+
+Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
+---
+ .../vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+--- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
++++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
+@@ -576,7 +576,12 @@ static const struct bcm2835_codec_fmt su
+ .depth = 0,
+ .flags = V4L2_FMT_FLAG_COMPRESSED,
+ .mmal_fmt = MMAL_ENCODING_VP8,
+- },
++ }, {
++ .fourcc = V4L2_PIX_FMT_VC1_ANNEX_G,
++ .depth = 0,
++ .flags = V4L2_FMT_FLAG_COMPRESSED,
++ .mmal_fmt = MMAL_ENCODING_WVC1,
++ }
+ };
+
+ struct bcm2835_codec_fmt_list {