Lines Matching refs:row_ptr
58 static void qtrle_decode_1bpp(QtrleContext *s, int row_ptr, int lines_to_change) in qtrle_decode_1bpp() argument
76 row_ptr -= row_inc; in qtrle_decode_1bpp()
77 pixel_ptr = row_ptr; in qtrle_decode_1bpp()
86 row_ptr += row_inc; in qtrle_decode_1bpp()
87 pixel_ptr = row_ptr + 2 * 8 * (skip & 0x7f); in qtrle_decode_1bpp()
143 static inline void qtrle_decode_2n4bpp(QtrleContext *s, int row_ptr, in qtrle_decode_2n4bpp() argument
155 pixel_ptr = row_ptr + (num_pixels * (bytestream2_get_byte(&s->g) - 1)); in qtrle_decode_2n4bpp()
198 row_ptr += row_inc; in qtrle_decode_2n4bpp()
202 static void qtrle_decode_8bpp(QtrleContext *s, int row_ptr, int lines_to_change) in qtrle_decode_8bpp() argument
212 pixel_ptr = row_ptr + (4 * (bytestream2_get_byte(&s->g) - 1)); in qtrle_decode_8bpp()
249 row_ptr += row_inc; in qtrle_decode_8bpp()
253 static void qtrle_decode_16bpp(QtrleContext *s, int row_ptr, int lines_to_change) in qtrle_decode_16bpp() argument
263 pixel_ptr = row_ptr + (bytestream2_get_byte(&s->g) - 1) * 2; in qtrle_decode_16bpp()
295 row_ptr += row_inc; in qtrle_decode_16bpp()
299 static void qtrle_decode_24bpp(QtrleContext *s, int row_ptr, int lines_to_change) in qtrle_decode_24bpp() argument
310 pixel_ptr = row_ptr + (bytestream2_get_byte(&s->g) - 1) * 3; in qtrle_decode_24bpp()
351 row_ptr += row_inc; in qtrle_decode_24bpp()
355 static void qtrle_decode_32bpp(QtrleContext *s, int row_ptr, int lines_to_change) in qtrle_decode_32bpp() argument
365 pixel_ptr = row_ptr + (bytestream2_get_byte(&s->g) - 1) * 4; in qtrle_decode_32bpp()
402 row_ptr += row_inc; in qtrle_decode_32bpp()
454 int height, row_ptr; in qtrle_decode_frame() local
497 row_ptr = s->frame->linesize[0] * start_line; in qtrle_decode_frame()
502 qtrle_decode_1bpp(s, row_ptr, height); in qtrle_decode_frame()
508 qtrle_decode_2n4bpp(s, row_ptr, height, 2); in qtrle_decode_frame()
514 qtrle_decode_2n4bpp(s, row_ptr, height, 4); in qtrle_decode_frame()
520 qtrle_decode_8bpp(s, row_ptr, height); in qtrle_decode_frame()
525 qtrle_decode_16bpp(s, row_ptr, height); in qtrle_decode_frame()
529 qtrle_decode_24bpp(s, row_ptr, height); in qtrle_decode_frame()
533 qtrle_decode_32bpp(s, row_ptr, height); in qtrle_decode_frame()