Changeset 57e189eb5d1d387f2036c31720e1e9aa8cb3ea78

Show
Ignore:
Timestamp:
07/04/00 04:37:21 (8 years ago)
Author:
Sam Hocevar <sam@videolan.org>
git-committer:
Sam Hocevar <sam@videolan.org> 962678241 +0000
git-parent:

[3cbfc06dc36bc0d178793558d52d71348e999106]

git-author:
Sam Hocevar <sam@videolan.org> 962678241 +0000
Message:

Bon, puisque �a semble commiter sous BeOS, je commite.

Voil� le changelog appoximatif :

. fichier INSTALL plus clair
. vir� quelques warnings
. *PATH sont maintenant d�finis dans config.h
. quelques fautes d'orthographe
. l'option --enable-ppro n'est pas mise par d�faut car elle ne fonctionne

pas sur un K6-2

. nouvelle API des plugins
. le client framebuffer ne d�truit plus la console quand on quitte
. r�paration de la YUV 8 bits
. mise des YUV en plugins
. transfo YUV 32bits MMX chour�e dans la libmpeg2

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ChangeLog

    r3cbfc06 r57e189e  
    1 Tue Jun 20 14:17:56 CEST 2000 
     1[insert date here] 
    220.1.99d : 
    33 
    44  * fixed RPM build 
    55  * .deb is now more lintian-friendly 
     6  * fixed vlc.spec to install nicely 
     7  * PLUGIN_PATH and DATA_PATH now in include/*.h 
     8  * removed a few useless warning messages 
     9  * removed remaining header stuff related to the old non-free decoder 
     10  * fixed the MGA build (doesn't work yet, though) 
     11  * new plugin API 
     12  * updated the INSTALL document 
     13  * plugin auto-detection 
     14  * fixed a few misspellings in the code 
     15  * removed the default --enable-ppro option because it didn't work on K6-2 
     16  * the framebuffer client now leaves the console in a working state 
     17  * the dithered 8 bpp YUV transformation works again (blame bbp !) 
     18  * the YUV transformations are now plugins as well 
     19  * alternative symlinks like gvlc, fbvlc are now created at compile time 
     20  * borrowed libmpeg2's GPLed MMX YUV transformations (16 and 32 bits) 
    621 
    722Sun Jun 18 18:54:48 CEST 2000 
     
    1025  * fixed Makefile.in for debug version 
    1126  * caught Delete Window event in Gnome and X11 modes 
    12   * fixed manpage 
     27  * fixed man page 
    1328  * GGI output now works 
    1429  * fixed a segfault on exit for the Gnome plugin 
     
    2540  * created the ChangeLog file :) 
    2641 
     42Thu Jun 15 20:48:54 CEST 2000 
     430.1.99a : 
     44 
     45  * first public release 
     46 
  • INSTALL

    r3cbfc06 r57e189e  
    77A typical way to configure the vlc is : 
    88 
    9    ./configure --prefix=/usr --enable-ppro --enable-mmx --enable-gnome 
     9   ./configure --prefix=/usr --enable-mmx --enable-gnome 
    1010 
    1111See `./configure --help' for more information. 
  • Makefile.dep

    r0eba28c r57e189e  
    1515 
    1616default: 
    17     @echo "This Makefile should not be called directly - see notes at end of
    18     @echo "main Makefile." 
     17    @echo "This Makefile should not be called directly,
     18    @echo "see notes at end of main Makefile." 
    1919 
    2020################################################################################ 
     
    3131    #@echo "generating dependancies for $*.c" 
    3232    @$(SHELL) -ec '$(CC) $(DCFLAGS) $(CFLAGS) $(DEFINE) $< \ 
    33         | sed '\''s/$(subst .,\.,$(notdir $*))\.o[ :]*/$(subst /,\/,$*).o \ 
    34         .dep\/$(subst /,\/,$*).d : /g'\'' > $@; \ 
    35         [ -s $@ ] || rm -f $@' 
     33    | sed '\''s/$(subst .,\.,$(notdir $*))\.o[ :]*/$(subst /,\/,$*).o \ 
     34    .dep\/$(subst /,\/,$*).d : /g'\'' > $@; \ 
     35    [ -s $@ ] || rm -f $@' 
     36 
  • Makefile.in

    r3cbfc06 r57e189e  
    4242# including SYS_xx. It will be passed to C compiler. 
    4343DEFINE += -DSYS_$(shell echo $(SYS) | sed 's/-.*//' | tr a-z A-Z) 
    44 DEFINE += -DPLUGIN_PATH="\"$(prefix)/lib/videolan/vlc\"" 
    45 DEFINE += -DDATA_PATH="\"$(prefix)/share/videolan/vlc\"" 
    4644 
    4745################################################################################ 
     
    212210                        misc/rsc_files.o \ 
    213211                        misc/netutils.o \ 
     212                        misc/playlist.o \ 
    214213                        misc/plugins.o \ 
    215214                        misc/decoder_fifo.o 
     
    249248PLUGINS := $(PLUGINS:%=lib/%.so) 
    250249 
    251 PLUGIN_BEOS   = plugins/beos/aout_beos.o \ 
     250PLUGIN_BEOS   = plugins/beos/beos.o \ 
     251        plugins/beos/aout_beos.o \ 
    252252        plugins/beos/intf_beos.o \ 
    253253        plugins/beos/vout_beos.o 
    254254 
    255 PLUGIN_DSP    = plugins/dsp/aout_dsp.o 
    256  
    257 PLUGIN_DUMMY  = plugins/dummy/aout_dummy.o \ 
     255PLUGIN_DSP    = plugins/dsp/dsp.o \ 
     256        plugins/dsp/aout_dsp.o \ 
     257 
     258PLUGIN_DUMMY  = plugins/dummy/dummy.o \ 
     259        plugins/dummy/aout_dummy.o \ 
    258260        plugins/dummy/intf_dummy.o \ 
    259261        plugins/dummy/vout_dummy.o 
    260262 
    261 PLUGIN_ESD    = plugins/esd/aout_esd.o 
    262  
    263 PLUGIN_FB     = plugins/fb/intf_fb.o \ 
     263PLUGIN_ESD    = plugins/esd/esd.o \ 
     264        plugins/esd/aout_esd.o 
     265 
     266PLUGIN_FB     = plugins/fb/fb.o \ 
     267        plugins/fb/intf_fb.o \ 
    264268        plugins/fb/vout_fb.o 
    265269 
    266 PLUGIN_GGI    = plugins/ggi/intf_ggi.o \ 
     270PLUGIN_GGI    = plugins/ggi/ggi.o \ 
     271        plugins/ggi/intf_ggi.o \ 
    267272        plugins/ggi/vout_ggi.o 
    268273 
    269 PLUGIN_GLIDE  = plugins/glide/intf_glide.o \ 
     274PLUGIN_GLIDE  = plugins/glide/glide.o \ 
     275        plugins/glide/intf_glide.o \ 
    270276        plugins/glide/vout_glide.o 
    271277 
    272 PLUGIN_GNOME  = plugins/gnome/intf_gnome.o \ 
     278PLUGIN_GNOME  = plugins/gnome/gnome.o \ 
     279        plugins/gnome/intf_gnome.o \ 
    273280        plugins/gnome/intf_gnome_callbacks.o \ 
    274281        plugins/gnome/intf_gnome_interface.o \ 
     
    276283        plugins/gnome/vout_gnome.o 
    277284 
    278 PLUGIN_MGA    = plugins/mga/intf_mga.o \ 
    279         plugins/fb/vout_mga.o 
    280  
    281 PLUGIN_X11    = plugins/x11/intf_x11.o \ 
     285PLUGIN_MGA    = plugins/mga/mga.o \ 
     286        plugins/mga/intf_mga.o \ 
     287        plugins/mga/vout_mga.o 
     288 
     289PLUGIN_X11    = plugins/x11/x11.o \ 
     290        plugins/x11/intf_x11.o \ 
    282291        plugins/x11/vout_x11.o 
     292 
     293PLUGIN_YUV    = plugins/yuv/yuv.o \ 
     294        plugins/yuv/video_yuv.o \ 
     295        plugins/yuv/video_yuv8.o \ 
     296        plugins/yuv/video_yuv15.o \ 
     297        plugins/yuv/video_yuv16.o \ 
     298        plugins/yuv/video_yuv24.o \ 
     299        plugins/yuv/video_yuv32.o 
     300 
     301PLUGIN_YUVMMX = plugins/yuvmmx/yuvmmx.o \ 
     302        plugins/yuvmmx/video_yuv.o \ 
     303        plugins/yuvmmx/video_yuv8.o \ 
     304        plugins/yuvmmx/video_yuv15.o \ 
     305        plugins/yuvmmx/video_yuv16.o \ 
     306        plugins/yuvmmx/video_yuv24.o \ 
     307        plugins/yuvmmx/video_yuv32.o 
    283308 
    284309PLUGIN_OBJ = $(PLUGIN_BEOS) $(PLUGIN_DSP) $(PLUGIN_DUMMY) $(PLUGIN_ESD) \ 
    285310        $(PLUGIN_FB) $(PLUGIN_GGI) $(PLUGIN_GLIDE) $(PLUGIN_GNOME) \ 
    286         $(PLUGIN_MGA) $(PLUGIN_X11) 
     311        $(PLUGIN_MGA) $(PLUGIN_X11) $(PLUGIN_YUV) $(PLUGIN_YUVMMX) 
    287312# 
    288313# Other lists of files 
     
    304329# Virtual targets 
    305330# 
    306 all: vlc plugins 
     331all: vlc @ALIASES@ plugins 
    307332 
    308333clean: 
    309334    rm -f $(C_OBJ) $(CPP_OBJ) $(ASM_OBJ) $(PLUGIN_OBJ) 
     335    rm -f vlc @ALIASES@ lib/*.so 
    310336 
    311337distclean: clean 
    312     rm -f src/*/*.o plugins/*/*.o lib/*.so **/*~ *.log 
     338    rm -f src/*/*.o plugins/*/*.o **/*~ *.log 
    313339    rm -f Makefile include/defs.h include/config.h 
    314340    rm -f config.status config.cache config.log 
    315     rm -f vlc gmon.out core build-stamp 
     341    rm -f gmon.out core build-stamp 
    316342    rm -rf .dep 
    317343 
     
    319345    $(INSTALL) vlc $(prefix)/bin 
    320346    mkdir -p $(prefix)/lib/videolan/vlc 
    321     mkdir -p $(prefix)/share/videolan/vlc 
     347    mkdir -p $(prefix)/share/videolan 
    322348    $(INSTALL) -m 644 $(PLUGINS) $(prefix)/lib/videolan/vlc 
    323     $(INSTALL) -m 644 share/*.psf $(prefix)/share/videolan/vlc 
    324     $(INSTALL) -m 644 share/*.png $(prefix)/share/videolan/vlc 
     349    $(INSTALL) -m 644 share/*.psf $(prefix)/share/videolan 
     350    $(INSTALL) -m 644 share/*.png $(prefix)/share/videolan 
    325351 
    326352show: 
    327     @echo "Command line for C objects:" 
    328     @echo $(CC) $(CCFLAGS) $(CFLAGS) -c -o "<dest.o>" "<src.c>" 
    329     @echo 
    330     @echo "Command line for assembler objects:" 
    331     @echo $(CC) $(CFLAGS) -c -o "<dest.o>" "<src.S>" 
     353    @echo CC: $(CC) 
     354    @echo CCFLAGS: $(CCFLAGS) 
     355    @echo DCFLAGS: $(DCFLAGS) 
     356    @echo LCFLAGS: $(CCFLAGS) 
    332357 
    333358# ugliest of all, but I have no time to do it -- sam 
     
    360385endif 
    361386 
     387gvlc xvlc fbvlc ggivlc glidevlc: vlc 
     388    rm -f $@ && ln -s vlc $@ 
     389 
    362390plugins: $(PLUGINS) 
    363391 
     
    383411#$(PLUGIN_OBJ): %.so: .dep/%.d 
    384412 
    385 #$(CC) $(LCFLAGS) $(CCFLAGS) $(CFLAGS) -nostart -Xlinker -soname=$@ -o $@ $< plugins/_APP_ 
    386          
    387413lib/beos.so: $(PLUGIN_BEOS) 
    388     ld -nostart -Xlinker -soname=$@ -o $@ $^ plugins/_APP_ 
    389 $(PLUGIN_BEOS): %.o: %.c 
     414    $(CC) $(CCFLAGS) $(CFLAGS) -nostart -Xlinker -soname=$@ -o $@ $^ plugins/_APP_ 
     415$(PLUGIN_BEOS): %.o: %.cpp 
    390416    $(CC) $(CCFLAGS) $(CFLAGS) -c -o $@ $< 
    391417 
     
    399425    $(CC) $(CCFLAGS) $(CFLAGS) -c -o $@ $< 
    400426 
     427lib/dsp.so: $(PLUGIN_DSP) 
     428    ld -shared -o $@ $^ 
     429$(PLUGIN_DSP): %.o: %.c 
     430    $(CC) $(CCFLAGS) $(CFLAGS) -c -o $@ $< 
     431 
    401432lib/dummy.so: $(PLUGIN_DUMMY) 
    402433    ld -shared -o $@ $^ 
     
    422453    ld -shared `gnome-config --libs gnomeui | sed 's,-rdynamic,,'` -o $@ $^ 
    423454$(PLUGIN_GNOME): %.o: %.c 
    424     $(CC) $(CCFLAGS) $(CFLAGS) `gnome-config --cflags gnomeui`-c -o $@ $< 
     455    $(CC) $(CCFLAGS) $(CFLAGS) `gnome-config --cflags gnomeui` -c -o $@ $< 
    425456 
    426457lib/glide.so: $(PLUGIN_GLIDE) 
     
    432463    ld -shared -lggi -o $@ $^ 
    433464$(PLUGIN_GGI): %.o: %.c 
     465    $(CC) $(CCFLAGS) $(CFLAGS) -c -o $@ $< 
     466 
     467lib/yuv.so: $(PLUGIN_YUV) 
     468    ld -shared -o $@ $^ 
     469$(PLUGIN_YUV): %.o: %.c 
     470    $(CC) $(CCFLAGS) $(CFLAGS) -c -o $@ $< 
     471 
     472lib/yuvmmx.so: $(PLUGIN_YUVMMX) 
     473    ld -shared -o $@ $^ 
     474$(PLUGIN_YUVMMX): %.o: %.c 
    434475    $(CC) $(CCFLAGS) $(CFLAGS) -c -o $@ $< 
    435476 
  • README

    r3cbfc06 r57e189e  
    55============ 
    66 
    7 [ nothing appropriate yet ] 
     7The vlc is part of the VideoLAN project, a full MPEG2 client/server 
     8solution. The VideoLAN Client can also be used as a standalone program 
     9to play MPEG2 streams from a hard disk or a DVD. 
    810 
    911 
     
    3941========= 
    4042 
    41 [ nothing appropriate yet ] 
     43The VideoLAN web site at http://www.videolan.org/ is a good start for 
     44information about MPEG and DVD playing. Have a look at the documentation 
     45section, as well as the bookmarks. 
     46 
     47You can also try the OpenDVD site at http://www.opendvd.org/ or the 
     48the LiVid project at http://www.linuxvideo.org/. They have lots of 
     49information, too. 
    4250 
    4351 
  • configure

    r3cbfc06 r57e189e  
    1313# Any additions from configure.in: 
    1414ac_help="$ac_help 
    15   --enable-dsp            Linux /dev/dsp support (default enabled)" 
     15  --enable-ppro           Enable PentiumPro optimizations (default is no)" 
     16ac_help="$ac_help 
     17  --enable-mmx            Enable MMX optimizations (default is no)" 
    1618ac_help="$ac_help 
    1719  --enable-dummy          dummy audio and video support (default enabled)" 
     20ac_help="$ac_help 
     21  --enable-dsp            Linux /dev/dsp support (default enabled)" 
    1822ac_help="$ac_help 
    1923  --enable-esd            Esound library support (default disabled)" 
     
    2832ac_help="$ac_help 
    2933  --enable-x11            X11 support (default enabled)" 
    30 ac_help="$ac_help 
    31   --enable-ppro           Enable PentiumPro optimizations (default is no)" 
    32 ac_help="$ac_help 
    33   --enable-mmx            Enable MMX optimizations (default is no)" 
    3434 
    3535# Initialize some variables set by options. 
     
    30423042 
    30433043 
    3044 # Check whether --enable-dsp or --disable-dsp was given. 
    3045 if test "${enable_dsp+set}" = set; then 
    3046   enableval="$enable_dsp" 
    3047   : 
    3048 fi 
    3049  
    3050 if test x$enable_dsp != xno; then PLUGINS=${PLUGINS}"dsp "; fi 
    3051 # Check whether --enable-dummy or --disable-dummy was given. 
    3052 if test "${enable_dummy+set}" = set; then 
    3053   enableval="$enable_dummy" 
    3054   : 
    3055 fi 
    3056  
    3057 if test x$enable_dummy != xno; then PLUGINS=${PLUGINS}"dummy "; fi 
    3058 # Check whether --enable-esd or --disable-esd was given. 
    3059 if test "${enable_esd+set}" = set; then 
    3060   enableval="$enable_esd" 
    3061   if test x$enable_gnome = xyes; then PLUGINS=${PLUGINS}"esd "; fi 
    3062 fi 
    3063  
    3064 # Check whether --enable-fb or --disable-fb was given. 
    3065 if test "${enable_fb+set}" = set; then 
    3066   enableval="$enable_fb" 
    3067   if test x$enable_fb = xyes; then PLUGINS=${PLUGINS}"fb "; fi 
    3068 fi 
    3069  
    3070 # Check whether --enable-ggi or --disable-ggi was given. 
    3071 if test "${enable_ggi+set}" = set; then 
    3072   enableval="$enable_ggi" 
    3073   if test x$enable_ggi = xyes; then PLUGINS=${PLUGINS}"ggi "; fi 
    3074 fi 
    3075  
    3076 # Check whether --enable-glide or --disable-glide was given. 
    3077 if test "${enable_glide+set}" = set; then 
    3078   enableval="$enable_glide" 
    3079   if test x$enable_glide = xyes; then PLUGINS=${PLUGINS}"glide "; fi 
    3080 fi 
    3081  
    3082 # Check whether --enable-gnome or --disable-gnome was given. 
    3083 if test "${enable_gnome+set}" = set; then 
    3084   enableval="$enable_gnome" 
    3085   if test x$enable_gnome = xyes; then PLUGINS=${PLUGINS}"gnome "; fi 
    3086 fi 
    3087  
    3088 # Check whether --enable-x11 or --disable-x11 was given. 
    3089 if test "${enable_x11+set}" = set; then 
    3090   enableval="$enable_x11" 
    3091   : 
    3092 fi 
    3093  
    3094 if test x$enable_x11 != xno; then PLUGINS=${PLUGINS}"x11 "; fi 
     3044PLUGINS=${PLUGINS}"yuv "; 
    30953045 
    30963046ARCH=${host_cpu} 
     
    31043054if test "${enable_mmx+set}" = set; then 
    31053055  enableval="$enable_mmx" 
    3106    if test x$enableval = xyes; then ARCH=${ARCH}" mmx"; fi  
     3056   if test x$enableval = xyes; then ARCH=${ARCH}" mmx"; PLUGINS=${PLUGINS}"yuvmmx "; fi  
    31073057fi 
    31083058 
     
    31123062# special cases 
    31133063if test x$host_os = xbeos; then 
    3114     PLUGINS="dummy beos" 
    3115 fi 
     3064    PLUGINS=${PLUGINS}"dummy beos " 
     3065 
     3066else 
     3067 
     3068# Check whether --enable-dummy or --disable-dummy was given. 
     3069if test "${enable_dummy+set}" = set; then 
     3070  enableval="$enable_dummy" 
     3071  : 
     3072fi 
     3073 
     3074if test x$enable_dummy != xno; then PLUGINS=${PLUGINS}"dummy "; fi 
     3075# Check whether --enable-dsp or --disable-dsp was given. 
     3076if test "${enable_dsp+set}" = set; then 
     3077  enableval="$enable_dsp" 
     3078  : 
     3079fi 
     3080 
     3081if test x$enable_dsp != xno; then PLUGINS=${PLUGINS}"dsp "; fi 
     3082# Check whether --enable-esd or --disable-esd was given. 
     3083if test "${enable_esd+set}" = set; then 
     3084  enableval="$enable_esd" 
     3085  if test x$enable_gnome = xyes; then PLUGINS=${PLUGINS}"esd "; fi 
     3086fi 
     3087 
     3088# Check whether --enable-fb or --disable-fb was given. 
     3089if test "${enable_fb+set}" = set; then 
     3090  enableval="$enable_fb" 
     3091  if test x$enable_fb = xyes; then PLUGINS=${PLUGINS}"fb "; ALIASES=${ALIASES}"fbvlc "; fi 
     3092fi 
     3093 
     3094# Check whether --enable-ggi or --disable-ggi was given. 
     3095if test "${enable_ggi+set}" = set; then 
     3096  enableval="$enable_ggi" 
     3097  if test x$enable_ggi = xyes; then PLUGINS=${PLUGINS}"ggi "; ALIASES=${ALIASES}"ggivlc "; fi 
     3098fi 
     3099 
     3100# Check whether --enable-glide or --disable-glide was given. 
     3101if test "${enable_glide+set}" = set; then 
     3102  enableval="$enable_glide" 
     3103  if test x$enable_glide = xyes; then PLUGINS=${PLUGINS}"glide "; ALIASES=${ALIASES}"glidevlc "; fi 
     3104fi 
     3105 
     3106# Check whether --enable-gnome or --disable-gnome was given. 
     3107if test "${enable_gnome+set}" = set; then 
     3108  enableval="$enable_gnome" 
     3109  if test x$enable_gnome = xyes; then PLUGINS=${PLUGINS}"gnome "; ALIASES=${ALIASES}"gvlc "; fi 
     3110fi 
     3111 
     3112# Check whether --enable-x11 or --disable-x11 was given. 
     3113if test "${enable_x11+set}" = set; then 
     3114  enableval="$enable_x11" 
     3115  : 
     3116fi 
     3117 
     3118if test x$enable_x11 != xno; then PLUGINS=${PLUGINS}"x11 "; ALIASES=${ALIASES}"xvlc "; fi 
     3119 
     3120fi 
     3121 
    31163122 
    31173123 
     
    32693275s%@ARCH@%$ARCH%g 
    32703276s%@PLUGINS@%$PLUGINS%g 
     3277s%@ALIASES@%$ALIASES%g 
    32713278 
    32723279CEOF 
     
    34963503architecture          : ${ARCH} 
    34973504plugins               : ${PLUGINS} 
     3505vlc aliases           : ${ALIASES} 
    34983506" 
  • configure.in

    r3cbfc06 r57e189e  
    5959AC_HEADER_TIME 
    6060 
    61 AC_ARG_ENABLE(dsp, 
    62   [  --enable-dsp            Linux /dev/dsp support (default enabled)]) 
    63 if test x$enable_dsp != xno; then PLUGINS=${PLUGINS}"dsp "; fi 
    64 AC_ARG_ENABLE(dummy, 
    65   [  --enable-dummy          dummy audio and video support (default enabled)]) 
    66 if test x$enable_dummy != xno; then PLUGINS=${PLUGINS}"dummy "; fi 
    67 AC_ARG_ENABLE(esd, 
    68   [  --enable-esd            Esound library support (default disabled)], 
    69   [if test x$enable_gnome = xyes; then PLUGINS=${PLUGINS}"esd "; fi]) 
    70 AC_ARG_ENABLE(fb, 
    71   [  --enable-fb             Linux framebuffer support (default disabled)], 
    72   [if test x$enable_fb = xyes; then PLUGINS=${PLUGINS}"fb "; fi]) 
    73 AC_ARG_ENABLE(ggi, 
    74   [  --enable-ggi            GGI support (default disabled)], 
    75   [if test x$enable_ggi = xyes; then PLUGINS=${PLUGINS}"ggi "; fi]) 
    76 AC_ARG_ENABLE(glide, 
    77   [  --enable-glide          Glide (3dfx) support (default disabled)], 
    78   [if test x$enable_glide = xyes; then PLUGINS=${PLUGINS}"glide "; fi]) 
    79 AC_ARG_ENABLE(gnome, 
    80   [  --enable-gnome          Gnome support (default disabled)], 
    81   [if test x$enable_gnome = xyes; then PLUGINS=${PLUGINS}"gnome "; fi]) 
    82 AC_ARG_ENABLE(x11, 
    83   [  --enable-x11            X11 support (default enabled)]) 
    84 if test x$enable_x11 != xno; then PLUGINS=${PLUGINS}"x11 "; fi 
     61dnl default plugins  
     62PLUGINS=${PLUGINS}"yuv "; 
    8563 
    8664ARCH=${host_cpu} 
     
    9068AC_ARG_ENABLE(mmx, 
    9169[  --enable-mmx            Enable MMX optimizations (default is no)], 
    92 [ if test x$enableval = xyes; then ARCH=${ARCH}" mmx"; fi ]) 
     70[ if test x$enableval = xyes; then ARCH=${ARCH}" mmx"; PLUGINS=${PLUGINS}"yuvmmx "; fi ]) 
    9371 
    9472SYS=${host_os} 
     
    9674# special cases 
    9775if test x$host_os = xbeos; then 
    98     PLUGINS="dummy beos" 
     76    PLUGINS=${PLUGINS}"dummy beos " 
     77 
     78dnl default case 
     79else 
     80 
     81AC_ARG_ENABLE(dummy, 
     82  [  --enable-dummy          dummy audio and video support (default enabled)]) 
     83if test x$enable_dummy != xno; then PLUGINS=${PLUGINS}"dummy "; fi 
     84AC_ARG_ENABLE(dsp, 
     85  [  --enable-dsp            Linux /dev/dsp support (default enabled)]) 
     86if test x$enable_dsp != xno; then PLUGINS=${PLUGINS}"dsp "; fi 
     87AC_ARG_ENABLE(esd, 
     88  [  --enable-esd            Esound library support (default disabled)], 
     89  [if test x$enable_gnome = xyes; then PLUGINS=${PLUGINS}"esd "; fi]) 
     90AC_ARG_ENABLE(fb, 
     91  [  --enable-fb             Linux framebuffer support (default disabled)], 
     92  [if test x$enable_fb = xyes; then PLUGINS=${PLUGINS}"fb "; ALIASES=${ALIASES}"fbvlc "; fi]) 
     93AC_ARG_ENABLE(ggi, 
     94  [  --enable-ggi            GGI support (default disabled)], 
     95  [if test x$enable_ggi = xyes; then PLUGINS=${PLUGINS}"ggi "; ALIASES=${ALIASES}"ggivlc "; fi]) 
     96AC_ARG_ENABLE(glide, 
     97  [  --enable-glide          Glide (3dfx) support (default disabled)], 
     98  [if test x$enable_glide = xyes; then PLUGINS=${PLUGINS}"glide "; ALIASES=${ALIASES}"glidevlc "; fi]) 
     99AC_ARG_ENABLE(gnome, 
     100  [  --enable-gnome          Gnome support (default disabled)], 
     101  [if test x$enable_gnome = xyes; then PLUGINS=${PLUGINS}"gnome "; ALIASES=${ALIASES}"gvlc "; fi]) 
     102AC_ARG_ENABLE(x11, 
     103  [  --enable-x11            X11 support (default enabled)]) 
     104if test x$enable_x11 != xno; then PLUGINS=${PLUGINS}"x11 "; ALIASES=${ALIASES}"xvlc "; fi 
     105 
    99106fi 
    100107 
     
    102109AC_SUBST(ARCH) 
    103110AC_SUBST(PLUGINS) 
     111AC_SUBST(ALIASES) 
    104112 
    105113AC_OUTPUT([Makefile include/config.h]) 
     
    112120architecture          : ${ARCH} 
    113121plugins               : ${PLUGINS} 
     122vlc aliases           : ${ALIASES} 
    114123" 
  • debian/changelog

    r3cbfc06 r57e189e  
    33  * .deb is now more lintian-friendly 
    44 
    5  -- Samuel Hocevar <sam@via.ecp.fr>  Tue, 20 Jun 2000 14:17:33 +0200 
     5 -- Samuel Hocevar <sam@via.ecp.fr>  [Insert date here] 
    66 
    77vlc (0.1.99c) unstable; urgency=low 
  • include/ac3_decoder.h

    r9cb93a1 r57e189e  
    55 * 
    66 * Authors: 
     7 * Michel Kaempf <maxx@via.ecp.fr> 
    78 * 
    89 * This program is free software; you can redistribute it and/or modify 
  • include/ac3_decoder_thread.h

    r9cb93a1 r57e189e  
    55 * 
    66 * Authors: 
     7 * Michel Kaempf <maxx@via.ecp.fr> 
    78 * 
    89 * This program is free software; you can redistribute it and/or modify 
  • include/audio_decoder.h

    r9cb93a1 r57e189e  
    55 * 
    66 * Authors: 
     7 * Michel Kaempf <maxx@via.ecp.fr> 
    78 * 
    89 * This program is free software; you can redistribute it and/or modify 
  • include/audio_decoder_thread.h

    r9cb93a1 r57e189e  
    55 * 
    66 * Authors: 
     7 * Michel Kaempf <maxx@via.ecp.fr> 
    78 * 
    89 * This program is free software; you can redistribute it and/or modify 
  • include/audio_output.h

    r9cb93a1 r57e189e  
    55 * 
    66 * Authors: 
     7 * Michel Kaempf <maxx@via.ecp.fr> 
    78 * 
    89 * This program is free software; you can redistribute it and/or modify 
     
    192193 
    193194    /* Plugins */ 
    194     plugin_id_t                 aout_plugin;          /* video output plugin */ 
    195195    aout_sys_open_t *           p_sys_open; 
    196196    aout_sys_reset_t *          p_sys_reset; 
  • include/beos_specific.h

    r9cb93a1 r57e189e  
    3030#endif 
    3131 
    32 void       beos_Init( void ); 
    33 void       beos_Clean( void ); 
     32void       beos_Create( void ); 
     33void       beos_Destroy( void ); 
    3434char *     beos_GetProgramPath( void ); 
    3535 
  • include/common.h

    r52cbe65 r57e189e  
    4747 * Classes declaration 
    4848 *****************************************************************************/ 
     49 
     50/* Plugins */ 
     51struct plugin_bank_s; 
     52struct plugin_info_s; 
     53 
     54typedef struct plugin_bank_s *          p_plugin_bank_t; 
     55typedef struct plugin_info_s *          p_plugin_info_t; 
     56 
     57/* Playlist */ 
     58struct playlist_s; 
     59 
     60typedef struct playlist_s *             p_playlist_t; 
    4961 
    5062/* Interface */ 
  • include/config.h.in

    racbd88f r57e189e  
    2828 *   used, such as INTF_, VOUT_ or ADEC_. 
    2929 * 
    30  * - Regarding environment variables, which are used as initialization parameters 
    31  *  for threads : 
     30 * - Regarding environment variables, which are used as initialization 
     31 *  parameters for threads : 
    3232 *   + variable names should end with '_VAR' 
    3333 *   + environment variable default value should end with '_DEFAULT' 
     
    4242/* Program version and copyright message */ 
    4343#define VERSION_MESSAGE     "vlc @VLC_VERSION@ @VLC_CODENAME@ " \ 
    44                             /* "(" PROGRAM_BUILD ") (" PROGRAM_OPTIONS ")\n" */ \ 
     44                          /* "(" PROGRAM_BUILD ") (" PROGRAM_OPTIONS ")\n" */ \ 
    4545                            "Copyright 1996-2000 VideoLAN\n" 
    4646#define COPYRIGHT_MESSAGE   "VideoLAN Client - version @VLC_VERSION@" \ 
     
    114114#define FIFO_SIZE                       1023 
    115115 
     116/* 
     117 * Paths 
     118 */ 
     119 
     120#define DATA_PATH                       "@prefix@/share/videolan" 
     121#define PLUGIN_PATH                     "@prefix@/lib/videolan/vlc" 
     122 
     123#define MAX_PLUGIN_COUNT                32 
    116124 
    117125/***************************************************************************** 
     
    272280 
    273281/* Default dimensions for display window - these dimensions are enough for the 
    274  * standard width and height broadcasted MPEG-2 streams */ 
     282 * standard width and height broadcasted MPEG-2 streams or DVDs */ 
    275283#define VOUT_WIDTH_VAR                  "vlc_width" 
    276284#define VOUT_HEIGHT_VAR                 "vlc_height" 
    277 #define VOUT_WIDTH_DEFAULT              72
    278 #define VOUT_HEIGHT_DEFAULT             576 
     285#define VOUT_WIDTH_DEFAULT              36
     286#define VOUT_HEIGHT_DEFAULT             288 
    279287 
    280288/* Maximum width of a scaled source picture - this should be relatively high, 
     
    350358/* Optimization level, from 0 to 2 - 1 is generally a good compromise. Remember 
    351359 * that raising this level dramatically lengthens the compilation time. */ 
    352 #define VPAR_OPTIM_LEVEL                1 
     360#define VPAR_OPTIM_LEVEL                2 
    353361 
    354362/* The following directives only apply if you define VDEC_SMP below. */ 
  • include/decoder_fifo.h

    r9cb93a1 r57e189e  
    3434 
    3535/* FIXME: move to inline functions ??*/ 
    36 #define DECODER_FIFO_ISEMPTY( fifo )    ( (fifo).i_start == (fifo).i_end ) 
    37 #define DECODER_FIFO_ISFULL( fifo )     ( ( ( (fifo).i_end + 1 - (fifo).i_start )
     36#define DECODER_FIFO_ISEMPTY( fifo )  ( (fifo).i_start == (fifo).i_end ) 
     37#define DECODER_FIFO_ISFULL( fifo )   ( ( ((fifo).i_end + 1 - (fifo).i_start)
    3838                                          & FIFO_SIZE ) == 0 ) 
    39 #define DECODER_FIFO_START( fifo )      ( (fifo).buffer[ (fifo).i_start ] ) 
    40 #define DECODER_FIFO_INCSTART( fifo )   ( (fifo).i_start = ((fifo).i_start + 1)\ 
    41                                                            & FIFO_SIZE ) 
    42 #define DECODER_FIFO_END( fifo )        ( (fifo).buffer[ (fifo).i_end ] ) 
    43 #define DECODER_FIFO_INCEND( fifo )     ( (fifo).i_end = ((fifo).i_end + 1) \ 
     39#define DECODER_FIFO_START( fifo )    ( (fifo).buffer[ (fifo).i_start ] ) 
     40#define DECODER_FIFO_INCSTART( fifo ) ( (fifo).i_start = ((fifo).i_start + 1)\ 
    4441                                                         & FIFO_SIZE ) 
     42#define DECODER_FIFO_END( fifo )      ( (fifo).buffer[ (fifo).i_end ] ) 
     43#define DECODER_FIFO_INCEND( fifo )   ( (fifo).i_end = ((fifo).i_end + 1) \ 
     44                                                       & FIFO_SIZE ) 
    4545 
    4646/***************************************************************************** 
     
    240240static __inline__ void RealignBits( bit_stream_t * p_bit_stream ) 
    241241{ 
    242     DumpBits( p_bit_stream, p_bit_stream->fifo.i_available & 7 ); 
    243 
     242    DumpBits( p_bit_stream, p_bit_stream->fifo.i_available & 0x7 ); 
     243
     244 
  • include/interface.h

    racbd88f r57e189e  
    5858 
    5959    /* Plugin */ 
    60     plugin_id_t             intf_plugin;                 /* interface plugin */ 
    6160    intf_sys_create_t *     p_sys_create;         /* create interface thread */ 
    6261    intf_sys_manage_t *     p_sys_manage;                       /* main loop */ 
     
    6463 
    6564    /* XXX: Channels array - new API */ 
    66     //p_intf_channel_t *  p_channel[INTF_MAX_CHANNELS];/* channel descriptions */ 
    67     /* file list - quick hack */ 
    68     char **p_playlist; 
    69     int i_list_index; 
     65  //p_intf_channel_t *  p_channel[INTF_MAX_CHANNELS];/* channel descriptions */ 
    7066 
    7167    /* Channels array - NULL if not used */ 
  • include/main.h

    r9cb93a1 r57e189e  
    3232 * should only be used by interface thread. 
    3333 *****************************************************************************/ 
     34 
    3435typedef struct 
    3536{ 
     
    5051    /* Shared data - these structures are accessed directly from p_main by 
    5152     * several mod