]> git.sesse.net Git - vlc/commitdiff
Yop,
authorMichel Lespinasse <walken@videolan.org>
Sat, 19 Feb 2000 00:39:03 +0000 (00:39 +0000)
committerMichel Lespinasse <walken@videolan.org>
Sat, 19 Feb 2000 00:39:03 +0000 (00:39 +0000)
Bon ben voila, j'ai commence a bouger les .h comme je voulais le faire...

C'est encore un peu le bordel et j'en suis desole. Mais je compte bien
deplacer des trucs jusqu'a ce que ca soit a nouveau bien range :)

32 files changed:
Makefile
include/control.h [deleted file]
include/vlc.h [deleted file]
src/ac3_decoder/ac3_bit_allocate.h [moved from include/ac3_bit_allocate.h with 100% similarity]
src/ac3_decoder/ac3_downmix.h [moved from include/ac3_downmix.h with 100% similarity]
src/ac3_decoder/ac3_exponent.h [moved from include/ac3_exponent.h with 100% similarity]
src/ac3_decoder/ac3_imdct.h [moved from include/ac3_imdct.h with 100% similarity]
src/ac3_decoder/ac3_mantissa.h [moved from include/ac3_mantissa.h with 100% similarity]
src/ac3_decoder/ac3_parse.h [moved from include/ac3_parse.h with 100% similarity]
src/ac3_decoder/ac3_rematrix.h [moved from include/ac3_rematrix.h with 100% similarity]
src/audio_decoder/audio_constants.h [moved from include/audio_constants.h with 100% similarity]
src/audio_decoder/audio_math.h [moved from include/audio_math.h with 100% similarity]
src/audio_output/audio_sys.h [moved from include/audio_sys.h with 100% similarity]
src/generic_decoder/generic_decoder.h [moved from include/generic_decoder.h with 100% similarity]
src/input/input.c
src/input/input_ctrl.c
src/input/input_ctrl.h [moved from include/input_ctrl.h with 100% similarity]
src/input/input_file.h [moved from include/input_file.h with 100% similarity]
src/input/input_network.h [moved from include/input_network.h with 100% similarity]
src/input/input_pcr.h [moved from include/input_pcr.h with 100% similarity]
src/input/input_psi.c
src/input/input_psi.h [moved from include/input_psi.h with 100% similarity]
src/interface/control.c [deleted file]
src/interface/intf_cmd.h [moved from include/intf_cmd.h with 100% similarity]
src/interface/intf_console.h [moved from include/intf_console.h with 100% similarity]
src/interface/intf_ctrl.c
src/interface/intf_ctrl.h [moved from include/intf_ctrl.h with 100% similarity]
src/interface/intf_sys.h [moved from include/intf_sys.h with 100% similarity]
src/video_output/video_sys.h [moved from include/video_sys.h with 100% similarity]
src/video_output/video_text.h [moved from include/video_text.h with 100% similarity]
src/video_output/video_x11.h [moved from include/video_x11.h with 100% similarity]
src/video_output/video_yuv.h [moved from include/video_yuv.h with 100% similarity]

index 848a99bef1570ac2008bbccf76fab7cb8f74fe05..f4ff9066117a013419aba337ed2aaa9bbad27646 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -205,7 +205,6 @@ interface_obj =             interface/main.o \
                                                interface/intf_msg.o \
                                                interface/intf_cmd.o \
                                                interface/intf_ctrl.o \
-                                               interface/control.o \
                                                interface/intf_console.o \
                                                $(video:%=interface/intf_%.o)
 
diff --git a/include/control.h b/include/control.h
deleted file mode 100644 (file)
index def1740..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/*****************************************************************************
- * control.h: user control functions
- * (c)1999 VideoLAN
- *****************************************************************************
- * Library of functions common to all interfaces, allowing access to various
- * structures and settings. Interfaces should only use those functions
- * to read or write informations from other threads.
- *****************************************************************************
- * Required headers:
-  *  <sys/uio.h>
- *  <X11/Xlib.h>
- *  <X11/extensions/XShm.h>
- *  "config.h"
- *  "common.h"
- *  "mtime.h"
- *  "vlc_thread.h"
- *  "input.h"
- *  "video.h"
- *  "video_output.h"
- *  "xconsole.h"
- *  "interface.h"
- *****************************************************************************/
-
-/*****************************************************************************
- * Prototypes
- *****************************************************************************/
-int     intf_SelectAudioStream  ( intf_thread_t *p_intf, int i_input, int i_id );
-void    intf_DeselectAudioStream( intf_thread_t *p_intf, int i_input, int i_id );
-int     intf_SelectVideoStream  ( intf_thread_t *p_intf, int i_input,
-                                  int i_vout, int i_id );
-void    intf_DeselectVideoStream( intf_thread_t *p_intf, int i_input, int i_id );
-
-
-
diff --git a/include/vlc.h b/include/vlc.h
deleted file mode 100644 (file)
index a25e013..0000000
+++ /dev/null
@@ -1,104 +0,0 @@
-/*****************************************************************************
- * vlc.h: all headers
- * (c)1998 VideoLAN
- *****************************************************************************
- * This header includes all vlc .h headers and depending headers. A source file
- * including it would also be able to use any of the structures of the project.
- * Note that functions or system headers specific to the file itself are not
- * included.
- *****************************************************************************
- * required headers:
- *  none
- *****************************************************************************/
-
-/* System headers */
-#include <errno.h>
-#include <fcntl.h>
-#include <getopt.h>
-#include <signal.h>
-#include <stdarg.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <net/if.h>
-
-#include <sys/ioctl.h>
-#include <sys/shm.h>
-#include <sys/soundcard.h>
-#include <sys/uio.h>
-
-#ifdef VIDEO_X11
-#include <X11/Xlib.h>
-#include <X11/Xutil.h>
-#include <X11/Xatom.h>
-#include <X11/extensions/XShm.h>
-#include <X11/extensions/xf86dga.h>
-#endif
-
-
-
-/* Common headers */
-#include "config.h"
-#include "common.h"
-#include "mtime.h"
-#include "vlc_thread.h"
-#include "netutils.h"
-#include "debug.h"
-#include "intf_msg.h"
-
-/* Input */
-#include "input.h"
-#include "input_psi.h"
-#include "input_pcr.h"
-#include "input_netlist.h"
-#include "input_vlan.h"
-#include "decoder_fifo.h"
-#include "input_file.h"
-#include "input_network.h"
-#include "input_ctrl.h"
-
-/* Audio */
-#include "audio_output.h"
-#include "audio_decoder.h"
-#include "ac3_decoder.h"
-
-/* Subtitles */
-#include "spu_decoder.h"
-
-/* Video */
-#include "video.h"
-#include "video_output.h"
-
-#ifdef OLD_DECODER
-#include "video_decoder.h"
-#else
-#include "vdec_idct.h"
-#include "video_decoder.h"
-#include "vdec_motion.h"
-#include "vpar_blocks.h"
-#include "vpar_headers.h"
-#include "vpar_synchro.h"
-#include "video_parser.h"
-#include "video_fifo.h"
-#endif
-
-/* Interface */
-#include "intf_cmd.h"
-#include "intf_ctrl.h"
-
-#ifndef OLD_DECODER
-#include "intf_sys.h"
-#include "intf_console.h"
-#endif
-
-#include "interface.h"
-
-#include "main.h"
-
-
index 615bbc4f960769435a7e92fd0661577f6054cc9d..a30b51e707fca682ad9feef13d2786c0439d92a8 100644 (file)
@@ -9,9 +9,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include "vlc.h"
-
-/*
 #include <errno.h>
 #include <sys/uio.h>
 #include <string.h>
 
 #include "video.h"
 #include "video_output.h"
+#include "vdec_idct.h"
+#include "vdec_motion.h"
 #include "video_decoder.h"
-*/
+#include "vpar_blocks.h"
+#include "vpar_headers.h"
+#include "vpar_synchro.h"
+#include "video_parser.h"
+
+#include "ac3_decoder.h"
+#include "spu_decoder.h"
+
+#include "main.h"
 
 /*****************************************************************************
  * Local prototypes
index 048c34d28001b8ce7434e6c7f152429fda7f085c..b80179c123fe1f5a868fe6e748d24ae3d7c9aad1 100644 (file)
@@ -10,9 +10,6 @@
  * Preamble
  *****************************************************************************/
 
-#include "vlc.h"
-
-#if 0
 #include <errno.h>
 #include <sys/uio.h>                                                /* iovec */
 #include <stdlib.h>                              /* atoi(), malloc(), free() */
 #include "decoder_fifo.h"
 
 #include "audio_output.h"
-#include "audio_dsp.h"
 #include "audio_decoder.h"
+#include "ac3_decoder.h"
 
 #include "video.h"
 #include "video_output.h"
-#include "video_decoder.h"
-
-#endif
+#include "vdec_idct.h"
+//#include "video_decoder.h"
+#include "vdec_motion.h"
+#include "vpar_blocks.h"
+#include "vpar_headers.h"
+#include "vpar_synchro.h"
+#include "video_parser.h"
+
+#include "spu_decoder.h"
 
 /*****************************************************************************
  * input_AddPgrmElem: Start the extraction and the decoding of a program element
similarity index 100%
rename from include/input_ctrl.h
rename to src/input/input_ctrl.h
similarity index 100%
rename from include/input_file.h
rename to src/input/input_file.h
similarity index 100%
rename from include/input_pcr.h
rename to src/input/input_pcr.h
index 8c3170574f1baf03ee9e83c9ac6158ee0677fc8b..b0bb28f68ddde27f41352bb0955c62856df1b3cd 100644 (file)
@@ -9,9 +9,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include "vlc.h"
-
-/*
 #include <errno.h>
 #include <pthread.h>
 #include <errno.h>
 #include "audio_output.h"
 #include "video.h"
 #include "video_output.h"
-#include "xconsole.h"
 #include "interface.h"
 
-#include "pgm_data.h"*/
+#include "main.h"
 
 /*
  * Precalculated 32-bits CRC table, shared by all instances of the PSI decoder
similarity index 100%
rename from include/input_psi.h
rename to src/input/input_psi.h
diff --git a/src/interface/control.c b/src/interface/control.c
deleted file mode 100644 (file)
index 0c0bf64..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-/*****************************************************************************
- * control.c: user control functions
- * (c)1999 VideoLAN
- *****************************************************************************
- * Library of functions common to all threads, allowing access to various
- * structures and settings. Interfaces should only use those functions
- * to read or write informations from other threads.
- *****************************************************************************/
-
-/*****************************************************************************
- * Preamble
- *****************************************************************************/
-#include "vlc.h"
-
similarity index 100%
rename from include/intf_cmd.h
rename to src/interface/intf_cmd.h
index f8dfa96b11c00e9ca6197a864406b5452bdd84dd..fff65dfd1f4d90c5a89453d5d5802390cd0f4ac4 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include "vlc.h"
+#include <stdio.h>
+#include <stdlib.h>
+#include <fcntl.h>
+#include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/uio.h>
+
+/* Common headers */
+#include "config.h"
+#include "common.h"
+#include "mtime.h"
+#include "vlc_thread.h"
+#include "debug.h"
+#include "intf_msg.h"
+
+#include "input.h"
+#include "audio_output.h"
+#include "intf_cmd.h"
+#include "interface.h"
+#include "main.h"
 
 /*
  * Local prototypes
similarity index 100%
rename from include/intf_sys.h
rename to src/interface/intf_sys.h