Lines Matching refs:bytes_per_scanline
35 unsigned int bytes_per_scanline, in pcx_rle_decode() argument
45 while (i < bytes_per_scanline && bytestream2_get_bytes_left(gb)>0) { in pcx_rle_decode()
52 while (i < bytes_per_scanline && run--) in pcx_rle_decode()
56 bytestream2_get_buffer(gb, dst, bytes_per_scanline); in pcx_rle_decode()
80 bytes_per_scanline; in pcx_decode_frame() local
115 bytes_per_scanline = nplanes * bytes_per_line; in pcx_decode_frame()
117 if (bytes_per_scanline < (w * bits_per_pixel * nplanes + 7) / 8 || in pcx_decode_frame()
118 (!compressed && bytes_per_scanline > bytestream2_get_bytes_left(&gb) / h)) { in pcx_decode_frame()
154 scanline = av_malloc(bytes_per_scanline + AV_INPUT_BUFFER_PADDING_SIZE); in pcx_decode_frame()
160 ret = pcx_rle_decode(&gb, scanline, bytes_per_scanline, compressed); in pcx_decode_frame()
183 ret = pcx_rle_decode(&gb, scanline, bytes_per_scanline, compressed); in pcx_decode_frame()
203 init_get_bits8(&s, scanline, bytes_per_scanline); in pcx_decode_frame()
205 ret = pcx_rle_decode(&gb, scanline, bytes_per_scanline, compressed); in pcx_decode_frame()
217 ret = pcx_rle_decode(&gb, scanline, bytes_per_scanline, compressed); in pcx_decode_frame()