Lines Matching refs:k

29 static int f_gif_seek(gd_GIF * gif, size_t pos, int k);
493 int i, j, k; in render_frame_rect() local
497 for (k = 0; k < gif->fw; k++) { in render_frame_rect()
498 index = gif->frame[(gif->fy + j) * gif->width + gif->fx + k]; in render_frame_rect()
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()
529 int i, j, k; in dispose() local
540 for (k = 0; k < gif->fw; k++) { in dispose()
542 gif->canvas[(i+k)*4 + 0] = *(bgcolor + 2); in dispose()
543 gif->canvas[(i+k)*4 + 1] = *(bgcolor + 1); in dispose()
544 gif->canvas[(i+k)*4 + 2] = *(bgcolor + 0); in dispose()
545 gif->canvas[(i+k)*4 + 3] = opa; in dispose()
548 gif->canvas[(i+k)*3 + 0] = c.full & 0xff; in dispose()
549 gif->canvas[(i+k)*3 + 1] = (c.full >> 8) & 0xff; in dispose()
550 gif->canvas[(i+k)*3 + 2] = opa; in dispose()
553 gif->canvas[(i+k)*2 + 0] = c.full; in dispose()
554 gif->canvas[(i+k)*2 + 1] = opa; in dispose()
557 gif->canvas[(i+k)*2 + 0] = b > 128 ? 1 : 0; in dispose()
558 gif->canvas[(i+k)*2 + 1] = opa; in dispose()
656 static int f_gif_seek(gd_GIF * gif, size_t pos, int k) in f_gif_seek() argument
659 lv_fs_seek(&gif->fd, pos, k); in f_gif_seek()
664 if(k == LV_FS_SEEK_CUR) gif->f_rw_p += pos; in f_gif_seek()
665 else if(k == LV_FS_SEEK_SET) gif->f_rw_p = pos; in f_gif_seek()