Home
last modified time | relevance | path

Searched refs:last_pic (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/libavcodec/
Derror_resilience.c402 if (s->last_pic.f && s->last_pic.f->data[0]) in guess_mv()
403 mb_height = FFMIN(mb_height, (s->last_pic.f->height+15)>>4); in guess_mv()
414 if (s->last_pic.motion_val[0]) in guess_mv()
415 ff_thread_await_progress(s->last_pic.tf, mb_height-1, 0); in guess_mv()
429 else if(s->last_pic.f->data[0] && s->last_pic.motion_val[0]){ in guess_mv()
433 s->cur_pic.motion_val[0][mot_index][0]= s->last_pic.motion_val[0][mot_index][0]; in guess_mv()
434 s->cur_pic.motion_val[0][mot_index][1]= s->last_pic.motion_val[0][mot_index][1]; in guess_mv()
435 s->cur_pic.ref_index[0][4*mb_xy] = s->last_pic.ref_index[0][4*mb_xy]; in guess_mv()
444 … int mv_dir = (s->last_pic.f && s->last_pic.f->data[0]) ? MV_DIR_FORWARD : MV_DIR_BACKWARD; in guess_mv()
502 av_assert1(s->last_pic.f && s->last_pic.f->data[0]); in guess_mv()
[all …]
Dmss2.c40 AVFrame *last_pic; member
532 if (ctx->last_pic->format != avctx->pix_fmt) in mss2_decode_frame()
533 av_frame_unref(ctx->last_pic); in mss2_decode_frame()
610 if (ctx->last_pic->data[0]) { in mss2_decode_frame()
611 av_assert0(frame->linesize[0] == ctx->last_pic->linesize[0]); in mss2_decode_frame()
612 c->last_rgb_pic = ctx->last_pic->data[0] + in mss2_decode_frame()
613 ctx->last_pic->linesize[0] * (avctx->height - 1); in mss2_decode_frame()
619 if ((ret = ff_reget_buffer(avctx, ctx->last_pic, 0)) < 0) in mss2_decode_frame()
621 if ((ret = av_frame_ref(frame, ctx->last_pic)) < 0) in mss2_decode_frame()
736 av_frame_unref(ctx->last_pic); in mss2_decode_frame()
[all …]
Dsvq3.c91 SVQ3Frame *last_pic; member
431 const SVQ3Frame *pic = (dir == 0) ? s->last_pic : s->next_pic; in svq3_mc_dir_part()
1134 s->last_pic = &s->frames[1]; in svq3_decode_init()
1138 s->last_pic->f = av_frame_alloc(); in svq3_decode_init()
1140 if (!s->cur_pic->f || !s->last_pic->f || !s->next_pic->f) in svq3_decode_init()
1423 FFSWAP(SVQ3Frame*, s->next_pic, s->last_pic); in svq3_decode_frame()
1447 if (!s->last_pic->f->data[0]) { in svq3_decode_frame()
1449 av_frame_unref(s->last_pic->f); in svq3_decode_frame()
1450 ret = get_buffer(avctx, s->last_pic); in svq3_decode_frame()
1453 memset(s->last_pic->f->data[0], 0, avctx->height * s->last_pic->f->linesize[0]); in svq3_decode_frame()
[all …]
Derror_resilience.h74 ERPicture last_pic; member
Dmpeg_er.c52 set_erpic(&er->last_pic, s->last_picture_ptr); in ff_mpeg_er_frame_start()
Dh264dec.c748 ff_h264_set_erpic(&sl->er.last_pic, &h->last_pic_for_ec); in decode_nal_units()
754 ff_h264_set_erpic(&sl->er.last_pic, sl->ref_list[0][0].parent); in decode_nal_units()
756 ff_h264_set_erpic(&sl->er.last_pic, NULL); in decode_nal_units()
Dh264_slice.c529 ff_h264_set_erpic(&h->slice_ctx[0].er.last_pic, NULL); in h264_frame_start()