diff options
author | Akwasi Boateng <akwasi.boateng@ti.com> | 2011-09-15 11:53:05 -0500 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-10-07 11:02:14 -0700 |
commit | 72b0d2814165e633385bd87a838fc9c3a8250113 (patch) | |
tree | 8bd89c63958d9ce430149729f53fa36b35dd0ef7 /camera/Android.mk | |
parent | 9a412956d5327ec851ff8adc3e9804640fa30c7f (diff) | |
download | omap4xxx-omapzoom-72b0d2814165e633385bd87a838fc9c3a8250113.tar.gz |
omap4xxx: camera: send different preview and video buffers for MMS mode
Fixes b/5265389 b/5156090
1. Add support to send different preview and video buffers to framework in MMS
mode.
2. For resolutions less than or equal to QVGA, preview resolution will be
changed to a bigger resolution matching the aspect ratio of the preview
resolution.
3. During record the changed resolution will be resized to the original
resolution and sent to the encoder.
4. Modified NV12 resizer routine to account for frame offset and stride to
avoid double memcpy of the buffers
Change-Id: If66aa1fd861078d0a63b4a77a1bdc20d4c6bccda
Signed-off-by: Akwasi Boateng <akwasi.boateng@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'camera/Android.mk')
-rw-r--r-- | camera/Android.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/camera/Android.mk b/camera/Android.mk index e6b1b0d5..a84d0f90 100644 --- a/camera/Android.mk +++ b/camera/Android.mk @@ -14,7 +14,8 @@ OMAP4_CAMERA_HAL_SRC := \ CameraProperties.cpp \ MemoryManager.cpp \ Encoder_libjpeg.cpp \ - SensorListener.cpp + SensorListener.cpp \ + NV12_resize.c OMAP4_CAMERA_COMMON_SRC:= \ CameraParameters.cpp \ |