History log of /external/qemu/android/camera/camera-format-converters.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
37fb84f8b26e3061c1ccb404bf4c962eed5e6057 23-Nov-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Implements white balance and exposure compensation for emulated webcam

Change-Id: Id2dbb227280f0c0e1b5708ef78b9f19b087f92d5
/external/qemu/android/camera/camera-format-converters.c
c68dbbef0118eab4256acfc0d9430f0e557a82a1 23-Sep-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Timeout frame capturing.

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
/external/qemu/android/camera/camera-format-converters.c
ddd59b14583126d6282d2fab3142171934981e85 21-Sep-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Fix NV12, and NV21 format descriptors

Also adds support for YU12 pixel format that is used in video frames

Change-Id: I613beef8b3e2296fd1fab7e2b9d2956fba1ac788
/external/qemu/android/camera/camera-format-converters.c
26fafb586bdb4f0d82d13bf4bde882d3f51fc939 20-Sep-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Implements converters for BAYER pixel format

Change-Id: I68abaa8b89e2b46dc57bff1d7dbd6d9fda213dc8
/external/qemu/android/camera/camera-format-converters.c
d6362e54b7b116a42d45a1ef499ff180548c7674 17-Sep-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Refactor the converters to make them more manageable

The current conversion implementation was laking flexibility as far as adding support
for new formats was concerned. In particular, adding support for each new format meant
adding four converter routines: new format <--> RGB, new format <--> YUV. This was not
scalable, so had to be rewritten.

The new conversion implementation consists of four generic converters between different
flavors og RGB/YUV formats, and array of descriptors for each supported format. Each
descriptor contains information that is sufficient for the converter routines to perform
its job. So, adding new format is just creating a new descriptor for that format, and
adding it to the array of supported descriptors.

Change-Id: Ica107d14fa03fa8f41eb9192f2c023a97f54b62c
/external/qemu/android/camera/camera-format-converters.c
916106df33bcbceceb81b582a331915f487ea21e 16-Sep-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Add support for NV21, and NV12 formats

Change-Id: I4bea0f3678b2ac21f3c6cf80581e997145e2a58d
/external/qemu/android/camera/camera-format-converters.c
cf1c2c70dd99e7d78816ba9a558f9ed8c016862b 04-Sep-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Implements camera service in emulator

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
/external/qemu/android/camera/camera-format-converters.c
88fceb022e53ede2f6a7e57a8cbd63f5ac2e1bb3 24-Aug-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Fix the darwin build

Change-Id: I87bd356f7673bdbcc8e5f196f4a89182b3a36cbe
/external/qemu/android/camera/camera-format-converters.c
0620f37593cc760cfab891defeff04e00be09260 24-Aug-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Fix the build by #ifdefing linux-only includes

Change-Id: Ia4b6b45ad305307f28858f834f284b07be7d134d
/external/qemu/android/camera/camera-format-converters.c
4ed09fd35085c96ae8edbda87757187f75eeac8d 18-Aug-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Video capturing code for Linux, and Windows

Contains API that connects to a camera device, and pulls video frames from it
on request from the client.

Change-Id: If1d80c57611afff637a7734ce5c3a2c874cfc85a
/external/qemu/android/camera/camera-format-converters.c