Home
last modified time | relevance | path

Searched refs:gx_device_memory (Results 1 – 25 of 53) sorted by relevance

123

/plan9/sys/src/cmd/gs/src/
H A Dgdevmem.h123 { std_device_dci_body(gx_device_memory, 0, name,\
205 extern const gx_device_memory mem_mono_device;
206 extern const gx_device_memory mem_mapped2_device;
207 extern const gx_device_memory mem_mapped4_device;
208 extern const gx_device_memory mem_mapped8_device;
209 extern const gx_device_memory mem_true16_device;
210 extern const gx_device_memory mem_true24_device;
211 extern const gx_device_memory mem_true32_device;
212 extern const gx_device_memory mem_true40_device;
213 extern const gx_device_memory mem_true48_device;
[all …]
H A Dgxdevmem.h79 typedef struct gx_device_memory_s gx_device_memory; typedef
151 gs_public_st_composite_use_final(st_device_memory, gx_device_memory,\
183 ulong gdev_mem_bits_size(const gx_device_memory *mdev, int width,
186 ulong gdev_mem_line_ptrs_size(const gx_device_memory *mdev, int width,
189 ulong gdev_mem_data_size(const gx_device_memory *mdev, int width,
199 int gdev_mem_max_height(const gx_device_memory * dev, int width, ulong size,
210 const gx_device_memory *gdev_mem_device_for_bits(int);
213 const gx_device_memory *gdev_mem_word_device_for_bits(int);
221 void gs_make_mem_mono_device(gx_device_memory * mdev, gs_memory_t * mem,
223 void gs_make_mem_device(gx_device_memory * mdev,
[all …]
H A Dgdevmem.c36 ENUM_PTRS_WITH(device_memory_enum_ptrs, gx_device_memory *mptr) in ENUM_PTRS_WITH()
42 ENUM_STRING_PTR(2, gx_device_memory, palette);
45 RELOC_PTRS_WITH(device_memory_reloc_ptrs, gx_device_memory *mptr) in RELOC_PTRS_WITH()
52 RELOC_PTR(gx_device_memory, base); in RELOC_PTRS_WITH()
59 RELOC_PTR(gx_device_memory, line_ptrs); in RELOC_PTRS_WITH()
61 RELOC_CONST_STRING_PTR(gx_device_memory, palette); in RELOC_PTRS_WITH()
84 private const gx_device_memory *const mem_devices[65] = {
95 const gx_device_memory *
98 return ((uint)bits_per_pixel > 64 ? (const gx_device_memory *)0 : in gdev_mem_device_for_bits()
102 private const gx_device_memory *const mem_word_devices[65] = {
[all …]
H A Dgdevabuf.c43 gs_make_mem_alpha_device(gx_device_memory * adev, gs_memory_t * mem, in gs_make_mem_alpha_device()
63 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_alpha_map_rgb_color()
82 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_alpha_map_rgb_alpha_color()
149 private const gx_device_memory mem_alpha_buffer_device =
159 gs_make_mem_abuf_device(gx_device_memory * adev, gs_memory_t * mem, in gs_make_mem_abuf_device()
188 abuf_flush_block(gx_device_memory * adev, int y) in abuf_flush_block()
233 abuf_flush(gx_device_memory * adev) in abuf_flush()
249 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_abuf_close()
270 gx_device_memory * const mdev = (gx_device_memory *)dev; in y_transfer_init()
287 gx_device_memory * const mdev = (gx_device_memory *)dev; in y_transfer_next()
[all …]
H A Dgdevm8.c36 const gx_device_memory mem_mapped8_device =
51 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_mapped8_fill_rectangle()
72 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_mapped8_copy_mono()
152 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_mapped8_copy_color()
170 const gx_device_memory mem_mapped8_word_device =
182 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem8_word_fill_rectangle()
201 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem8_word_copy_mono()
223 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem8_word_copy_color()
H A Dgxchar.h54 typedef struct gx_device_memory_s gx_device_memory; typedef
90 gx_device_memory *dev_cache; /* cache device */
91 gx_device_memory *dev_cache2; /* underlying alpha memory device, */
125 …gx_alloc_char_bits(gs_font_dir *, gx_device_memory *, gx_device_memory *, ushort, ushort, const gs…
126 void gx_open_cache_device(gx_device_memory *, cached_char *);
128 void gx_add_cached_char(gs_font_dir *, gx_device_memory *, cached_char *, cached_fm_pair *, const g…
H A Dgdevm2.c35 const gx_device_memory mem_mapped2_device =
55 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_mapped2_fill_rectangle()
70 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_mapped2_copy_mono()
181 const gx_device_memory mem_mapped2_word_device =
194 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem2_word_fill_rectangle()
215 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem2_word_copy_mono()
H A Dgdevm32.c34 const gx_device_memory mem_true32_device =
60 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true32_fill_rectangle()
134 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true32_copy_mono()
230 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true32_copy_color()
248 const gx_device_memory mem_true32_word_device =
281 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem32_word_copy_color()
H A Dgdevm64.c51 const gx_device_memory mem_true64_device =
91 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true64_fill_rectangle()
213 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true64_copy_mono()
330 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true64_copy_color()
348 const gx_device_memory mem_true64_word_device =
360 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem64_word_fill_rectangle()
379 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem64_word_copy_mono()
401 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem64_word_copy_color()
H A Dgdevm16.c36 const gx_device_memory mem_true16_device =
78 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true16_fill_rectangle()
122 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true16_copy_mono()
170 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true16_copy_color()
H A Dgdevm4.c35 const gx_device_memory mem_mapped4_device =
59 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_mapped4_fill_rectangle()
73 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_mapped4_copy_mono()
241 const gx_device_memory mem_mapped4_word_device =
253 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem4_word_fill_rectangle()
273 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem4_word_copy_mono()
H A Dgdevmpla.c46 gdev_mem_set_planar(gx_device_memory * mdev, int num_planes, in gdev_mem_set_planar()
93 gx_device_memory *const mdev = (gx_device_memory *)dev; in mem_planar_open()
129 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_planar_fill_rectangle()
137 const gx_device_memory *mdproto = in mem_planar_fill_rectangle()
156 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_planar_copy_mono()
165 const gx_device_memory *mdproto = in mem_planar_copy_mono()
193 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_planar_copy_color()
210 const gx_device_memory *mdproto = in mem_planar_copy_color()
296 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_planar_strip_tile_rectangle()
309 const gx_device_memory *mdproto = in mem_planar_strip_tile_rectangle()
[all …]
H A Dgdevm24.c64 const gx_device_memory mem_true24_device =
110 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true24_fill_rectangle()
352 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true24_copy_mono()
469 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true24_copy_color()
482 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true24_copy_alpha()
532 const gx_device_memory mem_true24_word_device =
544 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem24_word_fill_rectangle()
563 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem24_word_copy_mono()
585 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem24_word_copy_color()
H A Dgdevm48.c51 const gx_device_memory mem_true48_device =
100 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true48_fill_rectangle()
255 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true48_copy_mono()
372 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true48_copy_color()
390 const gx_device_memory mem_true48_word_device =
402 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem48_word_fill_rectangle()
421 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem48_word_copy_mono()
443 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem48_word_copy_color()
H A Dgdevm40.c51 const gx_device_memory mem_true40_device =
103 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true40_fill_rectangle()
286 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true40_copy_mono()
403 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true40_copy_color()
421 const gx_device_memory mem_true40_word_device =
433 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem40_word_fill_rectangle()
452 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem40_word_copy_mono()
474 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem40_word_copy_color()
H A Dgdevm56.c51 const gx_device_memory mem_true56_device =
110 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true56_fill_rectangle()
310 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true56_copy_mono()
427 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_true56_copy_color()
445 const gx_device_memory mem_true56_word_device =
457 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem56_word_fill_rectangle()
476 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem56_word_copy_mono()
498 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem56_word_copy_color()
H A Dgdevm1.c43 const gx_device_memory mem_mono_device =
55 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_mono_map_rgb_color()
63 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_mono_map_color_rgb()
73 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_mono_fill_rectangle()
198 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_mono_copy_mono()
464 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem_mono_strip_tile_rectangle()
691 const gx_device_memory mem_mono_word_device =
704 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem1_word_fill_rectangle()
723 gx_device_memory * const mdev = (gx_device_memory *)dev; in mem1_word_copy_mono()
H A Dgdevmrun.h35 gx_device_memory md; /* must be first */
58 int gdev_run_from_mem(gx_device_run *rdev, gx_device_memory *mdev);
H A Dgsdevmem.c34 gs_initialize_wordimagedevice(gx_device_memory * new_dev, const gs_matrix * pmat, in gs_initialize_wordimagedevice()
38 const gx_device_memory *proto_dev; in gs_initialize_wordimagedevice()
221 gx_device_memory *pnew = in gs_makewordimagedevice()
222 gs_alloc_struct(mem, gx_device_memory, &st_device_memory, in gs_makewordimagedevice()
H A Dgxpcmap.c173 gx_device_memory *mask = 0; in pattern_accum_open()
174 gx_device_memory *bits = 0; in pattern_accum_open()
203 gx_device_memory, in pattern_accum_open()
226 bits = gs_alloc_struct(mem, gx_device_memory, in pattern_accum_open()
449 gx_device_memory mdev; in gx_pattern_cache_free_entry()
485 private void make_bitmap(gx_strip_bitmap *, const gx_device_memory *, gx_bitmap_id);
490 gx_device_memory *mbits = padev->bits; in gx_pattern_cache_add_entry()
491 gx_device_memory *mmask = padev->mask; in gx_pattern_cache_add_entry()
592 make_bitmap(register gx_strip_bitmap * pbm, const gx_device_memory * mdev, in make_bitmap()
682 debug_dump_bitmap(((gx_device_memory *) adev->target)->base, in gx_pattern_load()
[all …]
H A Dgdevppla.c76 gdev_prn_set_planar(gx_device_memory *mdev, const gx_device *tdev) in gdev_prn_set_planar()
109 code = gdev_prn_set_planar((gx_device_memory *)*pbdev, *pbdev); in gdev_prn_create_buf_planar()
120 gx_device_memory mdev; in gdev_prn_size_buf_planar()
H A Dgsdevice.h30 typedef struct gx_device_memory_s gx_device_memory; typedef
67 int gs_initialize_wordimagedevice(gx_device_memory * new_dev,
H A Dgxpcolor.h210 gx_device_memory *bits; /* target also points to bits */
211 gx_device_memory *mask;
H A Dgdevmpla.h43 int gdev_mem_set_planar(gx_device_memory * mdev, int num_planes,
H A Dgdevprn.c191 gx_device_memory * const pmemdev = (gx_device_memory *)pdev; in gdev_prn_tear_down()
223 gx_device_memory * const pmemdev = (gx_device_memory *)pdev; in gdev_prn_allocate()
994 const gx_device_memory *mdproto; in gx_default_create_buf_device()
995 gx_device_memory *mdev; in gx_default_create_buf_device()
1006 mdev = gs_alloc_struct(mem, gx_device_memory, &st_device_memory, in gx_default_create_buf_device()
1011 mdev = (gx_device_memory *)*pbdev; in gx_default_create_buf_device()
1056 gx_device_memory mdev; in gx_default_size_buf_device()
1075 gx_device_memory *mdev = in gx_default_setup_buf_device()
1076 (gs_device_is_memory(bdev) ? (gx_device_memory *)bdev : in gx_default_setup_buf_device()
1077 (gx_device_memory *)(((gx_device_plane_extract *)bdev)->plane_dev)); in gx_default_setup_buf_device()

123