In gui_init (gui.c), you have:
2010 load_bad_pixels_list("A/CHDK/badpixel");
2011 load_bad_pixels_list("A/CHDK/badpixel.txt");
In conf_change_dng (conf.c), you have:
455 if (!badpixel_list_loaded_b()) load_bad_pixels_list_b("A/CHDK/badpixel.bin");
In raw_savefile (raw.c), you have:
00127 if (conf.bad_pixel_removal) patch_bad_pixels();
and just before writing to the DNG file:
00175 patch_bad_pixels_b();
Is that means that my column of new hot pixels shall be textually entered into the "badpixel.txt" file?
If I understand correctly,
- "badpixel.txt" (user edited) will correct my user-defined bad pixels and
- "badpixel.bin" (generated via OSD menu) will correct Canon-defined bad pixels
Am I right?
If I am right, the "badpixel.txt" shall be shorter than PIXELS_BUF_SIZE = 8192 bytes. How am I inserting a column of 3000 bad pixels? Change the value and compile ?