projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b702090
)
camera:fix 2928 digitzoom erro of selected zone.
author
zyc
<zyc@rock-chips.com>
Tue, 15 Jan 2013 03:34:26 +0000
(11:34 +0800)
committer
zyc
<zyc@rock-chips.com>
Tue, 15 Jan 2013 03:34:26 +0000
(11:34 +0800)
drivers/media/video/rk30_camera_oneframe.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/rk30_camera_oneframe.c
b/drivers/media/video/rk30_camera_oneframe.c
index de2385d279cb735e61d60903f75a867b21efc525..d62c13f4ab4078253155d661055b1e19979d031a 100755
(executable)
--- a/
drivers/media/video/rk30_camera_oneframe.c
+++ b/
drivers/media/video/rk30_camera_oneframe.c
@@
-1043,8
+1043,8
@@
static int rk_camera_scale_crop_arm(struct work_struct *work)
cropW = pcdev->zoominfo.a.c.width;
cropH = pcdev->zoominfo.a.c.height;
- psY = psY + (srcW-cropW);
- psUV = psUV + (srcW-cropW);
+ psY = psY + (srcW-cropW)
/2
;
+ psUV = psUV + (srcW-cropW)
/2
;
vb_info = pcdev->vbinfo+vb->i;
dst_phy = vb_info->phy_addr;