waleedAhmad1 / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
0 stars 0 forks source link

Some camera resolutions give garbled image #515

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open a Camera object and set the preview resolution to 640x360 or 1280x720
2. Start preview of the camera into a Surface
3. Notice the camera picture

What is the expected output? What do you see instead?
The camera picture should not be distorted, regardless of which of the 
supported preview resolutions are chosen.

What version of the product are you using? On what operating system?
Firmware XE17 (the same was also reproduced on a few preceding versions).

Please provide any additional information below.
Most other resolutions work just fine, including 320x240 and 512x288.

Original issue reported on code.google.com by mar...@martin.st on 12 May 2014 at 8:33

GoogleCodeExporter commented 9 years ago
This is still reproduced on the current latest firware, XE18.11.

Original comment by mar...@martin.st on 24 Jun 2014 at 7:08

GoogleCodeExporter commented 9 years ago
As of XE22, I still see problems with 640x360 and 640x368, with SurfaceView. A 
screenshot is attached. I do not have any problems with 1280x720, 640x480, or 
320x240, however.

640x360 on a SurfaceTexture works fine.

Original comment by james.at...@gmail.com on 3 Dec 2014 at 3:26

Attachments:

GoogleCodeExporter commented 9 years ago
I have the same issue using the 1280x720 preview resolution with a SurfaceView.

Version of the product: XE22

Original comment by marine.w...@gmail.com on 4 Dec 2014 at 1:51

Attachments:

GoogleCodeExporter commented 9 years ago
It turns out that 1280x720 is broken for me as well. I figured out why I had 
thought it was working. In the spot where I am using 1280x720, I start a video 
recording using MediaRecorder as soon as the preview is up and running. There 
is a brief moment where the preview is distorted, but as soon as the recording 
gets underway, the preview gets fixed.

Original comment by james.at...@gmail.com on 5 Dec 2014 at 2:39