Lines Matching refs:scanline
81 uint8_t *ptr, *scanline; in pcx_decode_frame() local
154 scanline = av_malloc(bytes_per_scanline + AV_INPUT_BUFFER_PADDING_SIZE); in pcx_decode_frame()
155 if (!scanline) in pcx_decode_frame()
160 ret = pcx_rle_decode(&gb, scanline, bytes_per_scanline, compressed); in pcx_decode_frame()
165 ptr[3 * x] = scanline[x]; in pcx_decode_frame()
166 ptr[3 * x + 1] = scanline[x + bytes_per_line]; in pcx_decode_frame()
167 ptr[3 * x + 2] = scanline[x + (bytes_per_line << 1)]; in pcx_decode_frame()
183 ret = pcx_rle_decode(&gb, scanline, bytes_per_scanline, compressed); in pcx_decode_frame()
186 memcpy(ptr, scanline, w); 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()
225 v += !!(scanline[i * bytes_per_line + (x >> 3)] & m); in pcx_decode_frame()
248 av_free(scanline); in pcx_decode_frame()