summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
Commit message (Collapse)AuthorAgeFilesLines
* Merge svn changes up to r31189Uoti Urpala2010-05-302-7/+11
|\
| * Fix compilation broken by FFmpeg-r23201 that changed the api of error logging.iive2010-05-202-7/+11
| | | | | | | | | | | | | | | | | | Also fix evaluation after FFmpeg-r23149 "change order of parameters". Let the filters fail if evaluation can't be done. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31187 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r31176Uoti Urpala2010-05-302-103/+0
|\|
| * Fix compilation after r31173.cehoyos2010-05-141-2/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31174 b3059339-0415-0410-9bf9-f77b7e298cf2
| * remove vf_yuy2, functionality is replaced by -vf format=yuv2siretart2010-05-141-100/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31173 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r31169Uoti Urpala2010-05-301-16/+0
|\|
| * Remove internal liba52 copy.diego2010-05-091-16/+0
| | | | | | | | | | | | | | Nowadays FFmpeg is faster than liba52 and external liba52 is well supported. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31147 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r31145Uoti Urpala2010-05-302-3/+7
|\|
| * Handle Y8/Y800 formats more similar to other YUV formats.reimar2010-05-092-3/+7
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31144 b3059339-0415-0410-9bf9-f77b7e298cf2
* | cosmetics: "struct vf_instance* vf" -> "struct vf_instance *vf"Uoti Urpala2010-05-2986-362/+366
| | | | | | | | | | | | | | Change 'struct vf_instance' pointer arguments to more standard style as in the subject. Also some other minor formatting fixes. Patch by Diego Biurrun.
* | ad_pcm: don't rely on demux packets staying validUoti Urpala2010-05-151-9/+23
| | | | | | | | | | | | | | | | | | Change ad_pcm to copy input packet data into an internal buffer instead of relying on the packet still existing at the next decode() call. The extra memcpy could be avoided by improving the demuxer API a bit but I don't feel like implementing that now. Also add a ADCTRL_RESYNC_STREAM handler to drop buffered data from previous stream position.
* | ad_pcm: fix crash at EOFUoti Urpala2010-05-151-1/+1
| | | | | | | | | | | | | | Fix use of unsigned type where negative values were needed. When playing a file with multichannel PCM audio the bug could result in the channel reorder function scrambling memory at the end of playback, causing a crash.
* | cosmetics: reindent ad_pcm.cUoti Urpala2010-05-151-117/+120
| |
* | vd_ffmpeg: remove #ifdef for old FFmpeg-mt versionsUoti Urpala2010-05-071-6/+0
| | | | | | | | | | The #ifdef is obsolete since trying to compile against the relevant old versions will fail for other reasons.
* | Merge svn changes up to r31141Uoti Urpala2010-05-078-3/+38
|\|
| * Add support for 12-bit color mode on framebuffer devices.cehoyos2010-05-068-3/+38
| | | | | | | | | | | | | | Patch Janusz Krzysztofik, jkrzyszt A tis icnet pl git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31139 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Cosmetics/indentation fixes.reimar2010-04-201-4/+5
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31052 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add workaround for aac-sbr-ffaac-slow.mkv playing to slow with FFmpegreimar2010-04-201-0/+5
| | | | | | | | | | | | | | AAC decoder due to wrong sample rate in container. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31051 b3059339-0415-0410-9bf9-f77b7e298cf2
* | vd_ffmpeg: use skip_frame instead of deprecated hurry_up fieldUoti Urpala2010-05-041-1/+6
| |
* | Merge svn changes up to r31050Uoti Urpala2010-04-267-17/+22
|\|
| * Tell x264 that we aren't going to give it timestamps.lorenm2010-04-201-0/+1
| | | | | | | | | | | | | | Fixes some warnings starting in x264-r1480. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31049 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Replace memalign(x) (x > 8) by av_malloc() to prevent crashes on systemszuxy2010-04-206-17/+21
| | | | | | | | | | | | | | lacking memalign(), e.g. Win32. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31045 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r31040Uoti Urpala2010-04-262-105/+108
|\|
| * Move functions that really do not need to be inlined from the headerreimar2010-04-152-105/+108
| | | | | | | | | | | | | | to the .c file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31038 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r31033Uoti Urpala2010-04-263-6/+7
|\|
| * Fix build due to FFmpeg r22858 change (function rename).iive2010-04-121-1/+1
| | | | | | | | | | | | | | Patch by ubitux on irc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31033 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix build after FFmpeg symbol rename:diego2010-04-122-2/+3
| | | | | | | | | | | | | | | | | | ff_eval2 --> ff_parse_and_eval_expr ff_parse_eval --> ff_eval_expr patch by ubitux, ubitux gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31031 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix build due to FFmpeg r22833 change (typedef rename).iive2010-04-111-1/+1
| | | | | | | | | | | | | | Found by ubitux on irc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31029 b3059339-0415-0410-9bf9-f77b7e298cf2
| * cosmetics: Reorder some x86-related preprocessor conditionals.diego2010-04-061-2/+2
| | | | | | | | | | | | | | | | This fixes two of the following warnings on non-x86 machines: libmpcodecs/vf_gradfun.c:388:5: warning: "HAVE_EBX_AVAILABLE" is not defined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31025 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r31020Uoti Urpala2010-04-261-6/+10
|\|
| * Change ifdefs to make more sense: HAVE_SSSE3 should only be around SSSE3-code,reimar2010-04-051-6/+10
| | | | | | | | | | | | | | not around MMX code etc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31018 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r31004Uoti Urpala2010-04-2610-10/+35
|\|
| * Mark vf_size_preset_fields m_option_t array as const.diego2010-04-041-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31001 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Mark encoder-related m_option_t struct arrays as const.diego2010-04-048-8/+8
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30997 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Add a header for x264enc_set_param() instead of forward declaring it.diego2010-04-032-0/+27
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30991 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove pointless #ifdef CONFIG_LIBAVCODEC preprocessor check.diego2010-04-031-2/+0
| | | | | | | | | | | | | | The file is only compiled if that condition is true. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30990 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30972Uoti Urpala2010-04-261-1/+1
|\|
| * Fix crash with incomplete yuv2 frames.reimar2010-03-281-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30972 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30967Uoti Urpala2010-04-266-30/+40
|\|
| * Convert asm keyword to __asm__.diego2010-03-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Neither the asm() nor the __asm__() keyword is part of the C99 standard, but while GCC accepts the former in C89 syntax, it is not accepted in C99 unless GNU extensions are turned on (with -fasm). The latter form is accepted in any syntax as an extension (without requiring further command-line options). Sun Studio C99 compiler also does not accept asm() while accepting __asm__(), albeit reporting warnings that it's not valid C99 syntax. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30962 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix build due to codecs_path vs. codec_path typo.diego2010-03-232-8/+8
| | | | | | | | | | | | | | patch by Erik Auerswald, auerswal unix-ag.uni-kl de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30950 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Get rid of pointless def_path variable; use codec_path directly instead.diego2010-03-233-9/+9
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30949 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Real binary loader code should respect the binary codec path.diego2010-03-232-12/+16
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30948 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Rename get_path.[ch] --> path.[ch].diego2010-03-201-1/+1
| | | | | | | | | | | | | | These files now contain different functions related to path handling. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30943 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Move SetCodecPath() from loader to get_path.c and make it unconditional.diego2010-03-201-2/+1
| | | | | | | | | | | | | | | | This fixes compilation with the Win32 loader disabled but other binary codec loaders enabled. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30942 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove unnecessary size limits and a related define for hm12 decoder.reimar2010-03-191-7/+0
| | | | | | | | | | | | | | Patch by Stephen Warren [swarren nvidia com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30940 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Drop support for XANIM_MOD_DIR environment variable.diego2010-03-181-3/+0
| | | | | | | | | | | | | | | | It is now possible to specify alternative codec paths on the comand line. Furthermore, XANIM_MOD_DIR was never properly documented. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30936 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Reuse codec path variable used in the binary loader in the XAnim loader.diego2010-03-181-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30935 b3059339-0415-0410-9bf9-f77b7e298cf2
| * cosmetics: indentationaurel2010-03-181-2/+2
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30933 b3059339-0415-0410-9bf9-f77b7e298cf2
| * add support for lavf style extradata in vd_theoraaurel2010-03-181-0/+17
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30932 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30917Uoti Urpala2010-04-261-7/+3
|\|
| * Remove unused variable, fixes the warning:diego2010-03-161-1/+0
| | | | | | | | | | | | | | libmpcodecs/vd_qtvideo.c:242: warning: unused variable 'result' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30912 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix libmpcodecs/vd_qtvideo.c compilation on OS X:sesse2010-03-161-6/+3
| | | | | | | | | | | | | | | | - Declare the "result" variable even for native QuickTime. - ExitMovies returns void; don't check its result value. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30911 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r30907Uoti Urpala2010-04-265-233/+124
|\|
| * Use the high-level QuickTime decoding APIs (DecompressSequenceFrameS andsesse2010-03-151-224/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | friends) instead of the unsupported, internal ones (ImageCodecBeginBand etc.). This is a prerequisite for, among others, Apple ProRes 4:2:2 support, and simplifies the file by quite a bit. Tested on Linux with all existing QuickTime codecs I could get to work in the first place; qt261, qtavui, qtsvq3 have no change. qtcvid appears to not give bit-exact the same output as before, but it looks just the same in playback to me. qt3ivx stops crashing on exit (so works better than before). With some extra patches and a codecs.conf entry, ProRes 4:2:2 also works, including on Linux. Since codec initialization is now actually done on decoder init instead of on first frame, fallback should also work a bit better (although usually, qtvideo is last in the chain). Also made the decoder complain explicitly if the demuxer data is not there (ie., the user tried to run without -demuxer mov). This patch is a cleaned up version of what Andrew Wason (rectalogic A rectalogic D com) posted to mplayer-dev-eng in June. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30899 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Replace separate Win32, XAnim and Real codec directories by one global dir.diego2010-03-143-9/+9
| | | | | | | | | | | | | | | | | | Nowadays MPlayer does not use the codecs from other installed programs. A runtime setting will soon take over the rare case that binary codecs should be searched for in non-standard directories. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30888 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Support extradata format of the speex.acm windows codec formerly availablereimar2010-03-121-0/+24
| | | | | | | | | | | | | | from openacm.org. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30884 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Fix crash if speex_packet_to_header fails.reimar2010-03-121-0/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30883 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Move some sh_audio field setting out of demuxer.cUoti Urpala2010-04-231-1/+4
| | | | | | | | These fields are decoder details, not information set by the demuxer.
* | ad_ffmpeg: prefer codec to container samplerate for ffaacUoti Urpala2010-03-211-1/+6
| | | | | | | | | | | | Container-level information can be unreliable for AAC because of SBR handling problems, so use the samplerate value from the codec instead.
* | Delete things related to old translation systemUoti Urpala2010-03-1042-42/+0
| | | | | | | | | | Remove the help/ subdirectory, configure code to create toplevel help_mp.h, and all the '#include "help_mp.h"' lines from .c files.
* | Merge svn changes up to r30876Uoti Urpala2010-03-104-7/+146
|\|