1. 16 Jan, 2001 8 commits
    • Christophe Massiot's avatar
      * Borrowed livid's latest libmmx and MMXEXT MC. Not in the Makefile => to · 91bf1a91
      Christophe Massiot authored
      test it, replace vdec_motion_inner_mmx.c by vdec_motion_inner_mmxext.c.
      
      I'm interested in performance feedback.
      91bf1a91
    • Sam Hocevar's avatar
      . a few changes in the CPU extensions detection code, borrowed from the · ba59eb04
      Sam Hocevar authored
         kernel and from mpeg2dec. I still don't know how to detect if code
         compiled with -mcpu=pentiumpro will run, since the cpuid arcanes are
         quite obtuse to me. Perhaps we should also have a way not to load modules
         if they have been compiled with a different CPU to avoid segfaults.
      ba59eb04
    • Sam Hocevar's avatar
      · 5464102f
      Sam Hocevar authored
       . add check for MMX EXT extensions, which doesn't work, which is a good
         thing since there is no MMX EXT IDCT yet :)
      5464102f
    • Christophe Massiot's avatar
    • Sam Hocevar's avatar
      . added files for the SSE (MMX on steroids) IDCT. Meuuh, you should just · 6eb70788
      Sam Hocevar authored
         need to touch plugins/idct/idct_mmxext.c (ok, the filenames suck).
      6eb70788
    • Sam Hocevar's avatar
      · 619061c2
      Sam Hocevar authored
       [ include/config.h.in has changed, don't forget tu run ./configure ]
      
       . fixed the --aout, --idct and --yuv flags
       . updated manpage and --(long)help output to reflect that change
       . removed a few unneeded #includes here and there
       . cosmetic changes in error messages in input.c
      
         Currently available flags are now :
      
           --aout dummy
                  esd
                  dsp
                  alsa
      
           --idct idct
                  idctclassic
                  idctmmx
      
           --yuv yuv
                 yuvmmx
      
        --vout works like before, but still uses the old plugin system for now.
      619061c2
    • Stéphane Borel's avatar
      . Now use of 64 bits offsets to parse the whole DVD. So we have all the · 1cd850a8
      Stéphane Borel authored
      available information
      . Fixed a bug in parsing of VTS attributes
      . Fixed a bug in input.c that made input plugin initialize even though
      no stream is reachable (thanks Sam)
      
      I hope I'll be able to get the position of the movie soon.
      
      Meuuh : the seek function of the plugin now take off_t as argument which
      could be a problem later. Maybe it should take off64_t or time argument.
      1cd850a8
    • Sam Hocevar's avatar
      . merged the YUV plugins in the same directory to avoid too much code · f56c4db1
      Sam Hocevar authored
         duplication
       . YUV transformations now use the new module API ; now only the vout
         and interface still depend on the old plugin API
       . changed TestMMX to TestCPU because we will be able to test for other
         specific extensions (3DNow, SSE) for the forthcoming IDCT we'll
         borrow to mpeg2dec (as usual :P)
       . don't show "hiding module" messages anymore except in debug mode
       . swapped C IDCT and Classic IDCT scores since the classic one seems
         to be faster ; anyway you should use the MMX one
       . fixed a Makefile bug under BeOS
       . tried to fix the cpuid code so that it compiles under BeOS (Polux, can
         you test it when you have time ?)
      f56c4db1
  2. 15 Jan, 2001 8 commits
  3. 14 Jan, 2001 1 commit
  4. 13 Jan, 2001 2 commits
    • Sam Hocevar's avatar
      · e360e2a4
      Sam Hocevar authored
       . second part of the commit
      e360e2a4
    • 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.
      26ee312a
  5. 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 ?)
      a558a9bb
    • 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.
      ebfaed9b
    • 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.
      c393ff60
    • 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
      4af9ab12
    • Christophe Massiot's avatar
      * Fixed 32 bits bitstream bugs. · a85534e5
      Christophe Massiot authored
      a85534e5
  6. 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.
      e3636eb1
    • 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.
      993381a2
  7. 10 Jan, 2001 4 commits
    • Sam Hocevar's avatar
      · bf10480d
      Sam Hocevar authored
       . fixed a missing #ifdef STATS
          *grin*
      bf10480d
    • 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 ;
      ecff1e71
    • 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.
      0b625864
    • 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)
      9f553534
  8. 09 Jan, 2001 3 commits
    • Sam Hocevar's avatar
      · 9451c9b9
      Sam Hocevar authored
       . just removed a forgotten debug message in the setpalette code
      9451c9b9
    • 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...
      cbb9cfbf
    • 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).
      ef05e776
  9. 08 Jan, 2001 4 commits
  10. 07 Jan, 2001 3 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
      c25e25c4
    • 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.
      f8da8c95
    • Pierre Baillet's avatar
      NoSEGfault Kl�dge added. · b7b3386b
      Pierre Baillet authored
      b7b3386b