History log of /external/qemu/android/camera/camera-capture-linux.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-capture-linux.c
79570c3532503840855517494978082a99543a30 22-Oct-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Fix emulator crash.

Change-Id: I4f238bbd0175036b6003ebdf266de608d6acc6e7
/external/qemu/android/camera/camera-capture-linux.c
04d90d093f6e552c8c0c77f8d4a08344c77a4fca 21-Oct-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Bound loop index

In some cases (when frame sizes for pixel formats are not available) the loop will
be not properly bounded, and may cause a crash.

Change-Id: I2f2380ab4e2f7454bff8eeabcaff4e3f238fe71e
/external/qemu/android/camera/camera-capture-linux.c
cdd8d78b202e005691467296b9be98816ed4d4a9 20-Oct-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Fix emulator crash caused by bad 'printf'

Change-Id: I7c4830ba7606bedcf462e967adad3358723c44ba
/external/qemu/android/camera/camera-capture-linux.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-capture-linux.c
e3b840cfa695c2f0b26625cf01149b9cc9079ce9 23-Sep-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Properly reset camera device between capture requests

Change-Id: Ia748fe3f38e8366d0507fcee995eac311dd8c72a
/external/qemu/android/camera/camera-capture-linux.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-capture-linux.c
b8dcaffaf7dcb0c795d2776abf3bb75196f8527c 17-Sep-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Add -webcam commandline option to control webcam emulation

-webcam name=<name>[,dir=<direction>] options controls web cameras to use for emulation.

Change-Id: I961fd399c7e041541adda040dd24f194cc383cb9
/external/qemu/android/camera/camera-capture-linux.c
ce31fbc48a43ea4265be1d20f157e8749b3e11dd 14-Sep-2011 Vladimir Chtchetkine <vchtchetkine@google.com> Fixes "stop device" issue on Linux

Apparently, video driver doesn't allow frame size change, once it has been
explicitly set. In order to get around this we need to reset the handle to the
camera device by closing, and then reopening it.

Change-Id: Icfd37b3c196d2643507218b965c5015884ed455b
/external/qemu/android/camera/camera-capture-linux.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-capture-linux.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-capture-linux.c