raw_iso, raw_shutter, raw_aperture = DECODE(PROP_WHICH_CONTAINS_ISO_SHUTTER_AND_APERTURE);int current_exposure = raw_iso - raw_shutter - raw_aperture;int reference_exposure = 80 - 101 + 44; // ISO 200 - 1/48 - f4.5, look in lens.h to make up some valuesint delta = reference_exposure - current_exposure;if (delta) lens_set_ae(lens_info.ae + delta);
Code: [Select]int xx_toggle = 0;void xx_test(void* priv){ call( "lv_ae", xx_toggle ); xx_toggle = !xx_toggle;}
int xx_toggle = 0;void xx_test(void* priv){ call( "lv_ae", xx_toggle ); xx_toggle = !xx_toggle;}
void xx_test(void *priv){ static int xx_toggle = 0; call( "lv_ae", xx_toggle ); xx_toggle = !xx_toggle;}
That's bad.Other question: do you have access to exposure compensation from ML, with lens_get_ae and lens_set_ae ?If yes, you can try to read the current exposure value (i.e. raw_iso - raw_shutter - raw_aperture), and as soon as it changes, apply some negative feedback with lens_set_ae. Something like this (not tested):
The decode part is pseudocode, look back in this thread and use your binary arithmetic skills
So I gave that code a shot. Ae turns off, and I can change settings while not recording, but if I open the ml menu while recording it cycles through whatever setting is selected, then it buffers out and err70. Hm
Started by Athiril « 1 2 » DSLR Hack development
Started by TheNewDeal « 1 2 » DSLR Hack development
Started by anwe79 « 1 2 » Firmware Dumping
Started by Diphallia DSLR Hack development
Started by vio1 General Discussion and Assistance