Browse Source

Ajout des fichiers de la synchro un peu partout.

pull/2/head
Christophe Massiot 27 years ago
parent
commit
c3a438c74a
  1. 1
      include/video_parser.h
  2. 35
      include/vpar_synchro.h
  3. 1
      src/video_decoder/vdec_idct.c
  4. 1
      src/video_decoder/vdec_motion.c
  5. 1
      src/video_decoder/video_decoder.c
  6. 1
      src/video_parser/video_fifo.c
  7. 1
      src/video_parser/video_parser.c
  8. 1
      src/video_parser/vpar_blocks.c
  9. 1
      src/video_parser/vpar_headers.c
  10. 1
      src/video_parser/vpar_motion.c
  11. 71
      src/video_parser/vpar_synchro.c

1
include/video_parser.h

@ -56,6 +56,7 @@ typedef struct vpar_thread_s
picture_parsing_t picture; picture_parsing_t picture;
slice_parsing_t slice; slice_parsing_t slice;
macroblock_parsing_t mb; macroblock_parsing_t mb;
video_synchro_t synchro;
#ifdef STATS #ifdef STATS
/* Statistics */ /* Statistics */

35
include/vpar_synchro.h

@ -0,0 +1,35 @@
/*****************************************************************************
* vpar_synchro.h : video parser blocks management
* (c)1999 VideoLAN
*****************************************************************************
*****************************************************************************
* Requires:
* "config.h"
* "common.h"
* "mtime.h"
* "vlc_thread.h"
* "input.h"
* "video.h"
* "video_output.h"
* "decoder_fifo.h"
* "video_fifo.h"
*****************************************************************************/
/*****************************************************************************
* video_synchro_t : timers for the video synchro
*****************************************************************************/
typedef struct video_synchro_s
{
} video_synchro_t;
/*****************************************************************************
* Prototypes
*****************************************************************************/
void vpar_SynchroChoose( struct vpar_thread_s * p_vpar, int i_coding_type,
int i_structure );
void vpar_SynchroTrash( struct vpar_thread_s * p_vpar, int i_coding_type,
int i_structure );
mtime_t vpar_SynchroDecode( struct vpar_thread_s * p_vpar, int i_coding_type,
int i_structure );

1
src/video_decoder/vdec_idct.c

@ -36,6 +36,7 @@
#include "vpar_blocks.h" #include "vpar_blocks.h"
#include "vpar_headers.h" #include "vpar_headers.h"
#include "video_fifo.h" #include "video_fifo.h"
#include "vpar_synchro.h"
#include "video_parser.h" #include "video_parser.h"
/* /*

1
src/video_decoder/vdec_motion.c

@ -36,6 +36,7 @@
#include "vpar_blocks.h" #include "vpar_blocks.h"
#include "vpar_headers.h" #include "vpar_headers.h"
#include "video_fifo.h" #include "video_fifo.h"
#include "vpar_synchro.h"
#include "video_parser.h" #include "video_parser.h"
/* /*

1
src/video_decoder/video_decoder.c

@ -38,6 +38,7 @@
#include "vpar_blocks.h" #include "vpar_blocks.h"
#include "vpar_headers.h" #include "vpar_headers.h"
#include "video_fifo.h" #include "video_fifo.h"
#include "vpar_synchro.h"
#include "video_parser.h" #include "video_parser.h"
/* /*

1
src/video_parser/video_fifo.c

@ -36,6 +36,7 @@
#include "vpar_blocks.h" #include "vpar_blocks.h"
#include "vpar_headers.h" #include "vpar_headers.h"
#include "video_fifo.h" #include "video_fifo.h"
#include "vpar_synchro.h"
#include "video_parser.h" #include "video_parser.h"
/***************************************************************************** /*****************************************************************************

1
src/video_parser/video_parser.c

@ -38,6 +38,7 @@
#include "vpar_blocks.h" #include "vpar_blocks.h"
#include "vpar_headers.h" #include "vpar_headers.h"
#include "video_fifo.h" #include "video_fifo.h"
#include "vpar_synchro.h"
#include "video_parser.h" #include "video_parser.h"
/* /*

1
src/video_parser/vpar_blocks.c

@ -36,6 +36,7 @@
#include "vpar_blocks.h" #include "vpar_blocks.h"
#include "vpar_headers.h" #include "vpar_headers.h"
#include "video_fifo.h" #include "video_fifo.h"
#include "vpar_synchro.h"
#include "video_parser.h" #include "video_parser.h"
/* /*

1
src/video_parser/vpar_headers.c

@ -36,6 +36,7 @@
#include "vpar_blocks.h" #include "vpar_blocks.h"
#include "vpar_headers.h" #include "vpar_headers.h"
#include "video_fifo.h" #include "video_fifo.h"
#include "vpar_synchro.h"
#include "video_parser.h" #include "video_parser.h"
/* /*

1
src/video_parser/vpar_motion.c

@ -36,6 +36,7 @@
#include "vpar_blocks.h" #include "vpar_blocks.h"
#include "vpar_headers.h" #include "vpar_headers.h"
#include "video_fifo.h" #include "video_fifo.h"
#include "vpar_synchro.h"
#include "video_parser.h" #include "video_parser.h"
/* /*

71
src/video_parser/vpar_synchro.c

@ -0,0 +1,71 @@
/*****************************************************************************
* vpar_motion.c : motion vectors parsing
* (c)1999 VideoLAN
*****************************************************************************/
/*****************************************************************************
* Preamble
*****************************************************************************/
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <sys/uio.h>
#include <X11/Xlib.h>
#include <X11/extensions/XShm.h>
#include "config.h"
#include "common.h"
#include "mtime.h"
#include "vlc_thread.h"
#include "intf_msg.h"
#include "debug.h" /* ?? temporaire, requis par netlist.h */
#include "input.h"
#include "input_netlist.h"
#include "decoder_fifo.h"
#include "video.h"
#include "video_output.h"
#include "vdec_idct.h"
#include "video_decoder.h"
#include "vdec_motion.h"
#include "vpar_blocks.h"
#include "vpar_headers.h"
#include "video_fifo.h"
#include "vpar_synchro.h"
#include "video_parser.h"
/*
* Local prototypes
*/
/*****************************************************************************
* vpar_SynchroChoose : Decide whether we will decode a picture or not
*****************************************************************************/
void vpar_SynchroChoose( vpar_thread_t * p_vpar, int i_coding_type,
int i_structure )
{
}
/*****************************************************************************
* vpar_SynchroTrash : Update timers when we trash a picture
*****************************************************************************/
void vpar_SynchroTrash( vpar_thread_t * p_vpar, int i_coding_type,
int i_structure )
{
}
/*****************************************************************************
* vpar_SynchroDecode : Update timers when we decide to decode a picture
*****************************************************************************/
mtime_t vpar_SynchroDecode( vpar_thread_t * p_vpar, int i_coding_type,
int i_structure )
{
}
Loading…
Cancel
Save