Lines Matching defs:ref
566 if (s->ref && sh->first_slice_in_pic_flag) {
709 av_log(s->avctx, AV_LOG_ERROR, "No ref lists in the SPS.\n");
1490 * @param ref reference picture buffer at origin (0, 0)
1501 AVFrame *ref, const Mv *mv, int x_off, int y_off,
1505 uint8_t *src = ref->data[0];
1506 ptrdiff_t srcstride = ref->linesize[0];
1522 ref == s->frame) {
1643 * @param ref reference picture buffer at origin (0, 0)
1810 static void hevc_await_progress(HEVCContext *s, HEVCFrame *ref,
1816 ff_thread_await_progress(&ref->tf, y, 0);
1878 MvField *tab_mvf = s->ref->tab_mvf;
1879 RefPicList *refPicList = s->ref->refPicList;
1917 ref0 = refPicList[0].ref[current_mv.ref_idx[0]];
1923 ref1 = refPicList[1].ref[current_mv.ref_idx[1]];
2009 MvField *tab_mvf = s->ref->tab_mvf;
2164 MvField *tab_mvf = s->ref->tab_mvf;
2735 AVFrame *out = s->ref->frame;
2924 fgp->seed = s->ref->poc; /* no poc_offset in HEVC */
3039 s->ref->frame->key_frame = IS_IRAP(s);
3041 s->ref->needs_fg = s->sei.film_grain_characteristics.present &&
3045 if (s->ref->needs_fg) {
3046 s->ref->frame_grain->format = s->ref->frame->format;
3047 s->ref->frame_grain->width = s->ref->frame->width;
3048 s->ref->frame_grain->height = s->ref->frame->height;
3049 if ((ret = ff_thread_get_buffer(s->avctx, s->ref->frame_grain, 0)) < 0)
3073 if (s->ref)
3074 ff_hevc_unref_frame(s, s->ref, ~0);
3075 s->ref = NULL;
3081 HEVCFrame *out = s->ref;
3224 } else if (!s->ref) {
3300 s->ref = NULL;
3378 if (s->ref && s->threads_type == FF_THREAD_FRAME)
3379 ff_thread_report_progress(&s->ref->tf, INT_MAX, 0);
3512 s->ref = NULL;
3518 if (s->ref && (ret = avctx->hwaccel->end_frame(avctx)) < 0) {
3521 ff_hevc_unref_frame(s, s->ref, ~0);
3526 if (avctx->err_recognition & AV_EF_CRCCHECK && s->ref && s->is_decoded &&
3528 ret = verify_md5(s, s->ref->frame);
3530 ff_hevc_unref_frame(s, s->ref, ~0);