Test Digital Zoom of Camera Preview

Document created by W.p. Liu Employee on Nov 23, 2012Last modified by W.p. Liu Employee on Apr 1, 2016
Version 8Show Document
  • View in full screen mode

Test digital zoom with ipu for camera preview.

 

Board :sarbre-sd (imx6dq)
BSP   : android 13.4ga

flow1.png

In the above flow, one frame buffer is processed in four steps at camera preview.

Add the step to change the frame buffer before step 4 , the added step which  zoom one preview frame.

 

The figure below shows the crop function of ipu lib, we use this function scale the frame.

corp.bmp

 

Test result:

preview zoom levle 0:

p0.jpg

 

preview zoom level max:

p10.jpg

 

 

When taking pictures with 5M pixels and the zoom is over level 1, the picture size is not 2592x1944 but 2016x1512.

The underlying reason for it is that ipu crop function only supports the 2048x2048 maximum output .

 

Thumbnails of test result :

  picx2.png

3 people found this helpful

Attachments

Outcomes