Home
last modified time | relevance | path

Searched refs:bytes_per_scanline (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dpcx.c35 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()
[all …]
Dbrenderpix.c144 unsigned int bytes_per_scanline; in pix_decode_frame() local
207 bytes_per_scanline = bytes_pp * hdr.width; in pix_decode_frame()
209 if (bytestream2_get_bytes_left(&gb) < hdr.height * bytes_per_scanline) in pix_decode_frame()
271 bytes_left / bytes_per_scanline < hdr.height) { in pix_decode_frame()
278 bytes_per_scanline, in pix_decode_frame()
279 bytes_per_scanline, hdr.height); in pix_decode_frame()