summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-3.10/0178-V4L2-Increase-the-number-of-image-buffers-for-high-f.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2014-09-27 19:10:51 +0000
committerFlorian Fainelli <florian@openwrt.org>2014-09-27 19:10:51 +0000
commit6918ea2484861cbf806c812b95a814ab40063c05 (patch)
tree3f4d53baabebad9339cadd1bbfaaf07ed61b9c1e /target/linux/brcm2708/patches-3.10/0178-V4L2-Increase-the-number-of-image-buffers-for-high-f.patch
parentff6b0d57b8e4dd9c72b13ac0586c523c8d6e8841 (diff)
downloadmaster-31e0f0ae-6918ea2484861cbf806c812b95a814ab40063c05.tar.gz
master-31e0f0ae-6918ea2484861cbf806c812b95a814ab40063c05.tar.bz2
master-31e0f0ae-6918ea2484861cbf806c812b95a814ab40063c05.zip
brcm2708: update 3.10 patches with raspberrypi/rpi-3.10.y of 27 Apr. 2014
Update the 3.10 rasperry patches by rebasing raspberry/rpi-3.10-y against linux-stable/v3.10.49. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 42678
Diffstat (limited to 'target/linux/brcm2708/patches-3.10/0178-V4L2-Increase-the-number-of-image-buffers-for-high-f.patch')
-rw-r--r--target/linux/brcm2708/patches-3.10/0178-V4L2-Increase-the-number-of-image-buffers-for-high-f.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-3.10/0178-V4L2-Increase-the-number-of-image-buffers-for-high-f.patch b/target/linux/brcm2708/patches-3.10/0178-V4L2-Increase-the-number-of-image-buffers-for-high-f.patch
new file mode 100644
index 0000000000..11978b1010
--- /dev/null
+++ b/target/linux/brcm2708/patches-3.10/0178-V4L2-Increase-the-number-of-image-buffers-for-high-f.patch
@@ -0,0 +1,30 @@
+From 4f4423e1198b3b76c2dfa2820c2ccb3345df4105 Mon Sep 17 00:00:00 2001
+From: Dave Stevenson <dsteve@broadcom.com>
+Date: Fri, 14 Mar 2014 17:02:45 +0000
+Subject: [PATCH 178/196] V4L2: Increase the number of image buffers for high
+ fps
+
+Increase the number of image buffers available to improve
+performance at high framerates.
+
+Signed-off-by: Dave Stevenson <dsteve@broadcom.com>
+---
+ drivers/media/platform/bcm2835/bcm2835-camera.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/media/platform/bcm2835/bcm2835-camera.c b/drivers/media/platform/bcm2835/bcm2835-camera.c
+index 3dea993..b6880cc 100644
+--- a/drivers/media/platform/bcm2835/bcm2835-camera.c
++++ b/drivers/media/platform/bcm2835/bcm2835-camera.c
+@@ -1330,7 +1330,7 @@ static int set_camera_parameters(struct vchiq_mmal_instance *instance,
+ .one_shot_stills = 1,
+ .max_preview_video_w = 1920,
+ .max_preview_video_h = 1088,
+- .num_preview_video_frames = 3,
++ .num_preview_video_frames = 6,
+ .stills_capture_circular_buffer_height = 0,
+ .fast_preview_resume = 0,
+ .use_stc_timestamp = MMAL_PARAM_TIMESTAMP_MODE_RAW_STC
+--
+1.9.1
+