1. 13 Jan, 2001 1 commit
    • Sam Hocevar's avatar
      · 26ee312a
      Sam Hocevar authored
       . the IDCT functions are now located in modules : the classic IDCT,
         our optimized IDCT, and MMX IDCT.
       . cosmetic changes for modules (pf_* instead of p_*)
       . fixes to the BeOS and dummy modules
         WARNING: a new directory has been added, which means you have to
         use `cvs update -dP' to update ; files have been removed , which means
         you either have to run `make distclean' or remove the .deps directory,
         and the configure script has changed, which means you have to run it
         again. Don't complain before having checked this :)
         Note about the IDCT modules: there is no way to choose the one we
         use, but you may remove the module in lib/ to prevent it from being
         loaded. The preference order is : MMX, Optimized, Classic.
  2. 12 Jan, 2001 5 commits
    • Christophe Massiot's avatar
      * Changed default values : · a558a9bb
      Christophe Massiot authored
      INPUT_PTS_DELAY down to 200 ms ;
      video heap down from 10 to 5 pictures ;
      decoder fifo size from 1023 to 511 PES ;
      * Fixed various bugs in 32 bit-versions of input_ext-dec.h ;
      * Fixed a bug in GetChunk() ;
      * Renamed GetByte, GetWord, ShowWord to _GetByte, _GetWord, _ShowWord ;
      * Moved decoder_fifo-specific code from programs.c to dec.c ;
      * Fixed bugs in program.c that prevented vlc to close all decoders ;
      * Gave sam a lesson for the use of the bitstream in spu_decoder.c :ppp ;
      * Made the video parser unlock the reference pictures before quitting
      (still one left, yaknow why ?)
    • Sam Hocevar's avatar
      . destroy fifo mutex and cond variables _after_ they are used for · ebfaed9b
      Sam Hocevar authored
         the last time. henri, that'll be one binouze.
    • Sam Hocevar's avatar
      . Attempt to port the BeOS audio plugin to the new module API. Will · c393ff60
      Sam Hocevar authored
          probably need a few fixes to work or even compile.
    • Henri Fallon's avatar
      · 4af9ab12
      Henri Fallon authored
      Done :
      - ported the alsa plugin to the news vlc module API
      - cosmetic changes
      To do :
      - check if it works with the latest alsa release
      - add features ... prepare for 4 or more speakers
    • Christophe Massiot's avatar
      * Fixed 32 bits bitstream bugs. · a85534e5
      Christophe Massiot authored
  3. 11 Jan, 2001 2 commits
    • Sam Hocevar's avatar
      · e3636eb1
      Sam Hocevar authored
        . moved the MPEG audio decoder to the new bitstream
          I wasn't sure whether the bits counting method was effective to
        skip ancillary data at the end of a frame, but I kept it for
        safety. There is still a lot to optimize in the bit counting, like
        unrolling the first iteration of some loops, but I don't know if
        it would be worth it. The other solution would have been to look for
        a startcode after eache frame, without caring about the ancillary bits.
        . cleaning in the SPU decoder.
    • Sam Hocevar's avatar
      · 993381a2
      Sam Hocevar authored
       . moved swab32 from input_ext-dec.h to common.h. We probably won't need
         it anymore really soon, since ntohl() and htonl() seem to be properly
         optimized when gcc is passed the right optimization flags.
       . fixed GetBits32 and RemoveBits32. I know the #ifdefs are useless since
         we only support u32 words, but it's a safe reminder. Comments appreciated
         on this fix since I may have b0rked something -- it runs well here though.
  4. 10 Jan, 2001 4 commits
    • Sam Hocevar's avatar
      · bf10480d
      Sam Hocevar authored
       . fixed a missing #ifdef STATS
    • Christophe Massiot's avatar
      * Changed code for handling b_die in bitstream ; · ecff1e71
      Christophe Massiot authored
      * Move input_ext-dec.h to input.h ;
      * New input_NullPacket function ;
      * Fixed init bugs in input and vpar ;
    • Christophe Massiot's avatar
      * Placed a callback to the decoder in the bitstream structure ; · 0b625864
      Christophe Massiot authored
      * Fixed a purify bug in input_ps.c ;
      * Added -mcpu=pentiumpro in the Makefile.
    • Sam Hocevar's avatar
      · 9f553534
      Sam Hocevar authored
       . complete commenting of modules_core.h and small modifications
       . separated MODULE_CONFIG_START and ADD_WINDOW (Henri, beware)
       . fixed a very, very old bug that caused namespace collision between
         plugins (Henri, beware: call your aout_getplugin function like this,
         not alsa_aout_getplugin)
       . removed the Debian specific clean rules from the Makefile, since they
         are already handled by the debian/rules script.
       . tidied a few compilation rules (-lfoo should always be at the end)
  5. 09 Jan, 2001 3 commits
    • Sam Hocevar's avatar
      · 9451c9b9
      Sam Hocevar authored
       . just removed a forgotten debug message in the setpalette code
    • Pierre Baillet's avatar
      .Added 8bits palette SDL support. · cbb9cfbf
      Pierre Baillet authored
      .Tried to add it to stable, failed, probably because of the initialisation codes which are differents...
    • Sam Hocevar's avatar
      · ef05e776
      Sam Hocevar authored
       . fixed a warning under FreeBSD (dlerror() is a const char*, not a char*).
       . made configure script look for the bswap assembly instruction (using
         AC_TRY_COMPILE makes sure the compiler will really accept it).
  6. 08 Jan, 2001 4 commits
  7. 07 Jan, 2001 7 commits
    • Sam Hocevar's avatar
      . added a .cvsignore file in lib/ so that the directory doesn't get · c25e25c4
      Sam Hocevar authored
         removed whenever one does a cvs update -dP
       . fixed debian/.cvsignore because of a new version of debhelper
    • Sam Hocevar's avatar
      . all plugins now compile with -fPIC. · f8da8c95
      Sam Hocevar authored
       . made the audio_output API a bit simpler.
       . got rid of modules_config.h.
       . fixed `make install' rule.
       . fixed warnings in the MMX YUV compilation.
       . probably fixed a bug in the input : pp_foo structures were free()d at
         the end, but this was useless since the last call to realloc() is
         equivalent to free(), and two consecutive calls to free() aren't a
         goo idea.
       . we check that the version number match and that we don't already have
         a module by that name when loading a new module.
       . all public module_* functions now properly lock the module bank.
       . the audio_output now uses the new module API ; EsounD and DSP modules
         have been ported, which should be enough for Henri to port the ALSA one.
         The new plugin API is now much simpler ; it's now just a matter of
      calling module_Need( p_main->p_module_bank, MODULE_CAPABILITY_FOO, p_data );
      and if successful we get the best module. Capabilities can be ORed, so that
      one can ask for a plugin that does VOUT _and_ INTF actions for instance.
         It's not complete yet though -- by making it generic I had to do a few
      ugly casts here and there, which I am going to fix ASAP. Also, command line
      selection of a plugin does not work yet.
         The switch to the new plugin API has probably broken the BeOS audio
      output ; we can either wait until the whole vlc has switched to the new
      plugins, or create a separate beos_sound.so that conforms to the new API.
    • Pierre Baillet's avatar
      NoSEGfault Kl�dge added. · b7b3386b
      Pierre Baillet authored
    • Benoit Steiner's avatar
    • Benoit Steiner's avatar
      Optimisation de BinaryLog · a87ecd5c
      Benoit Steiner authored
    • Henri Fallon's avatar
      · a5d3d165
      Henri Fallon authored
      - Order : if a then b are initialized, release b then a ;
      - Typos ;
      - Cosmetic changes.
    • Henri Fallon's avatar
      · 393a5d52
      Henri Fallon authored
      - Added vlc_mutex_destroy and vlc_cond_destroy function, for pthreads.
      - Used them before quitting, every lock and cond is destroyed
      - Checked the return value of malloc and realloc in input_programs
      - Cosmetic changes
      TODO: add vlc_*_destroy for beos and C_thread
  8. 06 Jan, 2001 5 commits
    • Benoit Steiner's avatar
      Fixed compilation pb under solaris 2.6 · eb8d4519
      Benoit Steiner authored
    • Benoit Steiner's avatar
      Fixed solaris libraries · eed018b6
      Benoit Steiner authored
    • Sam Hocevar's avatar
      · ffa693e8
      Sam Hocevar authored
       . should compile & run on Solaris with ./configure --disable-dsp
          (tested on puma)
       . removed most SYS_SOLARIS #ifdef's in favour of more generic tests
       . updated example ./configure line in INSTALL file
       . now we only load modules that end with ".so"
       . null module is compiled by default
    • Henri Fallon's avatar
      · 4542979c
      Henri Fallon authored
      Fixed a typo than prevented from building ...
    • Henri Fallon's avatar
      · 9385e1d5
      Henri Fallon authored
      Fixed initialization of payload_start and payload_end
      It should be finished now.
  9. 05 Jan, 2001 7 commits
    • Christophe Massiot's avatar
      BSD port, including : · 454454b5
      Christophe Massiot authored
      * --enable-sdl and some others are now --with-sdl[=name] to supply an
      optional library name ;
      * deleted all unnecessary #include <sys/uio.h> ;
      * /usr/include is now searched when looking for libraries and headers.
      It seems to compile and run on BSD. Under Linux Sam's latest commit makes
      vlc crash on startup, so I can't really tell, but hey it compiles.
    • Sam Hocevar's avatar
      · 6eb6044c
      Sam Hocevar authored
       . src/misc/modules.c is in a workable state now.
        To test it, run ./configure with the --enable-null flag, which will
        compile the Null Module as a plugin. Watch the memory usage at the
        launch and when the plugin is released.
    • Sam Hocevar's avatar
      · 2a8ef11d
      Sam Hocevar authored
      (previous commit foired)
       . this is a coding style patch which removes all "foo(bar){" constructions
         and most of the tabulations.
       . also, fixed a bug in the default subtitle track.
       . and made a few error messages more explicit, ie. changed "error: %s" to
         "foo error: couldn't initialize bar (%s)"
       . and removed a warning in intf_ctrl.c which isn't used anyway.
    • Sam Hocevar's avatar
      · a132d75c
      Sam Hocevar authored
       . this is a coding style patch which removes all "foo(bar){" constructions
         and most of the tabulations.
       . also, fixed a bug in the default subtitle track.
       . and made a few error messages more explicit, ie. changed "error: %s" to
         "foo error: couldn't initialize bar (%s)"
    • Sam Hocevar's avatar
      · df5793c2
      Sam Hocevar authored
       . splitted modules.h into modules.h and modules_core.h to enable
          clean compilation of the Null Module.
    • Sam Hocevar's avatar
      · bcaed52c
      Sam Hocevar authored
       . added the Null Module, the module that does nothing but that is going
          to be of great help for debugging my module code.
    • Sam Hocevar's avatar
      · 32d3e55a
      Sam Hocevar authored
       . Added files needed for the forthcoming module management.
         Plugins are now called modules, because we will be able to compile
         them either as a dynamic plugin, or within the program. And, more
         important, I can commit this without having to break the vlc :)
         I tried to be as clear as possible in my comments, please tell me
         if a few prototypes still have an unclear beahaviour.
         Current features:
          . none, files haven't even been added to the Makefile yet.
         Future features:
          . dynamic loading (done)
          . built-in modules (still to do)
          . automatic unloading of plugins (done)
          . dynamic configuration (still to do)
          . automatic choosing of the most appropriate plugin for a given
             task (still to do but well prepared)
  10. 04 Jan, 2001 2 commits