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,
53 return( i_coding_type == I_CODING_TYPE || i_coding_type == P_CODING_TYPE );
54 //return( i_coding_type == I_CODING_TYPE );
57 /*****************************************************************************
58 * vpar_SynchroTrash : Update timers when we trash a picture
59 *****************************************************************************/
60 void vpar_SynchroTrash( vpar_thread_t * p_vpar, int i_coding_type,
66 /*****************************************************************************
67 * vpar_SynchroDecode : Update timers when we decide to decode a picture
68 *****************************************************************************/
69 mtime_t vpar_SynchroDecode( vpar_thread_t * p_vpar, int i_coding_type,
72 return mdate() + 500000;
75 /*****************************************************************************
76 * vpar_SynchroEnd : Called when the image is totally decoded
77 *****************************************************************************/
78 void vpar_SynchroEnd( vpar_thread_t * p_vpar )