Skip to content

Commit

Permalink
[media] V4L: sh_mobile_ceu_camera: fix typos in documentation
Browse files Browse the repository at this point in the history
Fix a couple of typos and clarify a formula in sh_mobile_ceu driver
documentation.

Signed-off-by: Guennadi Liakhovetski <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
lyakh authored and Mauro Carvalho Chehab committed Apr 13, 2011
1 parent cb74393 commit d16290d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Documentation/video4linux/sh_mobile_ceu_camera.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Generic scaling / cropping scheme
-1'-

In the above chart minuses and slashes represent "real" data amounts, points and
accents represent "useful" data, basically, CEU scaled amd cropped output,
accents represent "useful" data, basically, CEU scaled and cropped output,
mapped back onto the client's source plane.

Such a configuration can be produced by user requests:
Expand Down Expand Up @@ -65,7 +65,7 @@ Do not touch input rectangle - it is already optimal.

1. Calculate current sensor scales:

scale_s = ((3') - (3)) / ((2') - (2))
scale_s = ((2') - (2)) / ((3') - (3))

2. Calculate "effective" input crop (sensor subwindow) - CEU crop scaled back at
current sensor scales onto input window - this is user S_CROP:
Expand All @@ -80,7 +80,7 @@ window:
4. Calculate sensor output window by applying combined scales to real input
window:

width_s_out = ((2') - (2)) / scale_comb
width_s_out = ((7') - (7)) = ((2') - (2)) / scale_comb

5. Apply iterative sensor S_FMT for sensor output window.

Expand Down

0 comments on commit d16290d

Please sign in to comment.