Lines Matching refs:run_len
101 guint16 run_len; in dump_rle_data() local
106 run_len = 1; in dump_rle_data()
113 run_len = (data[0] & 0x3f); in dump_rle_data()
120 run_len = ((data[0] << 8) | data[1]) & 0x3fff; in dump_rle_data()
127 run_len = (data[0] & 0x3f); in dump_rle_data()
135 run_len = ((data[0] << 8) | data[1]) & 0x3fff; in dump_rle_data()
140 run_len = 0; in dump_rle_data()
150 for (i = 0; i < run_len; i++) in dump_rle_data()
153 for (i = 0; i < run_len; i++) in dump_rle_data()
156 if (!run_len || (x + run_len) > obj_w) in dump_rle_data()
159 PGS_DUMP ("Run x: %d pix: %d col: %d\n", x, run_len, pal_id); in dump_rle_data()
163 x += run_len; in dump_rle_data()
164 if (!run_len || x > obj_w) in dump_rle_data()
228 guint16 run_len; in pgs_composition_object_render() local
232 run_len = 1; in pgs_composition_object_render()
238 run_len = (data[0] & 0x3f); in pgs_composition_object_render()
244 run_len = ((data[0] << 8) | data[1]) & 0x3fff; in pgs_composition_object_render()
250 run_len = (data[0] & 0x3f); in pgs_composition_object_render()
257 run_len = ((data[0] << 8) | data[1]) & 0x3fff; in pgs_composition_object_render()
262 run_len = 0; in pgs_composition_object_render()
270 if (G_UNLIKELY (x + run_len > max_x)) in pgs_composition_object_render()
271 run_len = (max_x - x); in pgs_composition_object_render()
273 for (i = 0; i < run_len; i++) { in pgs_composition_object_render()
282 x += run_len; in pgs_composition_object_render()
285 if (!run_len || x > max_x) { in pgs_composition_object_render()