I'd like to post patches for ixus95_sd1200 and a1100, could you check palettes, active_palette_buffer values and post to the corresponding porting threads?
Thanks. Changes committed to trunk. Changeset 3698.I'd like to post patches for ixus95_sd1200 and a1100, could you check palettes, active_palette_buffer values and post to the corresponding porting threads?
In trunk 3708 this is broken again for IXUS 980. I'll post screen shots of the palette later. I'll also re-check A1100 and IXUS 95 which we worked on at the same time if the situation also applies to them.
Quote from: koshy on 02 / November / 2014, 07:43:04In trunk 3708 this is broken again for IXUS 980. I'll post screen shots of the palette later. I'll also re-check A1100 and IXUS 95 which we worked on at the same time if the situation also applies to them.A1100 also has a problem I'll post on it's thread and IXUS 95 was fine.It might be interesting to check what happened between Changeset 3698 and 3708 that broke this. I guess 3706 did. And to ponder if any of the other previously working cameras with custom colors would be affected. I think I could test some of them but I don't have all.In CHDKPTP all works as before but on the camera it does not.
extern char** palette_buffer_ptr;
extern int** palette_buffer_ptr;
For ixus980, please test philmoz suggestion:Code: [Select]Index: platform/ixus980_sd990/lib.c===================================================================--- platform/ixus980_sd990/lib.c (revision 3716)+++ platform/ixus980_sd990/lib.c (working copy)@@ -108,6 +108,6 @@ void *vid_get_bitmap_active_palette() { extern int active_palette_buffer;- extern int** palette_buffer_ptr;+ extern char** palette_buffer_ptr; return (palette_buffer_ptr[active_palette_buffer]+16); }That change was not included in posted patch, probably I added that bug before committing the patch.
Index: platform/ixus980_sd990/lib.c===================================================================--- platform/ixus980_sd990/lib.c (revision 3716)+++ platform/ixus980_sd990/lib.c (working copy)@@ -108,6 +108,6 @@ void *vid_get_bitmap_active_palette() { extern int active_palette_buffer;- extern int** palette_buffer_ptr;+ extern char** palette_buffer_ptr; return (palette_buffer_ptr[active_palette_buffer]+16); }
Started by mszaller « 1 2 » General Discussion and Assistance
Started by Old Farseeing Art General Help and Assistance on using CHDK stable releases
Started by wrishel Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by Pat General Help and Assistance on using CHDK stable releases
Started by koshy « 1 2 3 » General Discussion and Assistance