summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
Commit message (Collapse)AuthorAgeFilesLines
* swab() needs _XOPEN_SOURCE to be defined.reimar2009-02-032-0/+2
| | | | | | | Fixes two implicit declaration warnings. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28455 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename lzo1x_decode -> av_lzo1x_decode, this was missed in the previous patch.reimar2009-02-031-2/+2
| | | | | | | | It currently works (though badly with missing prototype) but will break on libavutil version bump. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28450 b3059339-0415-0410-9bf9-f77b7e298cf2
* FFmpeg sync: LZO_OUTPUT_PADDING --> AV_LZO_OUTPUT_PADDINGdiego2009-02-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28449 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adapt to lzo changes in libavutilreimar2009-02-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28448 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert CONFIG_XVMC into a 0/1 definition.zuxy2009-02-021-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28447 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for libavcodec GMC flag, patch by Dave Baker, dbkr mxtelecom com.diego2009-02-011-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28415 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update libavcodec 'aic' flag define to match current FFmpeg.diego2009-01-301-2/+2
| | | | | | | patch by Dave Baker, dbkr mxtelecom com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28395 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid a division by 0 when using -oac mp3lame but no audio data actually is ↵reimar2009-01-281-0/+1
| | | | | | encoded. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28382 b3059339-0415-0410-9bf9-f77b7e298cf2
* HAVE_3DNOW --> HAVE_AMD3DNOWdiego2009-01-262-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28370 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after DECLARE_ASM_CONST/DECLARE_ALIGNED moving within FFmpeg.diego2009-01-252-0/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28364 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after DECLARE_ASM_CONST/DECLARE_ALIGNED moving within FFmpeg.diego2009-01-252-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28362 b3059339-0415-0410-9bf9-f77b7e298cf2
* revert #ifdef WORDS_BIGENDIAN => #if WORDS_BIGENDIAN changes from r28331gpoirier2009-01-164-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28334 b3059339-0415-0410-9bf9-f77b7e298cf2
* Completely get rid of MMX define, use HAVE_MMX define instead.gpoirier2009-01-161-28/+25
| | | | | | | Patch by Guillaume LECERF % foxcore A gmail P com % git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28333 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation on non x86 machines (PPC here)gpoirier2009-01-165-27/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28331 b3059339-0415-0410-9bf9-f77b7e298cf2
* Another missed #ifdef HAVE_MMXreimar2009-01-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28328 b3059339-0415-0410-9bf9-f77b7e298cf2
* More #ifdef HAVE_MMX etc. missed by earlier search.reimar2009-01-162-9/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28327 b3059339-0415-0410-9bf9-f77b7e298cf2
* Lots and lots of #ifdef ARCH_... -> #if ARCH_...reimar2009-01-1619-61/+61
| | | | | | | | and #ifdef HAVE_MMX etc -> #if HAVE_MMX. There might be still more that need to be fixed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28325 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix two more instances of nonstandard license headers.diego2009-01-051-25/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28262 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sync with latest round of xvmc changes in FFmpeg.diego2009-01-021-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28237 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid unused variable warning.diego2009-01-021-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28233 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reorder #includes and #ifdefs to avoid excessive #ifdeffery.diego2009-01-021-10/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28232 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reorder #includes and #ifdefs to avoid warnings and excessive #ifdeffery.diego2009-01-021-20/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28231 b3059339-0415-0410-9bf9-f77b7e298cf2
* XVID profile array should be const, so it is in rodatareimar2009-01-011-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28221 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix OSD flickering with filters that add frames (tfields, yadif) andreimar2008-12-301-0/+6
| | | | | | -correct-pts git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28211 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix OSD flicker with tfields as well.reimar2008-12-301-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28210 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid flickering OSD with -vf yadif=1reimar2008-12-303-1/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28209 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix imaadpcm extradata with lavc encoder.reimar2008-12-201-2/+2
| | | | | | | | | The formula to calculate frame size was wrong, duplicated code from the encoder and did not take endianness into account when writing the value into extradata. Patch by Edouard Gomez [ed gomez (at) free fr]. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28167 b3059339-0415-0410-9bf9-f77b7e298cf2
* xvmc is now a CONFIG_ option in FFmpeg.diego2008-12-151-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28154 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace informal GPL notices by standard GPL headers.diego2008-12-131-3/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28145 b3059339-0415-0410-9bf9-f77b7e298cf2
* license header consistency cosmeticsdiego2008-12-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28144 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace informal GPL notes by standard GPL header.diego2008-12-131-4/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28140 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless 'extern' keywords.diego2008-12-035-23/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
* Create a separate codecs.conf entry for Tremor and use it if MPlayer isdiego2008-11-241-0/+4
| | | | | | | | with Tremor support instead of libvorbis. Previously MPlayer would show the same output on the console when decoding with libvorbis and Tremor. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28014 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Move up uninit() to avoid a forward declaration.diego2008-11-231-10/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27983 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: consistent function declarations.diego2008-11-231-4/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27982 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove tabs and trailing whitespace.diego2008-11-231-69/+69
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27981 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use libavutil FFMIN etc. instead of defining our own variants.reimar2008-11-021-21/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27878 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid pointless casting of void*reimar2008-11-021-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27877 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix smartblur filter crash due to missing default scaler choice;diego2008-10-271-1/+1
| | | | | | | | set bicubic as the default scaler. patch by Kurt Garloff, kurt garloff de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27838 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_palette: Fix compilation after libswscale API changesuau2008-10-251-8/+8
| | | | | | | Patch from Guillaume Poirier. I didn't test the functionality of the filter but at least it fixes compilation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27822 b3059339-0415-0410-9bf9-f77b7e298cf2
* IWMMXT optimizations were removed from our internal libmpeg2 copy, so nowdiego2008-10-221-3/+1
| | | | | | | remove it from the library interface code as well. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27812 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use av_malloc/av_free for audio-related buffers to avoid crashes due toreimar2008-10-182-11/+5
| | | | | | | | insufficient alignment on systems without memalign. http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2008-October/058743.html git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27799 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.diego2008-10-162-7/+7
| | | | | | | | We were using an inconsistent mix of the three variants and 'volatile' should be the most correct and portable variant. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.diego2008-10-1620-67/+67
| | | | | | | Neither variant is valid C99 syntax, but __asm__ is the most portable variant. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27788 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move SCREEN_SIZE_X/Y definition to libmpcodecs/vd.c where it is used.diego2008-10-161-0/+3
| | | | | | | config.h should only contain option definitions, no logic. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27785 b3059339-0415-0410-9bf9-f77b7e298cf2
* #include necessary libavcodec header and remove duplicated struct declaration.diego2008-10-141-17/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27769 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless '#undef realloc', realloc is not referenced anywhere near.diego2008-10-141-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27767 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove duplicate extern declaration, fixes the warning:diego2008-10-141-2/+0
| | | | | | | libmpcodecs/vf_zrmjpeg.c:73: warning: redundant redeclaration of 'avcodec_initialized' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27766 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable ncomps.diego2008-10-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27765 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix channel order for ffmpeg flac codec.ulion2008-10-091-0/+2
| | | | | | | This patch comes from Andrew de Quincey <adq_dvb at lidskialf dot net>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27732 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary HAVE_AV_CONFIG_H #define.diego2008-10-072-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27726 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove word size check and macro and use __WORDSIZE directly instead.diego2008-10-041-2/+2
| | | | | | | It has been done this way in libswscale for years without apparent ill effect. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27699 b3059339-0415-0410-9bf9-f77b7e298cf2
* External liba52 support, part 2 of 2.rathann2008-09-152-0/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27620 b3059339-0415-0410-9bf9-f77b7e298cf2
* External liba52 support part 1 of 2.rathann2008-09-151-0/+6
| | | | | | | | | | Conditionalize enabling of some the acceleration because liba52-0.7.4 doesn't support all that MPlayer's included copy does. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27619 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation with lavc version > r15270gpoirier2008-09-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27549 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after libavcodec major version 52 changesuau2008-09-084-9/+11
| | | | | | | | | | | Some symbols were dropped or renamed, requiring corresponding changes in MPlayer. - Use AVCodecContext->bits_per_coded_sample instead of ->bits_per_sample. - Use AVCodecContext->trellis instead of ->flags&CODEC_FLAG_TRELLIS_QUANT. - Don't set AVCodecContext->rtp_mode (already marked unused before). - Use ff_eval2() instead of ff_eval(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27548 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace casual GPL notices by proper license headers.diego2008-09-073-14/+67
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27541 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove outdated URL from vd_info_t struct.diego2008-09-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27533 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove version information from libmpeg2 vd_info_t struct.diego2008-09-061-1/+1
| | | | | | | It is available in other places and needs to be updated continuously. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27532 b3059339-0415-0410-9bf9-f77b7e298cf2
* handle the lavfpref demuxer in the same way as the lavf oneaurel2008-08-271-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27489 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused static declarations, fixes the warnings:diego2008-08-141-6/+0
| | | | | | | | libmpcodecs/vd_qtvideo.c:69: warning: 'ImageCodecDrawBand' defined but not used libmpcodecs/vd_qtvideo.c:71: warning: 'ImageCodecEndBand' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27464 b3059339-0415-0410-9bf9-f77b7e298cf2
* Give a CONFIG_ prefix to preprocessor directives that lacked one anddiego2008-08-073-15/+15
| | | | | | | change arbitrary prefixes to CONFIG_. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27429 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename all preprocessor directives related to Apple / Mac OS X.diego2008-08-062-12/+12
| | | | | | | Switch them from a HAVE_ to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27420 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename preprocessor directives related to image libraries.diego2008-08-051-2/+2
| | | | | | | Change a HAVE_ prefix to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27417 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change a bunch of video/audio-output-specific preprocessor directives fromdiego2008-08-032-2/+2
| | | | | | | a HAVE_ prefix to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27402 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: reindent after last commitcompn2008-08-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27399 b3059339-0415-0410-9bf9-f77b7e298cf2
* change ve_raw.c:set_format to not overwrite biCompression if force_fourcc is ↵compn2008-08-021-0/+1
| | | | | | | | | | set. fixes -ovc raw -ffourcc patch by "Andrew Wason" rectalogic !@! rectalogic !.! com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27398 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change a bunch of codec-specific preprocessor directives from a HAVE_diego2008-08-025-24/+24
| | | | | | | prefix to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27395 b3059339-0415-0410-9bf9-f77b7e298cf2
* Start unifying names of internal preprocessor directives.diego2008-07-3016-62/+62
| | | | | | | | Replace all USE_ prefixes by CONFIG_ prefixes to indicate options which are configurable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use conditional compilation instead of an #ifdef around the whole file.diego2008-07-301-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27371 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add Dirac video support via libdirac and libschroedinger in libavcodec.diego2008-07-221-0/+4
| | | | | | | patch by Anuradha Suraparaju, anuradha rd.bbc.co uk git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27339 b3059339-0415-0410-9bf9-f77b7e298cf2
* Try to keep decoded audio buffer aligned.reimar2008-07-141-1/+1
| | | | | | | Seems to be enough to avoid crashes (due to unaligned SSE2) with FFmpeg vorbis decoding for now. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27281 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify and clamp coefficient index for MS ADPCMreimar2008-07-121-12/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27270 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, fix MS ADPCM decoding for e.g. ↵reimar2008-07-121-1/+1
| | | | | | | | | http://samples.mplayerhq.hu/mov/qtaudio/surge-2-16-L-ms02.mov First coefficient array must be unsigned to fit in 8 bits git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27269 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make really sure channels can only be 1 or 2 for imaadpcmreimar2008-07-111-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27262 b3059339-0415-0410-9bf9-