Lines Matching refs:bg
349 uint32_t *bg, uint32_t *fg, \
362 *bg = *fg = c0; \
384 *bg = (uint32_t)c0; \
387 *bg = (uint32_t)c1; \
421 size_t count, uint32_t *bg, uint32_t *fg, in tight_fill_palette() argument
437 return tight_fill_palette32(vs, x, y, max, count, bg, fg, palette); in tight_fill_palette()
439 return tight_fill_palette16(vs, x, y, max, count, bg, fg, palette); in tight_fill_palette()
442 return tight_fill_palette8(vs, x, y, max, count, bg, fg, palette); in tight_fill_palette()
492 uint##bpp##_t bg, uint##bpp##_t fg) { \
504 if (*ptr++ != bg) { \
516 if (*ptr++ != bg) { \
530 if (*ptr++ != bg) { \
963 int w, int h, uint32_t bg, uint32_t fg) in send_mono_rect() argument
975 palette_put(palette, bg); in send_mono_rect()
992 uint32_t buf[2] = {bg, fg}; in send_mono_rect()
1000 tight_encode_mono_rect32(vs->tight->tight.buffer, w, h, bg, fg); in send_mono_rect()
1004 vnc_write(vs, &bg, 2); in send_mono_rect()
1006 tight_encode_mono_rect16(vs->tight->tight.buffer, w, h, bg, fg); in send_mono_rect()
1009 vnc_write_u8(vs, bg); in send_mono_rect()
1011 tight_encode_mono_rect8(vs->tight->tight.buffer, w, h, bg, fg); in send_mono_rect()
1402 int bg, int fg, int colors, VncPalette *palette) in send_sub_rect_nojpeg() argument
1415 ret = send_mono_rect(vs, x, y, w, h, bg, fg); in send_sub_rect_nojpeg()
1426 int bg, int fg, int colors, in send_sub_rect_jpeg() argument
1443 ret = send_mono_rect(vs, x, y, w, h, bg, fg); in send_sub_rect_jpeg()
1472 uint32_t bg = 0, fg = 0; in send_sub_rect() local
1506 colors = tight_fill_palette(vs, x, y, w * h, &bg, &fg, color_count_palette); in send_sub_rect()
1510 ret = send_sub_rect_jpeg(vs, x, y, w, h, bg, fg, colors, in send_sub_rect()
1513 ret = send_sub_rect_nojpeg(vs, x, y, w, h, bg, fg, colors, in send_sub_rect()
1517 ret = send_sub_rect_nojpeg(vs, x, y, w, h, bg, fg, colors, in send_sub_rect()