]> git.sesse.net Git - vlc/blobdiff - include/vlc_codec_synchro.h
Moved vout_synchro to decoder_synchro.
[vlc] / include / vlc_codec_synchro.h
similarity index 64%
rename from include/vlc_vout_synchro.h
rename to include/vlc_codec_synchro.h
index 54d4b639f8ca460a4a151e3cf85670c9c54505eb..ce07fb263895f74446b70824b3bcbf2432601967 100644 (file)
@@ -1,6 +1,5 @@
 /*****************************************************************************
- * vout_synchro.h: frame-dropping structures
- * Only used in libmpeg2 decoder at the moment
+ * vlc_codec_synchro.h: frame-dropping structures
  *****************************************************************************
  * Copyright (C) 1999-2005 the VideoLAN team
  * $Id$
@@ -29,9 +28,9 @@
 #endif
 
 /*****************************************************************************
- * vout_synchro_t : timers for the video synchro
+ * decoder_synchro_t : timers for the video synchro
  *****************************************************************************/
-/* Read the discussion on top of vout_synchro.c for more information. */
+/* Read the discussion on top of decoder_synchro.c for more information. */
 /* Pictures types */
 #define I_CODING_TYPE           1
 #define P_CODING_TYPE           2
 /*****************************************************************************
  * Prototypes
  *****************************************************************************/
-#define vout_SynchroInit(a,b) __vout_SynchroInit(VLC_OBJECT(a),b)
-VLC_EXPORT( vout_synchro_t *, __vout_SynchroInit, ( vlc_object_t *, int ) );
-VLC_EXPORT( void, vout_SynchroRelease,        ( vout_synchro_t * ) );
-VLC_EXPORT( void, vout_SynchroReset,          ( vout_synchro_t * ) );
-VLC_EXPORT( vlc_bool_t, vout_SynchroChoose,   ( vout_synchro_t *, int, int, vlc_bool_t ) );
-VLC_EXPORT( void, vout_SynchroTrash,          ( vout_synchro_t * ) );
-VLC_EXPORT( void, vout_SynchroDecode,         ( vout_synchro_t * ) );
-VLC_EXPORT( void, vout_SynchroEnd,            ( vout_synchro_t *, int, vlc_bool_t ) );
-VLC_EXPORT( mtime_t, vout_SynchroDate,        ( vout_synchro_t * ) );
-VLC_EXPORT( void, vout_SynchroNewPicture,     ( vout_synchro_t *, int, int, mtime_t, mtime_t, int, vlc_bool_t ) );
+VLC_EXPORT( decoder_synchro_t *, decoder_SynchroInit, ( decoder_t *, int ) );
+VLC_EXPORT( void, decoder_SynchroRelease,        ( decoder_synchro_t * ) );
+VLC_EXPORT( void, decoder_SynchroReset,          ( decoder_synchro_t * ) );
+VLC_EXPORT( vlc_bool_t, decoder_SynchroChoose,   ( decoder_synchro_t *, int, int, vlc_bool_t ) );
+VLC_EXPORT( void, decoder_SynchroTrash,          ( decoder_synchro_t * ) );
+VLC_EXPORT( void, decoder_SynchroDecode,         ( decoder_synchro_t * ) );
+VLC_EXPORT( void, decoder_SynchroEnd,            ( decoder_synchro_t *, int, vlc_bool_t ) );
+VLC_EXPORT( mtime_t, decoder_SynchroDate,        ( decoder_synchro_t * ) );
+VLC_EXPORT( void, decoder_SynchroNewPicture,     ( decoder_synchro_t *, int, int, mtime_t, mtime_t, int, vlc_bool_t ) );