summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
Commit message (Collapse)AuthorAgeFilesLines
* Add MPLAYER_ prefix to multiple inclusion guards.diego2008-02-2226-80/+78
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently use filename as multiple inclusion guard.diego2008-02-211-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26043 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_sab mirrors coefficients past the edge of the picture instead of cropping:diego2008-02-201-3/+3
| | | | | | | | | | | if (iy<0) iy= -iy; if(iy>=h) iy= h-iy-1; This produces -1,-2,-3... as it goes further past the end of an image, which crashes. Change this to h-1,h-2,h-3.. to avoid the crash. patch by Alexander Strange, astrange ithinksw com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26038 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow specifying a size for -vf rgbtestreimar2008-02-171-6/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26020 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid reinit of vo with the exactly same parameters over and over.reimar2008-02-161-6/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26009 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fix: inited --> initializeddiego2008-02-1416-69/+69
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix typo.cehoyos2008-02-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25992 b3059339-0415-0410-9bf9-f77b7e298cf2
* mark constants as suchreimar2008-01-301-9/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25934 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify: use DECLARE_ASM_CONSTreimar2008-01-301-14/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25933 b3059339-0415-0410-9bf9-f77b7e298cf2
* clarify comments/docs about lav* being the preferred place to implement newivo2008-01-282-4/+8
| | | | | | | | codecs and (de)muxers, except for wrappers around external libraries and codecs and (de)muxers requiring binary support. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25908 b3059339-0415-0410-9bf9-f77b7e298cf2
* copy note on new demuxers and codecs to the top of the array as well to beivo2008-01-282-0/+6
| | | | | | | extra clear git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25904 b3059339-0415-0410-9bf9-f77b7e298cf2
* note on new demuxers and codecs, add them to lav* instead of libmp*ivo2008-01-282-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25900 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently use uppercase filename as multiple inclusion guard.diego2008-01-287-21/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25897 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add multiple inclusion guards.diego2008-01-273-2/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25895 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace with the output of the updated alaw-gen generator program.diego2008-01-271-64/+69
| | | | | | | This adds multiple inclusion guards and reformats the tables. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25894 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add global ass_force_reload flag.eugeni2008-01-232-2/+2
| | | | | | | If it is set, renderer is reconfigured before the next frame. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25841 b3059339-0415-0410-9bf9-f77b7e298cf2
* Zero codec_inited in the init() function, so that it's cleared everytime rtogni2008-01-231-0/+1
| | | | | | | | | | the codec is inites (previously was only cleared once at start time). Fixes a crash when -loop n (with n >= 2) is used with a qtvideo codec. Patch by KO Myung-Hun komh chollian net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25839 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use the proper option name for constant quantizer iive2008-01-231-1/+1
| | | | | | | | | in the hint that user gets if there isn't any of the essential options. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25837 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless castsreimar2008-01-211-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25828 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid warning:reimar2008-01-191-1/+1
| | | | | | | vf_detc.c:273: warning: ‘dropflag’ may be used uninitialized in this function git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25795 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variablereimar2008-01-121-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25698 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move uselessly global variablesreimar2008-01-121-3/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25697 b3059339-0415-0410-9bf9-f77b7e298cf2
* Colourspace conversions do _not_ belong into a decoder!reimar2008-01-121-42/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25695 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: get rid of huge amounts of trailing whitespacereimar2008-01-121-13/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25694 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove an unused global variablereimar2008-01-121-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25693 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid uselessly global variablesreimar2008-01-121-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25692 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace the persistent CODECS_FLAG_SELECTED by a local "stringset" withreimar2008-01-122-16/+21
| | | | | | | | | an almost-trivial implementation. This allows making the builtin codec structs const, and it also makes clearer that this "selected" status is not used outside the init functions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25689 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use malloc for codecdata. Fixes segfault in free_sh_sub.eugeni2008-01-101-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25666 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary <signal.h> includesuau2008-01-091-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25654 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix illegal identifiers: Names starting with __ or _ and uppercase are reserveddiego2008-01-062-2/+2
| | | | | | | for the system, names starting with _ are reserved at file level. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25635 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not pass timestamp to realvideo binary decoderrtogni2008-01-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25626 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused definition.diego2008-01-061-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25625 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove code for colorspaces x264 doesn't supportlorenm2008-01-051-26/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25598 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix artifacts in -vf fspp. regression in r23476.lorenm2008-01-051-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25596 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add multiple inclusion guards to all header files that lack them.diego2008-01-0110-2/+38
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25581 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explanatory comments to the #endif part of multiple inclusion guards.diego2007-12-3112-12/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25563 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused static variable pass, fixes the warning:diego2007-12-271-2/+0
| | | | | | | ae_lame.c:72: warning: 'pass' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25531 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a missing free of the avctxreimar2007-12-251-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25528 b3059339-0415-0410-9bf9-f77b7e298cf2
* change license from GPLv2 to 'GPL v2 or later', requested by Diego, I can do ↵rik2007-12-182-2/+2
| | | | | | that since I wrote the files (based on other stuff from MPlayer (and some external things under GPL v2 or later)) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25454 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make init_video function in dec_video static, it is not used outside that file.reimar2007-12-112-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25354 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix all current known multi-channel wrong order problems by addingulion2007-12-107-0/+71
| | | | | | | | | | | common functions for channel reordering. This fixes these modules by adding channel reordering code for 5.0/5.1 audio: ao: pcm ad: dmo, faad, ffmpeg(ac3, dca, libfaad, liba52), pcm ae: faac, lavc(ac3, libfaac), pcm git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25343 b3059339-0415-0410-9bf9-f77b7e298cf2
* Prevent from outputing mass of 'skip' log messages in verbose level.ulion2007-12-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25306 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use correct printf length modifiers, fixes the following warnings:diego2007-12-031-15/+15
| | | | | | | | | | | | | | | | | | | | | | ve_vfw.c: In function 'vfw_start_encoder': ve_vfw.c:182: warning: format '%d' expects type 'int', but argument 2 has type 'long int' ve_vfw.c:183: warning: format '%d' expects type 'int', but argument 2 has type 'long int' ve_vfw.c:184: warning: format '%d' expects type 'int', but argument 2 has type 'long int' ve_vfw.c:187: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long int' ve_vfw.c:188: warning: format '%d' expects type 'int', but argument 2 has type 'long int' ve_vfw.c:190: warning: format '%d' expects type 'int', but argument 2 has type 'long int' ve_vfw.c:191: warning: format '%d' expects type 'int', but argument 2 has type 'long int' ve_vfw.c:192: warning: format '%d' expects type 'int', but argument 2 has type 'long int' ve_vfw.c:195: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long int' ve_vfw.c:196: warning: format '%d' expects type 'int', but argument 2 has type 'long int' ve_vfw.c:216: warning: format '%d' expects type 'int', but argument 4 has type 'long int' ve_vfw.c:217: warning: format '%d' expects type 'int', but argument 4 has type 'long int' ve_vfw.c:218: warning: format '%d' expects type 'int', but argument 4 has type 'long int' ve_vfw.c:221: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'long int' ve_vfw.c:222: warning: format '%d' expects type 'int', but argument 4 has type 'long int' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25290 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, len may change after initialization timerfelker2007-12-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25282 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix declaration after statement, take 2rfelker2007-12-031-9/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25281 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix declaration after statementrfelker2007-12-031-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25280 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make m_option_t arrays referenced by cfg-common.h constreimar2007-12-022-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25269 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add appropriate const specifiers to some custom parse functions.reimar2007-12-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25260 b3059339-0415-0410-9bf9-f77b7e298cf2
* get/set video colors string is constantreimar2007-12-022-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25252 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_equalizer_t string is constantreimar2007-12-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25251 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make all vf_info_t structs constreimar2007-12-0270-71/+71
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25249 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark several uses of vo_functions_t as const to stop some of the currentreimar2007-12-021-2/+2
| | | | | | | hacks e.g. in vidix code from spreading. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25247 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove completely outdated commented-out codereimar2007-12-021-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25246 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for Apple's yuv2 raw formatreimar2007-11-301-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25210 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warnings:ulion2007-11-271-2/+2
| | | | | | | | | ad_hwac3.c: In function 'decode_audio_dts': ad_hwac3.c:499: warning: passing argument 1 of 'convert_14bits_to_16bits' from incompatible pointer type ad_hwac3.c:499: warning: passing argument 2 of 'convert_14bits_to_16bits' from incompatible pointer type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25177 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify convert_14bits_to_16bits function in ad_hwac3reimar2007-11-261-18/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25167 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support convert 14-bit DTS stream into 16-bit stream if needed,ulion2007-11-241-6/+65
| | | | | | | | so we have space to add the IEC header for it. DTS WAV/CD normally is 14-bit LE format, now we can passthrough it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25152 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make hwdts support more dts format identification, 14bits or 16bits, LE or BE.ulion2007-11-211-24/+128
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25130 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace stupid "unsigned long" by the correct uint32_t.reimar2007-11-121-21/+21
| | | | | | | | Makes 2xsai work on 64 bit architectures (displayed video doubled horizontally before). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25032 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use proper inttypes.h types instead of broken uint32 etc. definesreimar2007-11-121-13/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25031 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing header files, fixes the warnings:diego2007-11-092-0/+2
| | | | | | | | | | | | | | | | | | | | In file included from vf_mcdeint.c:59: ../libavcodec/dsputil.h: In function 'copy_block2': ../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_WN16' ../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_RN16' ../libavcodec/dsputil.h: In function 'copy_block4': ../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_WN32' ../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_RN32' In file included from vf_spp.c:40: ../libavcodec/dsputil.h: In function 'copy_block2': ../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_WN16' ../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_RN16' ../libavcodec/dsputil.h: In function 'copy_block4': ../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_WN32' ../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_RN32' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25005 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing header file, fixes the warnings:diego2007-11-091-0/+1
| | | | | | | | | | | | | In file included from vf_fspp.c:46: ../libavcodec/dsputil.h: In function 'copy_block2': ../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_WN16' ../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_RN16' ../libavcodec/dsputil.h: In function 'copy_block4': ../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_WN32' ../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_RN32' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25004 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove misleading comment and remove unnecessary #includes.diego2007-11-091-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25003 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rearrange headers to get rid of an #undef and remove unnecessary headers.diego2007-11-091-13/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25002 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary dsputil.h #include, fixes the warnings:diego2007-11-091-1/+0
| | | | | | | | | | | | | In file included from vf_uspp.c:33: ../libavcodec/dsputil.h: In function 'copy_block2': ../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_WN16' ../libavcodec/dsputil.h:675: warning: implicit declaration of function 'AV_RN16' ../libavcodec/dsputil.h: In function 'copy_block4': ../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_WN32' ../libavcodec/dsputil.h:686: warning: implicit declaration of function 'AV_RN32' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25001 b3059339-0415-0410-9bf9-f77b7e298cf2
* #include libavcodec/eval.h instead of manually declaring ff_eval.diego2007-11-091-7/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25000 b3059339-0415-0410-9bf9-f77b7e298cf2
* const fixrfelker2007-11-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24999 b3059339-0415-0410-9bf9-f77b7e298cf2
* ack, can't believe i wrote this crap with void pointer arithmeticrfelker2007-11-091-38/+0
| | | | | | | | | | gimme some cola!!! since the code was disabled and tests had shown it was slower, i'm just removing it rather than fixing it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24998 b3059339-0415-0410-9bf9-f77b7e298cf2
* begin moving const filter data to .text/.rodata sectionsrfelker2007-11-096-19/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24997 b3059339-0415-0410-9bf9-f77b7e298cf2
* stage 1 of applying const to vf structsrfelker2007-11-092-86/+86
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24996 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_screenshot does not depend on libpng; it uses libavcodec nowrfelker2007-11-091-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24995 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify decode_audio function a bit.reimar2007-11-081-16/+12
|