]> git.sesse.net Git - vlc/blobdiff - include/vlc_picture.h
Added a picture_Reset helper.
[vlc] / include / vlc_picture.h
index a1f4b9fa2a94c185f4f65992dac212605ca28612..ef79f5045680cef96446c8717bc4759809d95e2e 100644 (file)
@@ -198,6 +198,12 @@ static inline void picture_CopyProperties( picture_t *p_dst, const picture_t *p_
     /* FIXME: copy ->p_q and ->p_qstride */
 }
 
+/**
+ * This function will reset a picture informations (properties and quantizers).
+ * It is sometimes usefull for reusing pictures (like from a pool).
+ */
+VLC_EXPORT( void, picture_Reset, ( picture_t * ) );
+
 /**
  * This function will copy the picture pixels.
  * You can safely copy between pictures that do not have the same size,