Lines Matching defs:pic
40 static int msrle_decode_pal4(AVCodecContext *avctx, AVPicture *pic,
48 int row_dec = pic->linesize[0];
87 pic->data[0][row_ptr + pixel_ptr] = stream_byte >> 4;
93 pic->data[0][row_ptr + pixel_ptr] = stream_byte & 0x0F;
113 pic->data[0][row_ptr + pixel_ptr] = stream_byte >> 4;
115 pic->data[0][row_ptr + pixel_ptr] = stream_byte & 0x0F;
132 static int msrle_decode_8_16_24_32(AVCodecContext *avctx, AVPicture *pic, int depth,
141 output = pic->data[0] + (avctx->height - 1) * pic->linesize[0];
142 output_end = pic->data[0] + (avctx->height) * pic->linesize[0];
148 output = pic->data[0] + (--line) * pic->linesize[0];
166 output = pic->data[0] + line * pic->linesize[0] + pos * (depth >> 3);
241 int ff_msrle_decode(AVCodecContext *avctx, AVPicture *pic, int depth,
246 return msrle_decode_pal4(avctx, pic, data, data_size);
251 return msrle_decode_8_16_24_32(avctx, pic, depth, data, data_size);