kernel: bump 5.4 to 5.4.36
[openwrt/staging/wigyori.git] / target / linux / bcm27xx / patches-5.4 / 950-0312-staging-bcm2835-codec-Allow-height-of-1920.patch
1 From 59c8c7740d6f236431fa792957fefe9f67611b27 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.org>
3 Date: Fri, 6 Sep 2019 17:24:55 +0100
4 Subject: [PATCH] staging: bcm2835-codec: Allow height of 1920.
5
6 The codec is happy with video up to 1920 high if the width
7 is suitably reduced to stay within level limits. eg 1080x1920
8 is OK to decode.
9
10 Increase the height limit accordingly.
11
12 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
13 ---
14 .../staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 --- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
18 +++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
19 @@ -92,7 +92,7 @@ static const char * const components[] =
20 #define MIN_W 32
21 #define MIN_H 32
22 #define MAX_W 1920
23 -#define MAX_H 1088
24 +#define MAX_H 1920
25 #define BPL_ALIGN 32
26 #define DEFAULT_WIDTH 640
27 #define DEFAULT_HEIGHT 480