Lines Matching refs:curr_palette
149 curr_palette=Palette::grayscale(256/(1<<(8-rootsize))-1); in init()
175 if(i<(signed)curr_palette.size()) in output_curr_palette()
177 Color color(curr_palette[i].color.clamped()); in output_curr_palette()
224 Palette prev_palette(curr_palette); in end_frame()
247 curr_palette=Palette(curr_surface,256/(1<<(8-rootsize))-build_off_previous-1); in end_frame()
248 synfig::info("curr_palette.size()=%d",curr_palette.size()); in end_frame()
251 int transparent_index(curr_palette.find_closest(Color(1,0,1,0))-curr_palette.begin()); in end_frame()
252 bool has_transparency(curr_palette[transparent_index].color.get_a()<=0.00001); in end_frame()
303 Palette out(curr_palette); in end_frame()
306 curr_palette.insert(curr_palette.begin(),Color(1,0,1,0)); in end_frame()
308 curr_palette=out; in end_frame()
333 Palette::iterator iter(curr_palette.find_closest(color)); in end_frame()
350 curr_frame[cur_scanline][i]=iter-curr_palette.begin(); in end_frame()