1 /*****************************************************************************
2 * vpar_motion.c : motion vectors parsing
4 *****************************************************************************/
6 /*****************************************************************************
8 *****************************************************************************/
16 #include <X11/extensions/XShm.h>
21 #include "vlc_thread.h"
24 #include "debug.h" /* ?? temporaire, requis par netlist.h */
27 #include "input_netlist.h"
28 #include "decoder_fifo.h"
30 #include "video_output.h"
32 #include "vdec_idct.h"
33 #include "video_decoder.h"
34 #include "vdec_motion.h"
36 #include "vpar_blocks.h"
37 #include "vpar_headers.h"
38 #include "video_fifo.h"
39 #include "vpar_synchro.h"
40 #include "video_parser.h"
46 /*****************************************************************************
47 * vpar_SynchroChoose : Decide whether we will decode a picture or not
48 *****************************************************************************/
49 boolean_t vpar_SynchroChoose( vpar_thread_t * p_vpar, int i_coding_type,
52 return( i_coding_type == I_CODING_TYPE );
55 /*****************************************************************************
56 * vpar_SynchroTrash : Update timers when we trash a picture
57 *****************************************************************************/
58 void vpar_SynchroTrash( vpar_thread_t * p_vpar, int i_coding_type,
64 /*****************************************************************************
65 * vpar_SynchroDecode : Update timers when we decide to decode a picture
66 *****************************************************************************/
67 mtime_t vpar_SynchroDecode( vpar_thread_t * p_vpar, int i_coding_type,
70 return mdate() + 500000;
73 /*****************************************************************************
74 * vpar_SynchroEnd : Called when the image is totally decoded
75 *****************************************************************************/
76 void vpar_SynchroEnd( vpar_thread_t * p_vpar )