summaryrefslogtreecommitdiffstats
path: root/camera/BaseCameraAdapter.cpp
diff options
context:
space:
mode:
authorAkwasi Boateng <akwasi.boateng@ti.com>2011-10-06 16:06:30 +0300
committerIliyan Malchev <malchev@google.com>2011-12-01 10:40:03 -0800
commit130ed815e4cea7c2906a1e1f0d665c2f94b690f5 (patch)
tree065544b5c265bdac9978bce37c33ba86b0b86edf /camera/BaseCameraAdapter.cpp
parent2d4c8b133ded22fdc01f06e06faa454b8cda0f27 (diff)
downloadhardware_ti_omap4xxx-130ed815e4cea7c2906a1e1f0d665c2f94b690f5.tar.gz
hardware_ti_omap4xxx-130ed815e4cea7c2906a1e1f0d665c2f94b690f5.tar.bz2
hardware_ti_omap4xxx-130ed815e4cea7c2906a1e1f0d665c2f94b690f5.zip
CameraHAL: Fixes a small crop issue
- The offset variables 'mXOff' and 'mYOff' in ANativeDisplayAdapter are always initialized to zero. If the offset of the incoming preview buffer is zero and the viewable preview resolution is smaller than the actual preview buffer resolution, then the crop will not get configured properly. Signed-off-by: Emilian Peev <epeev@mm-sol.com> Signed-off-by: Vicky Martinez-DeFrain <a0869710@ti.com> Signed-off-by: Akwasi Boateng <akwasi.boateng@ti.com> Signed-off-by: Iliyan Malchev <malchev@google.com> Change-Id: Ib321f17566d253dd65dc4c6d20bf748a9a4c614b
Diffstat (limited to 'camera/BaseCameraAdapter.cpp')
0 files changed, 0 insertions, 0 deletions