Lines Matching refs:frame
46 AVFrame *frame;
63 int row_inc = s->frame->linesize[0];
65 uint8_t *rgb = s->frame->data[0];
66 int pixel_limit = s->frame->linesize[0] * s->avctx->height;
69 * as 'go to next line' during the decoding of a frame but is 'go to first
149 int row_inc = s->frame->linesize[0];
151 uint8_t *rgb = s->frame->data[0];
152 int pixel_limit = s->frame->linesize[0] * s->avctx->height;
207 int row_inc = s->frame->linesize[0];
209 uint8_t *rgb = s->frame->data[0];
210 int pixel_limit = s->frame->linesize[0] * s->avctx->height;
258 int row_inc = s->frame->linesize[0];
260 uint8_t *rgb = s->frame->data[0];
261 int pixel_limit = s->frame->linesize[0] * s->avctx->height;
304 int row_inc = s->frame->linesize[0];
307 uint8_t *rgb = s->frame->data[0];
308 int pixel_limit = s->frame->linesize[0] * s->avctx->height;
360 int row_inc = s->frame->linesize[0];
362 uint8_t *rgb = s->frame->data[0];
363 int pixel_limit = s->frame->linesize[0] * s->avctx->height;
442 s->frame = av_frame_alloc();
443 if (!s->frame)
461 /* check if this frame is even supposed to change */
494 if ((ret = ff_reget_buffer(avctx, s->frame, 0)) < 0)
497 row_ptr = s->frame->linesize[0] * start_line;
543 s->frame->palette_has_changed = ff_copy_palette(s->pal, avpkt, avctx);
546 memcpy(s->frame->data[1], s->pal, AVPALETTE_SIZE);
550 if (!s->frame->data[0])
554 // frame props.
555 ret = ff_decode_frame_props(avctx, s->frame);
560 if ((ret = av_frame_ref(rframe, s->frame)) < 0)
572 av_frame_unref(s->frame);
579 av_frame_free(&s->frame);