Lines Matching refs:buffer
491 render_frame_rect(gd_GIF *gif, uint8_t *buffer) in render_frame_rect() argument
502 buffer[(i+k)*4 + 0] = *(color + 2); in render_frame_rect()
503 buffer[(i+k)*4 + 1] = *(color + 1); in render_frame_rect()
504 buffer[(i+k)*4 + 2] = *(color + 0); in render_frame_rect()
505 buffer[(i+k)*4 + 3] = 0xFF; in render_frame_rect()
508 buffer[(i+k)*3 + 0] = c.full & 0xff; in render_frame_rect()
509 buffer[(i+k)*3 + 1] = (c.full >> 8) & 0xff; in render_frame_rect()
510 buffer[(i+k)*3 + 2] = 0xff; in render_frame_rect()
513 buffer[(i+k)*2 + 0] = c.full; in render_frame_rect()
514 buffer[(i+k)*2 + 1] = 0xff; in render_frame_rect()
517 buffer[(i+k)*2 + 0] = b > 128 ? 1 : 0; in render_frame_rect()
518 buffer[(i+k)*2 + 1] = 0xff; in render_frame_rect()
601 gd_render_frame(gd_GIF *gif, uint8_t *buffer) in gd_render_frame() argument
612 render_frame_rect(gif, buffer); in gd_render_frame()