summaryrefslogtreecommitdiffstats
path: root/camera
Commit message (Collapse)AuthorAgeFilesLines
* camera: fix large tiler memory leakagesLuden2016-07-261-0/+11
| | | | | | | | This should fix large (>10M) tiler memory leakages that often occur when the camera is closed. There are still smaller leaks left (several 4K pages per run), but these are much less damaging. Change-Id: Icc442407d357eeff4a1bce9edeff0f186f5646d1
* camera: update default zoom in video mode to workaround pink linesZiyan2016-02-103-5/+43
| | | | Change-Id: Ie1001438fb90b8f6a3991a14e0f11968eb2d1ac9
* camera: add Pixel{X,Y}Dimension and Orientation EXIF tagsMichael Gernoth2016-01-172-3/+33
| | | | | | | | These tags are needed by the CM13 camera to not crop images to square when shooting portrait. As the camera HAL already rotated the picture, always set orientation to 0. Change-Id: Id8b6aac5369ae3adfdfec0ec7528edc849bd3b10
* camera: fix build for recent 6.0 releasesZiyan2016-01-171-3/+3
| | | | | | | | Frameworks/native commit e2806cb4456e3815e979f333ed23ec7df591a9ff made SensorManager(const android::String16&) private. Let's use SensorManager& getInstanceForPackage(const String16& packageName) instead.
* camera: fix build for MMZiyan2016-01-172-0/+16
| | | | Change-Id: I1bdd4510dc54517e70b2bc196b6e371520665661
* android-api: add MMZiyan2016-01-171-0/+6
| | | | Change-Id: I0a17b1fd55aa1488e7b8c4cdde4d8aebc02bc6b5
* camera: support tunaZiyan2016-01-036-12/+158
| | | | Change-Id: Id19387b819b2e118234e415b6ea0e229e5e5ac6c
* Add camera sources in-treeZiyan2016-01-0359-0/+42406
| | | | | | From hardware/ti/omap4 revision e57f2b6. Change-Id: I2e6164fdf6c0e2a2e75aee3bba3fe58a9c470add
* Remove common omap4 modulesZiyan2015-04-1146-38059/+0
| | | | | | | | | | | | | | | | | | | | | domx: remove for move to omap4-next edid/hwc: remove for move to omap4-next include / kernel-headers: remove for move to omap4-next libcorkscrew: remove for move to omap4-next libion_ti: remove for move to omap4-next libtiutils: remove for move to omap4-next pvr-source / pvrsrvinit: remove for move to omap4-next remove gralloc symlink for move to omap4-next Change-Id: I1ade011fd5e0adedbcb19cbf941fdde5ef4f96b6 symlinks: remove for move to omap4-next
* omx: remove duplicate OMX headers and refer to originals where neededZiyan2015-04-111-5/+4
| | | | | | | | | | | | | | | | | Now that OMX headers in the framework are very closely matched to TI's ENHANCED_DOMX includes, let's remove the duplicates and stop having to update them any time they change (read: FFMPEG changes). Changes: - Remove all duplicate OMX include files under domx/omx_core/inc - Add include locations to frameworks/native/include/media/openmax for: audio camera domx internals libtiutils Thanks to @Hashcode Change-Id: I38af84f45606fba61058b0d04f941a76f76a15e7
* camera: Remove a lot of cruft tuna doesn't need/support.Kyle Repinski2015-04-1110-19/+112
| | | | | | Looks kinda messy, but runtime results are better. Signed-off-by: Kyle Repinski <repinski23@gmail.com>
* camera: Fix minor bug in a tuna workaround & disable a TI workaround we ↵Kyle Repinski2015-04-111-1/+6
| | | | | | don't need. Signed-off-by: Kyle Repinski <repinski23@gmail.com>
* camera: Clean up some logcat spam.Kyle Repinski2015-04-113-3/+5
| | | | Signed-off-by: Kyle Repinski <repinski23@gmail.com>
* camera: Fix compiler warnings, remove some S3D stuff.Kyle Repinski2015-04-1116-30/+70
| | | | Signed-off-by: Kyle Repinski <repinski23@gmail.com>
* camera: Limit tuna to 2 camera sensors.Kyle Repinski2015-04-111-0/+4
| | | | | | | We were not only attempting to access a mythical third sensor, but also seemed to think it supported STEREO (3D) mode, crashing Ducati. Thanks to @Hashcode, remembered he did something like this for jem a while back.
* camera: Set default resolution back to 320x240.Kyle Repinski2015-04-111-1/+1
| | | | With the capabilities fixed up, I don't think this is needed anymore.
* camera: Forcefully add jpeg picture format to supported formats.Kyle Repinski2015-04-113-2/+30
| | | | | | | | Also a few minor bugfixes/workarounds. All camera apps I've tested (including AOSP and Google Camera) function well now. Few issues left to fix, but this has been very successful so far. Signed-off-by: Kyle Repinski <repinski23@gmail.com>
* camera: Fix more tuna issues, spruce up debugging.Kyle Repinski2015-04-1114-26/+80
| | | | | | | | | | | | | | - Move very verbose logs under new CAMERAHAL_SUPERVERBOSE and co. - Add back 'default focal length', as tuna just reports '.' when trying to auto-fetch it. - Hardcode camera facing values in insertFacing (sensor ID 305 is rear, the other (306) is front). - ifdef out more things that will cause tuna to... lose its gills. - 'Fix' preview resolutions not being inserted. - Enable a few built-in workarounds that were under the 'CAMERAHAL_TUNA' define. At this point, a few intelligent camera apps can handle the camera 'OK'. AF is very spotty. Signed-off-by: Kyle Repinski <repinski23@gmail.com>
* Fix camera build, rename libtiutils.Kyle Repinski2015-04-113-11/+24
| | | | | | | My local make of camera.tuna didn't pick up on a few changes I made to the makefile. Renaming libtiutils as other devices use a libtiutils_custom as well, but ours isn't a 1:1 match with theirs.
* camera: Update camera HAL.Kyle Repinski2015-04-1145-5266/+14368
| | | | | | | OmapZoom p-jb-release branch with 'CameraHal: Camera Capabilities query update' reverted, as well as a bunch of stuff ifdef'd out. Needs a lot of work still. At this point it's a regression, but it has to be done.
* camera: More-or-less disable face detection.Kyle Repinski2015-04-116-6/+24
| | | | This is causing a lot of problems.
* Small domx and camera bugfixes.Kyle Repinski2015-04-111-2/+2
| | | | | Mostly just fixing compiler warnings. Also fixed omx camera proxy trying to use the now-useless gComponentBufferAllocation.
* tuna: add open-source domx/camera stuffZiyann2014-12-1339-0/+28701
Camera is still half-broken. Credits to @MWisBest Change-Id: I87a802abfacaf36ab22676f5284f0cc1996f6b03