Lines Matching refs:next_pic
94 SVQ3Frame *next_pic;
431 const SVQ3Frame *pic = (dir == 0) ? s->last_pic : s->next_pic;
524 mx = s->next_pic->motion_val[0][b_xy][0] * 2;
525 my = s->next_pic->motion_val[0][b_xy][1] * 2;
725 s->next_pic->mb_type[mb_xy] == -1) {
735 mb_type = FFMIN(s->next_pic->mb_type[mb_xy], 6);
1129 s->next_pic = &s->frames[2];
1133 s->next_pic->f = av_frame_alloc();
1134 if (!s->cur_pic->f || !s->last_pic->f || !s->next_pic->f)
1384 if (s->next_pic->f->data[0] && !s->low_delay && !s->last_frame_output) {
1385 ret = av_frame_ref(rframe, s->next_pic->f);
1406 FFSWAP(SVQ3Frame*, s->next_pic, s->last_pic);
1443 if (s->pict_type == AV_PICTURE_TYPE_B && !s->next_pic->f->data[0]) {
1445 av_frame_unref(s->next_pic->f);
1446 ret = get_buffer(avctx, s->next_pic);
1449 memset(s->next_pic->f->data[0], 0, avctx->height * s->next_pic->f->linesize[0]);
1450 memset(s->next_pic->f->data[1], 0x80, (avctx->height / 2) *
1451 s->next_pic->f->linesize[1]);
1452 memset(s->next_pic->f->data[2], 0x80, (avctx->height / 2) *
1453 s->next_pic->f->linesize[2]);
1567 FFSWAP(SVQ3Frame*, s->cur_pic, s->next_pic);