aboutsummaryrefslogtreecommitdiffstats
path: root/android/camera/camera-common.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix windows buildVladimir Chtchetkine2011-09-231-1/+1
| | | | Change-Id: I7387eea3639d63b278b702100ee2d4584f87f4e2
* Timeout frame capturing.Vladimir Chtchetkine2011-09-231-0/+26
| | | | | | | | | | | It has been observed on some of the MS camera devices, that device may got stuck on something that would alwais return EAGAIN when queried for the next video frame. This requires us to timeout the loop that repeats attempts to acquire first frame from the device. Also added detection and reporting of I/O errors occurred during frame capturing. Also, this CL contains some cosmetick changes to error and warning reporting. Change-Id: I81edaf5ff8bfe147dbe4510e1446e77a87817f37
* Implements converters for BAYER pixel formatVladimir Chtchetkine2011-09-211-1/+33
| | | | Change-Id: I68abaa8b89e2b46dc57bff1d7dbd6d9fda213dc8
* Add -webcam commandline option to control webcam emulationVladimir Chtchetkine2011-09-201-0/+8
| | | | | | -webcam name=<name>[,dir=<direction>] options controls web cameras to use for emulation. Change-Id: I961fd399c7e041541adda040dd24f194cc383cb9
* Implements camera service in emulatorVladimir Chtchetkine2011-09-121-15/+99
| | | | | | | | | | | | This is fully functional camera service implementation, that works (tested) on both, Linux and Windows. Fixed little/big endian bugs in the coverter code. Moved preview frames to use RGB32 instead of RGB565: RGB32 conversions are simpler and faster in the guest. Made "payload size send" a separate routine Change-Id: I96954f4c2cb4e4ef4dd6a20e41897d79c5037bae
* Fix the darwin buildVladimir Chtchetkine2011-08-241-1/+4
| | | | Change-Id: I87bd356f7673bdbcc8e5f196f4a89182b3a36cbe
* Fix build break: make sure darwin build picks up on required declarationsVladimir Chtchetkine2011-08-241-2/+2
| | | | Change-Id: I801d56668d8591e599994c65fb47b9c3ea77ff73
* Video capturing code for Linux, and WindowsVladimir Chtchetkine2011-08-181-0/+53
Contains API that connects to a camera device, and pulls video frames from it on request from the client. Change-Id: If1d80c57611afff637a7734ce5c3a2c874cfc85a