mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-06-17 20:53:59 +02:00
![Álvaro Fernández Rojas](/assets/img/avatar_default.png)
Rebased RPi foundation patches on linux 5.10.59, removed applied and reverted patches, wireless patches and defconfig patches. bcm2708: boot tested on RPi B+ v1.2 bcm2709: boot tested on RPi 4B v1.1 4G bcm2711: boot tested on RPi 4B v1.1 4G Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
30 lines
975 B
Diff
30 lines
975 B
Diff
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 {
|