Defy has MT9P012 ImageSensor 720p Video only lib missing?

walter79

Recognized Developer
Dec 18, 2006
4,100
4,618
263
China 2.2 Rom missing some file for 720P

libOMX.TI.720P.Decoder.so and libOMX.TI.720P.Encoder.so


I attached files from Milestone 2:

Maybe sombody have an idea to get 720P on Defy








http://webcache.googleusercontent.c...torola.com/message/307129+&cd=6&hl=de&ct=clnk

from BizzaBoy @ supportforums.motorola.com

"The DEFY camera modules is able to do 720p. It's a MT9P012 according to the boot log.



Looking at the kernel sources on opensource.motorola.com (drivers/media/video/mt9p012.c), there is a FRAME_1296_30FPS mode supported which reads in a 1296x972 frame that would be cropped down to 1280x720. From the code it appears that those smaller modes are achieved by skipping pixels. This also explains why there is no 720x480 mode, just a 648x486 internal mode.



Ok, next looking at TI's OMAP3 literature, it says that it can do up to 720p HD.



So at the end of the day the DEFY *should* do 720p, and a 2.2 update *might* enable that.



I personally would be extatic to have 720p. The DEFY is really mindblowing as a allround device, where I can record videos on our weekly ski-trips, but 640x480 @30fps really, really sucks. 640x480 @60fps would be great, or 720p @30fps. Overall the camera/camcorder interface needs some substantial work. You cannot switch to a explicitie white balance (only auto), which is a pain if you record video where the lighting changes and the camera software tries to readjust the white balance. The other thing that drives me nuts is that you cannot adjust the image quality settings for the jpeg encode. "
 
Last edited:

hunteryezd

Senior Member
Jan 5, 2011
155
15
0
Guangzhou
hi.baidu.com
I found this in china 2.2 Rom.

/etc/cameraCalDef5M.bin and /etc/cameraCalDef8M.bin

Did Defy maybe have 8 MP Camera like Milestone XT720?

I renamed ...CalDef8M to CalDef5M and replaced the original 5M.bin

Camera is a bit faster.

I will search for a better camera app.
This is crazy!! all the stuff cpu overclock 1200Hz, Camara 8 MP, and Gpu!!
Fabulous!!
 

aikidoka90

Senior Member
May 6, 2010
51
1
0
I found this in china 2.2 Rom.

/etc/cameraCalDef5M.bin and /etc/cameraCalDef8M.bin

Did Defy maybe have 8 MP Camera like Milestone XT720?

I renamed ...CalDef8M to CalDef5M and replaced the original 5M.bin

Camera is a bit faster.

I will search for a better camera app.
Are you sure that quality of photos is better now? Have you seen if the resolution is bigger(in details, after take a photo)?

Sent from my MB525 using Tapatalk
 

walter79

Recognized Developer
Dec 18, 2006
4,100
4,618
263
Are you sure that quality of photos is better now? Have you seen if the resolution is bigger(in details, after take a photo)?

Sent from my MB525 using Tapatalk
Resolution is not bigger in default Camera.App But in my opinion cam is a bit faster.
 

dnsdenis

Senior Member
Feb 16, 2009
113
20
0
Near Lille
I've taken 2 photo before and after renaming file, and i get the same photo, with same specification and resolution.

I've also tried with Pro Zoom Camera 5X and with Vignette, i get the same picture...

So i think we have "only" 5Mo in hardware...
 

walter79

Recognized Developer
Dec 18, 2006
4,100
4,618
263
Ok, it a 5MP Cam but 720p should possible.

Have a look to this page. (only google cache)

http://webcache.googleusercontent.c...torola.com/message/307129+&cd=6&hl=de&ct=clnk

"The DEFY camera modules is able to do 720p. It's a MT9P012 according to the boot log.


Looking at the kernel sources on opensource.motorola.com (drivers/media/video/mt9p012.c), there is a FRAME_1296_30FPS mode supported which reads in a 1296x972 frame that would be cropped down to 1280x720. From the code it appears that those smaller modes are achieved by skipping pixels. This also explains why there is no 720x480 mode, just a 648x486 internal mode.


Ok, next looking at TI's OMAP3 literature, it says that it can do up to 720p HD.


So at the end of the day the DEFY *should* do 720p, and a 2.2 update *might* enable that.


I personally would be extatic to have 720p. The DEFY is really mindblowing as a allround device, where I can record videos on our weekly ski-trips, but 640x480 @30fps really, really sucks. 640x480 @60fps would be great, or 720p @30fps. Overall the camera/camcorder interface needs some substantial work. You cannot switch to a explicitie white balance (only auto), which is a pain if you record video where the lighting changes and the camera software tries to readjust the white balance. The other thing that drives me nuts is that you cannot adjust the image quality settings for the jpeg encode. "

Kernel: https://opensource.motorola.com/sf/go/projects.moto_defy/frs.defy_latam.jorla_u3_6_14_5
 
  • Like
Reactions: diamond_lover

racca

Senior Member
Jun 4, 2009
247
85
0
Good, there is still a chance we could get 720p camcorder at some point, since both 3630-800 and MT9P012 are capable of it.
 

Pq2son2

Senior Member
Jan 9, 2010
50
4
0
Our Camera component can't take pictures biggers than 5M, in the other thread that tal about 720p we can found the URL of datasheet component. Here I will try to paste it (remmember, buy a beer to BizzaBoy! :p)

trulydisplays. com/ccm/specs/5.0M%20Sensor%20Aptina%20MT9P012%20Spec.pdf
 
Last edited:

Pq2son2

Senior Member
Jan 9, 2010
50
4
0
I think must be easy modify the Android Kernel to accept the 120FPS but will be more complicated hack the Camera.apk to add this feature.

I would start to hack for HD Video. Maybe will be complicated for the Kernel but easaly for the application.
 
  • Like
Reactions: |ErosizeD|
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone