Lines Matching refs:rle_code
36 unsigned char rle_code; in msrle_decode_pal4() local
50 rle_code = stream_byte = bytestream2_get_byteu(gb); in msrle_decode_pal4()
51 if (rle_code == 0) { in msrle_decode_pal4()
70 rle_code = (stream_byte + 1) / 2; in msrle_decode_pal4()
71 extra_byte = rle_code & 0x01; in msrle_decode_pal4()
72 if (pixel_ptr + 2*rle_code - odd_pixel > avctx->width || in msrle_decode_pal4()
73 bytestream2_get_bytes_left(gb) < rle_code) { in msrle_decode_pal4()
79 for (i = 0; i < rle_code; i++) { in msrle_decode_pal4()
85 if (i + 1 == rle_code && odd_pixel) in msrle_decode_pal4()
99 if (pixel_ptr + rle_code > avctx->width + 1) { in msrle_decode_pal4()
101 … "MS RLE: frame ptr just went out of bounds (run) %d %d %d\n", pixel_ptr, rle_code, avctx->width); in msrle_decode_pal4()
105 for (i = 0; i < rle_code; i++) { in msrle_decode_pal4()