Jump to content


Photo

camera iso translation

- - - - -

  • Please log in to reply
12 replies to this topic

#1
parvata

parvata

    Regular

  • Members
  • PipPip
  • 138 posts
  • Devices:liquid E
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
Keeping the Acer development alive takes a lot of time and effort. Kindly consider supporting my contributions towards Acer development now and into the future.
Posted Image

#2
alboz83

alboz83

    Enthusiast

  • Members
  • PipPipPip
  • 252 posts
  • Gender:Male
  • Devices:Samsung Galaxy Nexus
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

#3
parvata

parvata

    Regular

  • Members
  • PipPip
  • 138 posts
  • Devices:liquid E
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
Keeping the Acer development alive takes a lot of time and effort. Kindly consider supporting my contributions towards Acer development now and into the future.
Posted Image

#4
alboz83

alboz83

    Enthusiast

  • Members
  • PipPipPip
  • 252 posts
  • Gender:Male
  • Devices:Samsung Galaxy Nexus
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

#5
alboz83

alboz83

    Enthusiast

  • Members
  • PipPipPip
  • 252 posts
  • Gender:Male
  • Devices:Samsung Galaxy Nexus
Any news about camera?

  • 0

#6
parvata

parvata

    Regular

  • Members
  • PipPip
  • 138 posts
  • Devices:liquid E
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
Keeping the Acer development alive takes a lot of time and effort. Kindly consider supporting my contributions towards Acer development now and into the future.
Posted Image

#7
alboz83

alboz83

    Enthusiast

  • Members
  • PipPipPip
  • 252 posts
  • Gender:Male
  • Devices:Samsung Galaxy Nexus

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

#8
parvata

parvata

    Regular

  • Members
  • PipPip
  • 138 posts
  • Devices:liquid E

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, 27 November 2012 - 12:24 AM.

  • 4
Keeping the Acer development alive takes a lot of time and effort. Kindly consider supporting my contributions towards Acer development now and into the future.
Posted Image

#9
alboz83

alboz83

    Enthusiast

  • Members
  • PipPipPip
  • 252 posts
  • Gender:Male
  • Devices:Samsung Galaxy Nexus
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

#10
ccorasaaa

ccorasaaa

    Regular

  • Members
  • PipPip
  • 139 posts
  • Devices:LiquidE
up

  • 0

#11
parvata

parvata

    Regular

  • Members
  • PipPip
  • 138 posts
  • Devices:liquid E

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, 07 December 2012 - 06:49 AM.

  • 2
Keeping the Acer development alive takes a lot of time and effort. Kindly consider supporting my contributions towards Acer development now and into the future.
Posted Image

#12
arttree

arttree

    Newbie

  • Members
  • Pip
  • 13 posts
  • Devices:acer liquid
i think ccorasaa mean is thumb up!

i am looking forward on this improment, too.

  • 1

#13
ccorasaaa

ccorasaaa

    Regular

  • Members
  • PipPip
  • 139 posts
  • Devices:LiquidE

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users