Quote from: MCAN on April 01, 2017, 05:25:37 PM
+1 Please!
mlv_dump for mac (compressed_raw branch)
https://drive.google.com/file/d/0B-7nnVbwzGVkUmpHLW5kbEU3OWc/view?usp=sharing
Etiquette, expectations, entitlement...
@autoexec_bin | #magiclantern | Discord | Reddit | Server issues
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: MCAN on April 01, 2017, 05:25:37 PM
+1 Please!
Quote from: dmilligan on May 10, 2016, 12:56:43 PM
MLVFS caches the correction coefficients so it runs faster. Everything else is the same.
Quote from: DeafEyeJedi on May 09, 2016, 10:55:25 PM
@marekk -- Did you forget to refresh the webpage (local host) after changing your options choices?
void stripes_apply_correction(struct frame_headers * frame_headers, struct stripes_correction * correction, uint16_t * image_data, off_t offset, size_t size)
{
if(correction == NULL || !correction->correction_needed) return;
if(frame_headers->rawi_hdr.xRes % 8 != 0) return;
uint16_t black = frame_headers->rawi_hdr.raw_info.black_level;
uint16_t white = frame_headers->rawi_hdr.raw_info.white_level;
size_t start = offset % 8;
for(size_t i = 0; i < size; i++)
{
double correction_coeffficient = correction->coeffficients[(i + start) % 8];
if(correction_coeffficient && image_data[i] > black + 64)
{
image_data[i] = (uint16_t)MIN(white, (image_data[i] - black) * correction_coeffficient / FIXP_ONE + black);
}
}
}
../../src/debug.c: In function 'HijackFormatDialogBox':
../../src/debug.c:3546:68: error: expected ')' before 'FORMAT_BTN_NAME'
dialog_set_property_str(dialog, 4, "Format card, keep ML " FORMAT_BTN_NAME);
^
../../src/debug.c:3548:70: error: expected ')' before 'FORMAT_BTN_NAME'
dialog_set_property_str(dialog, 4, "Format card, remove ML " FORMAT_BTN_NAME);
^
../../src/debug.c: In function 'handle_keep_ml_after_format_toggle':
../../src/debug.c:3563:22: warning: comparison between pointer and integer [enabled by default]
if (event->param == FORMAT_BTN && MENU_MODE && MEM(DIALOG_MnCardFormatBegin))
^
../../src/debug.c:3563:22: warning: comparison with string literal results in unspecified behavior [-Waddress]
../../src/debug.c: In function 'CopyMLFilesBack_AfterFormat':
../../src/debug.c:3781:36: error: 'FORMAT_STR_LOC' undeclared (first use in this function)
HijackCurrentDialogBox(FORMAT_STR_LOC, msg);
^
../../src/debug.c:3781:36: note: each undeclared identifier is reported only once for each function it appears in
make: *** [debug.o] Error 1
Page created in 0.097 seconds with 13 queries.