OSDN Git Service
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Chih-Wei Huang [Fri, 22 Mar 2019 15:53:23 +0000 (23:53 +0800)]
Search more video device nodes
Since the newer kernel may create more than one device nodes for one
camera, the hardcoded device node path is not appropriate.
The patch searches all /dev/video[0-9] and configure up to 3 cameras
if possible. Besides, the facing and orientation could be configured
via the property hal.camera.[0-9].
Chih-Wei Huang [Fri, 22 Mar 2019 07:29:19 +0000 (15:29 +0800)]
Fix memory leaks
Chih-Wei Huang [Tue, 26 Feb 2019 10:08:29 +0000 (18:08 +0800)]
Avoid GNU old-style field designator extension
Chih-Wei Huang [Tue, 26 Feb 2019 10:01:40 +0000 (18:01 +0800)]
Fix implicit conversion from 'double' to 'int'
These parameters should be float.
Chih-Wei Huang [Tue, 26 Feb 2019 09:59:11 +0000 (17:59 +0800)]
Fix unused parameter errors
Chih-Wei Huang [Tue, 26 Feb 2019 09:58:58 +0000 (17:58 +0800)]
Remove unused variables
Chih-Wei Huang [Tue, 26 Feb 2019 09:48:45 +0000 (17:48 +0800)]
Fix invalid characters
Chih-Wei Huang [Wed, 20 Jun 2018 10:04:58 +0000 (18:04 +0800)]
Ignore invalid camera
Michael Goffioul [Fri, 8 Jun 2018 20:02:21 +0000 (13:02 -0700)]
CameraHardware: fix FPS problem
The values reported by Camera.Parameters.getSupportedPreviewFpsRange()
are in actual FPS, while the API expects value to be multiplied by 1000.
This creates a problem in an app that is using Chrome/53 webview,
whereby the webcam is limited to 1fps. The patch fixes it.
Chih-Wei Huang [Wed, 10 May 2017 05:10:08 +0000 (13:10 +0800)]
Improve log
meijjaa [Thu, 31 Dec 2015 10:27:37 +0000 (11:27 +0100)]
Add more missing parameters for Camera2
Edgardo Gho [Fri, 24 Apr 2015 08:25:40 +0000 (16:25 +0800)]
Add missing parameters for Camera2
Chih-Wei Huang [Thu, 6 Nov 2014 03:06:49 +0000 (11:06 +0800)]
enable multiarch builds
Convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH
to support 64-bit targets.
Chih-Wei Huang [Mon, 20 Oct 2014 10:19:43 +0000 (18:19 +0800)]
fix building issues on Android 5.0
Chih-Wei Huang [Sun, 7 Jul 2013 07:26:00 +0000 (15:26 +0800)]
change hal name to avoid conflicting with Android 4.3
Alberto Panizzo [Sun, 7 Jul 2013 07:19:40 +0000 (09:19 +0200)]
CameraFactory: Fix reading camera facing parameter from cfg file
Signed-off-by: Alberto Panizzo <alberto@amarulasolutions.com>
Alberto Panizzo [Sat, 6 Jul 2013 16:27:43 +0000 (18:27 +0200)]
V4L2Camera: Check that the camera accept the frame size as well not only the pixel format
USB UVC cameras may support different frame size sets for
different pixel formats. So do not limitate to check that
the current format is supported and then set the frame size
but check that this frame size _with_ this pixel format works.
Real case is a camera that accepts only QCIF in YUYV but can do
VGA in MJPEG
Signed-off-by: Alberto Panizzo <alberto@amarulasolutions.com>
Alberto Panizzo [Sat, 6 Jul 2013 16:23:53 +0000 (18:23 +0200)]
Allow to set camera orientation (not facing) from cfg file
Signed-off-by: Alberto Panizzo <alberto@amarulasolutions.com>
Chih-Wei Huang [Wed, 20 Feb 2013 07:46:19 +0000 (15:46 +0800)]
change LOGx to ALOGx for jb-x86
By the command: sed -i "s/\(LOG[A-Z]\)/A\1/" *.cpp
Andres Rodriguez [Thu, 19 Apr 2012 15:38:00 +0000 (23:38 +0800)]
Add support for multiple cameras.
The camera layout can be specified in camera.cfg using the following format
$orientation $camerapath
Where orientation can be "front" or "back" and $camerapath is the path to the
V4L device to use as input.
Chih-Wei Huang [Tue, 7 Feb 2012 09:29:05 +0000 (17:29 +0800)]
avoid hardcoding camera power file
The camera power file name is read from the property camera.power_file.
If the property is not set, skip the power on/off steps.
Chih-Wei Huang [Tue, 7 Feb 2012 08:55:49 +0000 (16:55 +0800)]
initial import from WeTab ICS tree
Derived from git://github.com/rbraken/wetab-ICS-device-tree.git
by RvdB
Derived from git://github.com/nopy/android_device_toshiba_betelgeuse.git
by Nicolas Pino
With a lot of cleanup (vim mode: set expandtab ts=4 sw=4 ai; :%retab)