Lines Matching refs:row_ptr
59 static void qtrle_decode_1bpp(QtrleContext *s, int row_ptr, int lines_to_change)
74 * In the following decoding loop, row_ptr will be the position of the
77 row_ptr -= row_inc;
78 pixel_ptr = row_ptr;
87 row_ptr += row_inc;
88 pixel_ptr = row_ptr + 2 * 8 * (skip & 0x7f);
144 static inline void qtrle_decode_2n4bpp(QtrleContext *s, int row_ptr,
156 pixel_ptr = row_ptr + (num_pixels * (bytestream2_get_byte(&s->g) - 1));
199 row_ptr += row_inc;
203 static void qtrle_decode_8bpp(QtrleContext *s, int row_ptr, int lines_to_change)
213 pixel_ptr = row_ptr + (4 * (bytestream2_get_byte(&s->g) - 1));
250 row_ptr += row_inc;
254 static void qtrle_decode_16bpp(QtrleContext *s, int row_ptr, int lines_to_change)
264 pixel_ptr = row_ptr + (bytestream2_get_byte(&s->g) - 1) * 2;
296 row_ptr += row_inc;
300 static void qtrle_decode_24bpp(QtrleContext *s, int row_ptr, int lines_to_change)
311 pixel_ptr = row_ptr + (bytestream2_get_byte(&s->g) - 1) * 3;
352 row_ptr += row_inc;
356 static void qtrle_decode_32bpp(QtrleContext *s, int row_ptr, int lines_to_change)
366 pixel_ptr = row_ptr + (bytestream2_get_byte(&s->g) - 1) * 4;
403 row_ptr += row_inc;
454 int height, row_ptr;
497 row_ptr = s->frame->linesize[0] * start_line;
502 qtrle_decode_1bpp(s, row_ptr, height);
508 qtrle_decode_2n4bpp(s, row_ptr, height, 2);
514 qtrle_decode_2n4bpp(s, row_ptr, height, 4);
520 qtrle_decode_8bpp(s, row_ptr, height);
525 qtrle_decode_16bpp(s, row_ptr, height);
529 qtrle_decode_24bpp(s, row_ptr, height);
533 qtrle_decode_32bpp(s, row_ptr, height);