}
src = sys->import(filter, src);
-
/* Update history and take "present" picture field */
if (likely(src != NULL))
{
atomic_fetch_add(&frame->refs, 1);
return fnew;
}
-
-vlc_vdp_video_field_t *vlc_vdp_video_detach(picture_t *pic)
-{
- vlc_vdp_video_field_t *field = pic->context;
-
- assert(pic->format.i_chroma == VLC_CODEC_VDPAU_VIDEO_420
- || pic->format.i_chroma == VLC_CODEC_VDPAU_VIDEO_422);
- //assert(!picture_IsReferenced(pic));
- pic->context = NULL;
- return field;
-}
* (the underlying VDPAU video surface is shared).
*/
vlc_vdp_video_field_t *vlc_vdp_video_copy(vlc_vdp_video_field_t *);
-
-/**
- * Detaches a VDPAU video surface as context from a VLC picture.
- * @return the detached context, or NULL on error.
- */
-vlc_vdp_video_field_t *vlc_vdp_video_detach(picture_t *);
#endif