summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused static function get_image().zuxy2007-10-171-17/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24799 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add Coinitialize function to vfw encoder and win32 loader.compn2007-10-171-1/+23
| | | | | | | | | | Fixes crash when trying to load vp7vfw.dll in vfw2menc. Patch by Gianluigi Tiesi mplayer___netfarm.it http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2007-September/054136.html git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24798 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reorder #includes to get rid of the FIXMEzuxy2007-10-121-10/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24766 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary #include <malloc.h>zuxy2007-10-121-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24765 b3059339-0415-0410-9bf9-f77b7e298cf2
* Silence a gcc warning: "wrong type argument to increment".zuxy2007-10-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24763 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make vf_screenshot use the libavcodec PNG encoderreimar2007-10-092-44/+37
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24759 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix output channle orderingrtogni2007-10-071-25/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24721 b3059339-0415-0410-9bf9-f77b7e298cf2
* Typortogni2007-10-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24713 b3059339-0415-0410-9bf9-f77b7e298cf2
* change double arrays to float (this should be accurate enough)michael2007-10-041-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24700 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix infinite loopmichael2007-10-041-3/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24699 b3059339-0415-0410-9bf9-f77b7e298cf2
* overcomplete wavelet denoisermichael2007-10-033-0/+341
| | | | | | | not optimized at all but much cleaner than uspp git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24697 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable direct rendering for ROQ video, the buffer management used by rtogni2007-09-301-1/+1
| | | | | | | the codec is not compatible with MPlayer idea of reget_buffer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24676 b3059339-0415-0410-9bf9-f77b7e298cf2
* Define profiles_t as const to fix a warning. Prevent profiles[] from been ↵iive2007-09-281-2/+2
| | | | | | exported. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24649 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable unused query_format functions for now until they arediego2007-09-263-0/+6
| | | | | | | | | | | | investigated and properly used/fixed. Fixes warnings: vf_softskip.c:50: warning: 'query_format' defined but not used vf_tfields.c:433: warning: 'query_format' defined but not used vf_telecine.c:91: warning: 'query_format' defined but not used vf_telecine.c:105: warning: 'config' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24625 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable buggy unused function via #if 0, blessed by Rich.diego2007-09-261-0/+2
| | | | | | | | | Fixes warning: vf_pullup.c: At top level: vf_pullup.c:82: warning: 'get_image' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24623 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused crappy hash_pic function, blessed by Rich.diego2007-09-261-19/+0
| | | | | | | | Fixes warning: vf_detc.c:57: warning: 'hash_pic' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24622 b3059339-0415-0410-9bf9-f77b7e298cf2
* MPEG-2 blocks at qp 1 get overfiltered by spp, apparently because "qp>>1" turnsdiego2007-09-181-1/+1
| | | | | | | | it into 0, which causes an integer overflow later. Clip qp at 1 to avoid this. patch by Alexander Strange, astrange ithinksw com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24572 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace stdint.h #include by functionally equivalent inttypes.h.diego2007-09-181-1/+1
| | | | | | | | The use of inttypes.h is more common throughout MPlayer and stdint.h can create problems on obscure systems like HP-UX, see Bugzilla #831. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24565 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make vd_ffmpeg work with lavf demuxer also for RealVideo.reimar2007-09-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24543 b3059339-0415-0410-9bf9-f77b7e298cf2
* Copy AC-3 bsmod field into IEC data-type field as required by the specsreimar2007-09-151-0/+1
| | | | | | | | | Is not known to make any difference in practice (yet?). Patch by Ulion (ulion2002 gmail com) minus a cast that seemed unnecessary (beat me if I was wrong ;-) ) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24529 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle swab when input length is odd (treat it as if there was an additionalreimar2007-09-151-2/+10
| | | | | | | 0 byte) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24528 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix off-by-one error if fsize is odd (does handling that case even make sense?)reimar2007-09-141-2/+1
| | | | | | | and remove a TODO comment that no longer applies. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24456 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark DTS tables as constreimar2007-09-141-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24455 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix 10l typo in syncwordreimar2007-09-141-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24454 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improved comments, based on patches by Ulion [ulion2002 gmail com]reimar2007-09-141-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24453 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify and fix big-endian hwac3 header generation code.reimar2007-09-141-17/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24452 b3059339-0415-0410-9bf9-f77b7e298cf2
* Deobfuscate: use IMGFMT_RGB_DEPTH and IMGFMT_IS_BGRreimar2007-09-131-10/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24451 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-09-091-2/+0
| | | | | | | libmpcodecs/vf_divtc.c:206: warning: 'cmp' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24380 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-09-091-0/+2
| | | | | | | libmpcodecs/ae_lavc.c:135: warning: 'lavc_find_atag' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24379 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a check for c->head being NULL in pullup_free_context().gpoirier2007-09-081-0/+1
| | | | | | | | | | | This fixes crashes when an invalid filter chain is built Patch by Alexander Strange % astrange A ithinksw P com % Original thread: date: Sep 7, 2007 8:47 PM subject: [MPlayer-dev-eng] [PATCH] crash in pullup with invalid filters git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24370 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support lowdelay flagreimar2007-09-061-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24349 b3059339-0415-0410-9bf9-f77b7e298cf2
* warnig fix (blessed by Rich):diego2007-09-041-1/+1
| | | | | | | pullup.c:223: warning: 'qpcomb_y' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24339 b3059339-0415-0410-9bf9-f77b7e298cf2
* added .stream_aspect to st_video_t: if non-zero and if not specified otherwisenicodvb2007-09-011-0/+1
| | | | | | | by the user the video pipeline will use it as current aspect ratio git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24319 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove imported rational calculation code and use the original one from avutil.iive2007-09-011-83/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24315 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless #ifdef HAVE_XVMC within get_format(), all of the functiondiego2007-08-281-2/+0
| | | | | | | is protected by that #ifdef. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24274 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-08-281-3/+3
| | | | | | | | vd_ffmpeg.c: At top level: vd_ffmpeg.c:915: warning: 'get_format' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24273 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-08-281-1/+1
| | | | | | | vf_scale.c:359:92: warning: trigraph ??) ignored, use -trigraphs to enable git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24269 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Add some explanatory comments to #endif directives.diego2007-08-281-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24268 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-08-281-1/+0
| | | | | | | | ve_qtvideo.c: At top level: ve_qtvideo.c:109: warning: 'decompressor' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24267 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add code to clear left and right borders not only top and bottom.reimar2007-08-281-2/+20
| | | | | | | Patch by Tomas Janousek (tomi nomi cz) with small modifications by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24263 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clean up the way get_path is handled: Compile get_path.c to an object to linkdiego2007-08-282-4/+0
| | | | | | | | against instead of directly #including the C file and replace the many extern declarations by a proper header file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24262 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set sample_rate and bit_rate from sh_audio as fallback in case sh_audio->wfreimar2007-08-271-0/+2
| | | | | | | is not available. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24246 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-08-251-1/+0
| | | | | | | | pullup.c: In function 'decide_frame_length': pullup.c:569: warning: unused variable 'f3' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24196 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declaration.diego2007-08-251-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24168 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declaration.diego2007-08-252-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24166 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declaration.diego2007-08-251-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24163 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix some unused variable warnings.diego2007-08-251-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24162 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix unused variable warning.diego2007-08-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24145 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix unused variable warning.diego2007-08-241-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24140 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable.diego2007-08-241-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24139 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use new request_channelsreimar2007-08-231-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24128 b3059339-0415-0410-9bf9-f77b7e298cf2
* Runtime-patching for windows to fix crash with drv43260.dll reimar2007-08-201-0/+44
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24107 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf in mp_image.h was changed to fprintf in r17972.cehoyos2007-08-082-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24040 b3059339-0415-0410-9bf9-f77b7e298cf2
* make x264 work again after the h264-libx264 renamingmichael2007-08-071-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24024 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move alloc_mpi and copy_mpi from libmenu/vf_menu.c to libmpcodecs/mp_image.c.cehoyos2007-08-043-0/+69
| | | | | | | Patch by Attila Ötvös. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24014 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert setting audio output channel count for FFmpeguau2007-08-021-2/+0
| | | | | | | | | | | | | | | | | | | | The FFmpeg API needs to be fixed before this can be done sanely. ffdca wants the desired output channel count to be set in avctx->channels. Unfortunately it also completely fails if the requested number of channels is not available rather than returning a different amount (if 6 channels are requested we'd probably rather use stereo than fail completely). ffvorbis ignores caller-set values in avctx->channels. It writes the channel count there once during init. This means the caller can only set the count before init because later there would be no indication whether the channel count in avctx reflects real output. ffwma requires the caller to supply the encoded channel count in avctx->channels during init or it fails. So it is not possible to set a different number of desired output channels there before init either. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23998 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set lavc_context->channels before opening the codec, it is sufficient toreimar2007-08-011-2/+2
| | | | | | | | select the desired number of codecs for ffdca and does not break other codecs like ffvorbis that do not (re)set the channel number during decode. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23994 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow to specify the audio bitrate in bits (some codecs need that ...)michael2007-07-312-2/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23977 b3059339-0415-0410-9bf9-f77b7e298cf2
* make timestamps out of hot airmichael2007-07-311-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23974 b3059339-0415-0410-9bf9-f77b7e298cf2
* make a few more parameters accessable from mplayermichael2007-07-311-1/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23973 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move extern int audio_output_channels; to ad_internal.hreimar2007-07-306-9/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23938 b3059339-0415-0410-9bf9-f77b7e298cf2
* Indicate desired number of output channels to ffmpeg audio decoder.reimar2007-07-301-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23937 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid void * arithmeticreimar2007-07-301-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23936 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use goto instead of useless recursion that might fill up the stackreimar2007-07-301-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23932 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use a return value for a void functionreimar2007-07-301-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23931 b3059339-0415-0410-9bf9-f77b7e298cf2
* Compilation fix workaround for dca.h conflict (it exists in libavcodec rtogni2007-07-231-1/+1
| | | | | | | and newest versions of libdca) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23851 b3059339-0415-0410-9bf9-f77b7e298cf2
* DTS decoding via libdcartogni2007-07-223-0/+352
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23841 b3059339-0415-0410-9bf9-f77b7e298cf2
* Put a compilation fix bandaid in place for the png.h issue.diego2007-07-171-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23802 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print the number of the Unknow color format,iive2007-07-111-1/+4
| | | | | | | so verbose debug output could be a little more useful. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23770 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove unused variableslorenm2007-07-111-9/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23768 b3059339-0415-0410-9bf9-f77b7e298cf2
* ISO8859-1 --> UTF-8diego2007-07-092-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23754 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use leading underscores in multiple inclusion guards, they are reserved.diego2007-07-027-14/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23709 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of my_memcpy_pic code duplication in many filters.reimar2007-06-289-125/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23686 b3059339-0415-0410-9bf9-f77b7e298cf2
* config.h must be included before other headersreimar2007-06-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23660 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure we always have a swab() prototype when we use it,reimar2007-06-242-0/+2
| |