aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-5.15/950-0557-bcm2835-v4l2-codec-Remove-advertised-support-of-VP8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/bcm27xx/patches-5.15/950-0557-bcm2835-v4l2-codec-Remove-advertised-support-of-VP8.patch')
-rw-r--r--target/linux/bcm27xx/patches-5.15/950-0557-bcm2835-v4l2-codec-Remove-advertised-support-of-VP8.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/bcm27xx/patches-5.15/950-0557-bcm2835-v4l2-codec-Remove-advertised-support-of-VP8.patch b/target/linux/bcm27xx/patches-5.15/950-0557-bcm2835-v4l2-codec-Remove-advertised-support-of-VP8.patch
new file mode 100644
index 0000000000..9aa37a0e4d
--- /dev/null
+++ b/target/linux/bcm27xx/patches-5.15/950-0557-bcm2835-v4l2-codec-Remove-advertised-support-of-VP8.patch
@@ -0,0 +1,27 @@
+From e34d315278b4fcdf181fc7bc7406b7f59c70ba3f Mon Sep 17 00:00:00 2001
+From: Dom Cobley <popcornmix@gmail.com>
+Date: Sun, 31 Oct 2021 11:47:59 +0000
+Subject: [PATCH] bcm2835-v4l2-codec: Remove advertised support of VP8
+
+The support for this format by firmware is very limited
+and won't be faster than the arm.
+
+Signed-off-by: Dom Cobley <popcornmix@gmail.com>
+---
+ .../staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c | 5 -----
+ 1 file changed, 5 deletions(-)
+
+--- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
++++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
+@@ -598,11 +598,6 @@ static const struct bcm2835_codec_fmt su
+ .flags = V4L2_FMT_FLAG_COMPRESSED,
+ .mmal_fmt = MMAL_ENCODING_MP2V,
+ }, {
+- .fourcc = V4L2_PIX_FMT_VP8,
+- .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,