Lines Matching defs:ref
66 VTHWFrame *ref = (VTHWFrame *)data;
67 av_buffer_unref(&ref->hw_frames_ctx);
68 CVPixelBufferRelease(ref->pixbuf);
96 VTHWFrame *ref = (VTHWFrame *)frame->buf[0]->data;
98 if (!ref->pixbuf) {
109 if ((ret = av_vt_pixbuf_set_attachments(avctx, ref->pixbuf, frame)) < 0)
112 frame->data[3] = (uint8_t*)ref->pixbuf;
114 if (ref->hw_frames_ctx) {
116 frame->hw_frames_ctx = av_buffer_ref(ref->hw_frames_ctx);
524 VTHWFrame *ref;
533 ref = (VTHWFrame *)frame->buf[0]->data;
535 if (ref->pixbuf)
536 CVPixelBufferRelease(ref->pixbuf);
537 ref->pixbuf = vtctx->frame;
570 av_buffer_unref(&ref->hw_frames_ctx);
571 ref->hw_frames_ctx = av_buffer_ref(vtctx->cached_hw_frames_ctx);
572 if (!ref->hw_frames_ctx)
1073 AVFrame *frame = h->ref->frame;