Searched refs:background_alpha (Results 1 – 1 of 1) sorted by relevance
1131 uint8_t foreground_alpha, background_alpha, output_alpha; in handle_p_frame_apng() local1141 background_alpha = background[3]; in handle_p_frame_apng()1146 background_alpha = background[1]; in handle_p_frame_apng()1151 background_alpha = s->palette[background[0]] >> 24; in handle_p_frame_apng()1169 … output_alpha = foreground_alpha + FAST_DIV255((255 - foreground_alpha) * background_alpha); in handle_p_frame_apng()1176 } else if (background_alpha == 255) { in handle_p_frame_apng()1179 …255 * foreground_alpha * foreground[b] + (255 - foreground_alpha) * background_alpha * background[… in handle_p_frame_apng()