Lines Matching defs:ref
110 if (surface->ref[i]) {
111 XvMCSurfacePrivate *ref = surface->ref[i]->privData;
113 if (ref)
114 desc->ref[num_refs++] = ref->video_buffer;
130 if (surface->ref[i]) {
131 XvMCSurface *ref = surface->ref[i];
133 assert(ref);
135 surface->ref[i] = NULL;
136 RecursiveEndFrame(ref->privData);
137 surface->ref[i] = ref;
147 surface->ref[i] = NULL;
284 /* If the surface we're rendering hasn't changed the ref frames shouldn't change. */
287 target_surface_priv->ref[0] != past_surface ||
288 target_surface_priv->ref[1] != future_surface ||
295 target_surface_priv->ref[0] = past_surface;
296 target_surface_priv->ref[1] = future_surface;