• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.
Sign in to follow this  
Followers 0

camera iso translation

13 posts in this topic

Posted · Report post

Hi,

Any digital camera experts here? Does anyone know how to translate the camera app's ISO number to a structure that can be passed on to the camera sensor? Is mt9p012_set_pict_exp_gain() or mt9p012_write_exp_gain() in the camera driver used for this exposure? If anyone knows please do let me know. Thanks.

3

Share this post


Link to post
Share on other sites

Posted · Report post

Hi parvata, i tried to fix videocamera in CM7.2 and i did with this method:

Take this files from LiquidNext 1.9.2

- /system/etc/media_profiles.xml

- /system/lib/liboemcamera.so

- /system/lib/libOmxCore.so

- /system/lib/libOmxVdec.so

- /system/lib/libOmxWmaDec.so

- /system/lib/libOmxWmvDec.so

Now delete this files from CM7.2 (i tried with CM7.2 v2). There is other files libOmx*.so, delete all.

Push the files with adb or root explorer (changing permits in rw-r--r--) and reboot.

In CM9 don't works but maybe might be useful

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hi alboz83,

Thanks for the reply. The changes look like they apply to video recording specific. Actually I am looking for still pictures. Also I believe the liboemcamera.so (md5sum 4449c7e27dd4ee18fbdd7ade3d2fe9c9) is the same regardless of which ROM you are using. I verified that the md5sum for the oemcamera library is the same for cm9. Your post will be helpful once I start working on video capture. Thanks.

1

Share this post


Link to post
Share on other sites

Posted · Report post

Ok i hope that you fix camera and video soon :) for me cm9 works well a part flickering, a few slow open applications and camcorder.

0

Share this post


Link to post
Share on other sites

Posted · Report post

Any news about camera?

0

Share this post


Link to post
Share on other sites

Posted · Report post

yes, made some progress. Can capture pictures with library compiled from source. However, still trying to get zoom working. Appears you need some algorithm to implement the zoom feature. This algorithm is qualcomm proprietary. Even the ISO looks like the same way. But can make it to work with a default ISO. Implemented touch to focus. Currently working on camcorder. Spent a lot of days pulling my hair to get the zoom and iso without any +ve results. Also mailed the acer kernel devs. without any response :(.

3

Share this post


Link to post
Share on other sites

Posted · Report post

yes, made some progress. Can capture pictures with library compiled from source. However, still trying to get zoom working. Appears you need some algorithm to implement the zoom feature. This algorithm is qualcomm proprietary. Even the ISO looks like the same way. But can make it to work with a default ISO. Implemented touch to focus. Currently working on camcorder. Spent a lot of days pulling my hair to get the zoom and iso without any +ve results. Also mailed the acer kernel devs. without any response :(.

Thank for your works, i hope to have the camera and camcorder working well. But now, without zoom, works better? Because i never used zoom

1

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Thank for your works, i hope to have the camera and camcorder working well. But now, without zoom, works better? Because i never used zoom

I wouldn't say it works better or worse but it is comparable. I think once I get camcorder working you can see some difference. In camera there is not much you can do except some minor tweaks. Because of the proprietary qualcomm algorithms that I mentioned earlier. I really wish I had the zoom working because that was the main reason I took up this work :unsure: .

Edited by parvata
4

Share this post


Link to post
Share on other sites

Posted · Report post

We all hope in a camera and camcorder working well. I would try to fix camcorder but my fix for cm7.2 don't works and i don't know what to do.

With a good camera and camcorder, CM9 would be almost perfect

0

Share this post


Link to post
Share on other sites

Posted · Report post

up

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

up

can you tell us what you meant? If you did not notice I have started making check-ins to the libcamera source into thepasto's github. All the code is there now. Only thing is you need to include the Android.mk file in the right location and then replace the generated libcamera.so file in /system/lib and reboot android. At the moment you can capture pictures and also record video. However camcorder is very slow and when the ISO is set to Auto mode the thumbnail preview has a green tint. The picture is fine though. When you change the ISO to 400 all is well. So, have patience. I am working on fixing these. I will also be checking in some kernel changes that I have had for a long time. These changes will improve the battery life a bit. Let me know if you have any questions.

Edited by parvata
2

Share this post


Link to post
Share on other sites

Posted · Report post

i think ccorasaa mean is thumb up!

i am looking forward on this improment, too.

1

Share this post


Link to post
Share on other sites

Posted · Report post

can you tell us what you meant? If you did not notice I have started making check-ins to the libcamera source into thepasto's github. All the code is there now. Only thing is you need to include the Android.mk file in the right location and then replace the generated libcamera.so file in /system/lib and reboot android. At the moment you can capture pictures and also record video. However camcorder is very slow and when the ISO is set to Auto mode the thumbnail preview has a green tint. The picture is fine though. When you change the ISO to 400 all is well. So, have patience. I am working on fixing these. I will also be checking in some kernel changes that I have had for a long time. These changes will improve the battery life a bit. Let me know if you have any questions.

i think ccorasaa mean is thumb up!

i am looking forward on this improment, too.

up = "thumb up!"

Parvata you are great! I'll donate to you ;)

1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.