]> git.sesse.net Git - vlc/blob - src/video_parser/vpar_synchro.c
Suite des images I.
[vlc] / src / video_parser / vpar_synchro.c
1 /*****************************************************************************
2  * vpar_motion.c : motion vectors parsing
3  * (c)1999 VideoLAN
4  *****************************************************************************/
5
6 /*****************************************************************************
7  * Preamble
8  *****************************************************************************/
9 #include <errno.h>
10 #include <stdlib.h>
11 #include <stdio.h>
12 #include <unistd.h>
13 #include <string.h>
14 #include <sys/uio.h>
15 #include <X11/Xlib.h>
16 #include <X11/extensions/XShm.h>
17
18 #include "config.h"
19 #include "common.h"
20 #include "mtime.h"
21 #include "vlc_thread.h"
22
23 #include "intf_msg.h"
24 #include "debug.h"                    /* ?? temporaire, requis par netlist.h */
25
26 #include "input.h"
27 #include "input_netlist.h"
28 #include "decoder_fifo.h"
29 #include "video.h"
30 #include "video_output.h"
31
32 #include "vdec_idct.h"
33 #include "video_decoder.h"
34 #include "vdec_motion.h"
35
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"
41
42 /*
43  * Local prototypes
44  */
45
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,
50                               int i_structure )
51 {
52     return( i_coding_type == I_CODING_TYPE );
53 }
54
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,
59                         int i_structure )
60 {
61
62 }
63
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,
68                             int i_structure )
69 {
70     return mdate() + 500000;
71 }
72
73 /*****************************************************************************
74  * vpar_SynchroEnd : Called when the image is totally decoded
75  *****************************************************************************/
76 void vpar_SynchroEnd( vpar_thread_t * p_vpar )
77 {
78
79 }
80
81
82