Home
last modified time | relevance | path

Searched refs:width_bits (Results 1 – 10 of 10) sorted by relevance

/plan9/sys/src/cmd/gs/src/
H A Dgxbitmap.h65 #define bitmap_raster(width_bits)\ argument
66 ((uint)((((width_bits) + (align_bitmap_mod * 8 - 1))\
H A Dgxclbits.c48 clist_bitmap_bytes(uint width_bits, uint height, int compression_mask, in clist_bitmap_bytes() argument
51 uint full_raster = *raster = bitmap_raster(width_bits); in clist_bitmap_bytes()
52 uint short_raster = (width_bits + 7) >> 3; in clist_bitmap_bytes()
73 cmd_compress_bitmap(stream_state * st, const byte * data, uint width_bits, in cmd_compress_bitmap() argument
76 uint width_bytes = bitmap_raster(width_bits); in cmd_compress_bitmap()
117 const byte * data, uint width_bits, uint height, uint raster, int op_size, in cmd_put_bits() argument
122 clist_bitmap_bytes(width_bits, height, in cmd_put_bits()
127 clist_bitmap_bytes(width_bits, height, compression_mask, in cmd_put_bits()
H A Dgsbitops.c63 mono_fill_chunk pattern, int width_bits, int height) in bits_fill_rectangle() argument
77 last_bit = width_bits + bit - (chunk_bits + 1); in bits_fill_rectangle()
80 set_mono_thin_mask(right_mask, width_bits, bit); in bits_fill_rectangle()
151 int width_bits, int height) in bits_fill_rectangle_masked() argument
165 last_bit = width_bits + bit - (chunk_bits + 1); in bits_fill_rectangle_masked()
168 set_mono_thin_mask(right_mask, width_bits, bit); in bits_fill_rectangle_masked()
H A Dgdevps.c461 uint width_bits, int height) in psw_put_bits() argument
469 stream_write(s, row, (width_bits + 7) >> 3); in psw_put_bits()
472 int wleft = width_bits; in psw_put_bits()
523 uint width_bits = width * depth; in psw_image_write() local
524 int index = image_cache_lookup(pdev, id, width_bits, height, false); in psw_image_write()
547 if (id == gx_no_bitmap_id || width_bits * (ulong) height > 8000) { in psw_image_write()
560 index = image_cache_lookup(pdev, id, width_bits, height, true); in psw_image_write()
564 pprintld1(s, " %ld", ((width_bits + 7) >> 3) * (ulong) height); in psw_image_write()
H A Dgsbitops.h274 mono_fill_chunk pattern, int width_bits, int height);
277 int width_bits, int height);
H A Dgxcldev.h205 uint clist_bitmap_bytes(uint width_bits, uint height,
668 const byte * data, uint width_bits, uint height,
H A Dgdevpx.c476 uint raster, uint width_bits, int y, int height) in pclxl_write_image_data() argument
479 uint width_bytes = (width_bits + 7) >> 3; in pclxl_write_image_data()
634 const byte * data, uint raster, uint width_bits, uint height) in pclxl_define_bitmap_char() argument
637 uint width_bytes = (width_bits + 7) >> 3; in pclxl_define_bitmap_char()
652 px_put_us_be(s, width_bits); in pclxl_define_bitmap_char()
1576 int width_bits = pie->width * info->plane_depths[0]; in pclxl_image_plane_data() local
1580 if (width_bits != pie->bits_per_row || (data_bit & 7) != 0) in pclxl_image_plane_data()
H A Dgdevdgbr.c686 int width_bits = (prect->q.x - prect->p.x) * depth; in gx_default_get_bits_rectangle() local
689 tdev.width = width_bits; in gx_default_get_bits_rectangle()
695 min_raster, gx_no_bitmap_id, 0, 0, width_bits, 1, in gx_default_get_bits_rectangle()
H A Dgdevpdfi.c730 uint width_bits = pie->width * pie->plane_depths[0]; in pdf_image_plane_data_alt() local
732 uint bcount = (width_bits + 7) >> 3; in pdf_image_plane_data_alt()
770 (width_bits % (block_bytes * 8) * nplanes + 7) >> 3; in pdf_image_plane_data_alt()
H A Dgxclrast.c715 uint width_bits, width_bytes; in clist_playback_band() local
720 width_bits = state.rect.width * depth; in clist_playback_band()
722 clist_bitmap_bytes(width_bits, in clist_playback_band()
1603 uint width_bits = rep_width * bits->cb_depth; in read_set_bits() local
1607 clist_bitmap_bytes(width_bits, rep_height, in read_set_bits()