Jump to content


Photo

Possible new features for the camera

- - - - -

  • Please log in to reply
4 replies to this topic

#1
FelixL

FelixL

    Enthusiast

  • Members
  • PipPipPip
  • 196 posts
  • Location:Germany
  • Devices:San Francisco, Moto Defy
Short notice first: I have no idea what I'm talking about, no knowledge, I just did some research and hope what I found is right.

Although the cam, especially the 3MP-version, is not the best I've seen, I'd like to have all features that are supported by the hardware. The inspiration for this thread came from the Samsung galaxy i7500. On the official Samsung-ROM, the cam was able to do pictures. After they wrote a new driver for the cam (Samsung dind't give any sourcecode for it) they got it working on 2.2, and took the chance to enable everything the hardware can do.
This includes:
- Auto focus mode (Touch to Focus, Autofocus,...)
- Exposure compensation
- Scene mode
- Effects
- Iso
- Meter mode
- Saturation
- Sharpness
- White balance
- Wide Dynamic range
- Image stabilization control
- Face detection
- Zoom

I hope that most of this is possible with the Blade too.
The original thread for the i7500 can be found here:
http://www.drakaz.co....php?id=154&p=7

After searching the web and modaco, I found these informations:
http://android.modac...l-optimization/
The sensor of the 5MP-cam is named "ov5642".

http://www.flickr.co...57624709066177/
The sensor seems to be the sensor of the iPhone 4.
The other parts of the cam seem to be way better. :lol:

http://www.trulydisp.....20Ap Note.pdf
Documentation of the firmware for ov5642. There are some limitations mentioned for autofocus:

OmniVision had built-in the embedded auto focus control in firmware of OV5642. This
document is only for the firmware of this solution. Currently, the auto focus firmware supports
following auto focus camera modules:
1. OV5642 + VCM + AD5820
2. OV5642 + VCM + AD5822
3. OV5642 + VCM + AD5827
4. OV5642 + VCM + DW9710


Does anybody know which auto focus module is built into the blade? Since the blade can do autofocus I think it is one of those, and everything else in the documentation should be possible.

http://boundarydevic...r-under-android
Some information about Android and OV5642, but doesn't seem to be usefull.

So, for the 5MP-cam you can find that it supports AF on different areas in chapter 6 of the firmware guide. This should be enough for Touch-To-Focus.

MT9T112 or MT9T111 is the sensor of the 3MP-cam.
http://android.modac...m-rom-oled-tft/
http://www.aptina.co...00stc/#overview
http://download.micr...9t111_flyer.pdf

Flexible support for external auto focus, optical
zoom, and mechanical shutter


Some random information about aosp and MT9T112
http://android.git.k...54c83cfb533ad14
http://android.git.k...bcdc6b0362a714a

Information for MT9T111: (Warning, 6.5MB!)
http://www.aptina.co...ument.do?id=683
Autofocus is mentioned on page 91.



Now, my question:
Can anyone who has knowledge about those things look into this and tell me what is possible? Don't want to hold you away from fixing the RIL, but maybe there is someone who is great in writing drivers and bad in fixing RIL :)
By the way, is the camera driver of the Blade open source?

Edit: Face Detection:
I don't think the hardware supports it, but shouldn't it be possible to do this in software and autofocus on the region?

Edited by FelixL, 24 January 2011 - 11:46 AM.

  • 0

#2
karololszak

karololszak

    Regular

  • Members
  • PipPip
  • 72 posts
I've found this: http://www.linuxhq.c...video/mt9t112.c - I assume it's a source code of a driver for MT9T111 from the 2.6.37 linux kernel... I hope that this can be of any use :lol:

  • 0

FREE BITCOINS! Yes, we give away bitcoins for absolutely free! Check it out!


#3
oh!dougal

oh!dougal

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,022 posts
  • Location:England
  • Devices:DX2 FroYo San Francisco

this sensor outputs high-quality images at high speeds and can be programmed through a simple two-wire serial interface.

http://www.aptina.co...00stc/#overview

I had noticed that our phones were said to have an I2C bus in there somewhere ...

  • 0

#4
FelixL

FelixL

    Enthusiast

  • Members
  • PipPipPip
  • 196 posts
  • Location:Germany
  • Devices:San Francisco, Moto Defy

http://www.aptina.co...00stc/#overview

I had noticed that our phones were said to have an I2C bus in there somewhere ...


I didn't want to write a new firmware for the sensor :lol:

  • 0

#5
eelchaa

eelchaa

    Newbie

  • Members
  • Pip
  • 1 posts
  • Devices:null

Short notice first: I have no idea what I'm talking about, no knowledge, I just did some research and hope what I found is right.

Although the cam, especially the 3MP-version, is not the best I've seen, I'd like to have all features that are supported by the hardware. The inspiration for this thread came from the Samsung galaxy i7500. On the official Samsung-ROM, the cam was able to do pictures. After they wrote a new driver for the cam (Samsung dind't give any sourcecode for it) they got it working on 2.2, and took the chance to enable everything the hardware can do.
This includes:
- Auto focus mode (Touch to Focus, Autofocus,...)
- Exposure compensation
- Scene mode
- Effects
- Iso
- Meter mode
- Saturation
- Sharpness
- White balance
- Wide Dynamic range
- Image stabilization control
- Face detection
- Zoom

I hope that most of this is possible with the Blade too.
The original thread for the i7500 can be found here:
http://www.drakaz.co....php?id=154&p=7

After searching the web and modaco, I found these informations:
http://android.modac...l-optimization/
The sensor of the 5MP-cam is named "ov5642".

http://www.flickr.co...57624709066177/
The sensor seems to be the sensor of the iPhone 4.
The other parts of the cam seem to be way better. :lol:

http://www.trulydisp.....20Ap Note.pdf
Documentation of the firmware for ov5642. There are some limitations mentioned for autofocus:
Does anybody know which auto focus module is built into the blade? Since the blade can do autofocus I think it is one of those, and everything else in the documentation should be possible.

http://boundarydevic...r-under-android
Some information about Android and OV5642, but doesn't seem to be usefull.

So, for the 5MP-cam you can find that it supports AF on different areas in chapter 6 of the firmware guide. This should be enough for Touch-To-Focus.

MT9T112 or MT9T111 is the sensor of the 3MP-cam.
http://android.modac...m-rom-oled-tft/
http://www.aptina.co...00stc/#overview
http://download.micr...9t111_flyer.pdf
Some random information about aosp and MT9T112
http://android.git.k...54c83cfb533ad14
http://android.git.k...bcdc6b0362a714a

Information for MT9T111: (Warning, 6.5MB!)
http://www.aptina.co...ument.do?id=683
Autofocus is mentioned on page 91.
Now, my question:
Can anyone who has knowledge about those things look into this and tell me what is possible? Don't want to hold you away from fixing the RIL, but maybe there is someone who is great in writing drivers and bad in fixing RIL :)
By the way, is the camera driver of the Blade open source?

Edit: Face Detection:
I don't think the hardware supports it, but shouldn't it be possible to do this in software and autofocus on the region?



Do you want to take a look on Camera 360, buddy? It probably does most of it. I'm nobody being professional here. Just passing by, hope it helps!

Edited by eelchaa, 25 January 2011 - 11:49 AM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users