brcm2708: update 3.10 patches with raspberrypi/rpi-3.10.y of 27 Apr. 2014
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-3.10 / 0178-V4L2-Increase-the-number-of-image-buffers-for-high-f.patch
1 From 4f4423e1198b3b76c2dfa2820c2ccb3345df4105 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dsteve@broadcom.com>
3 Date: Fri, 14 Mar 2014 17:02:45 +0000
4 Subject: [PATCH 178/196] V4L2: Increase the number of image buffers for high
5 fps
6
7 Increase the number of image buffers available to improve
8 performance at high framerates.
9
10 Signed-off-by: Dave Stevenson <dsteve@broadcom.com>
11 ---
12 drivers/media/platform/bcm2835/bcm2835-camera.c | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/drivers/media/platform/bcm2835/bcm2835-camera.c b/drivers/media/platform/bcm2835/bcm2835-camera.c
16 index 3dea993..b6880cc 100644
17 --- a/drivers/media/platform/bcm2835/bcm2835-camera.c
18 +++ b/drivers/media/platform/bcm2835/bcm2835-camera.c
19 @@ -1330,7 +1330,7 @@ static int set_camera_parameters(struct vchiq_mmal_instance *instance,
20 .one_shot_stills = 1,
21 .max_preview_video_w = 1920,
22 .max_preview_video_h = 1088,
23 - .num_preview_video_frames = 3,
24 + .num_preview_video_frames = 6,
25 .stills_capture_circular_buffer_height = 0,
26 .fast_preview_resume = 0,
27 .use_stc_timestamp = MMAL_PARAM_TIMESTAMP_MODE_RAW_STC
28 --
29 1.9.1
30