aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* configure: Compile with -O2 instead of -O4Gravatar Uoti Urpala2009-07-26
| | | | | | -O4 (which GCC interprets the same as -O3) gives no consistent performance advantage, being significantly worse than -O2 sometimes. -O2 gives faster compilation and smaller binary.
* Use own mp_*_taglists code instead of libavformat internalsGravatar Uoti Urpala2009-07-26
| | | | | Use the version of code under ffmpeg_files/ instead of relying on libavformat source files to be available.
* Disable functionality requiring libswscale internalsGravatar Uoti Urpala2009-07-26
| | | | | | | | | | | The following are affected: vo_yuv4mpeg, vf_halfpack, vf_palette, vf_rgb2bgr, vf_yuy2, vo_mga, vo_xmga. In vo_yuv4mpeg, only disable RGB support (which is probably little used). Others are disabled completely for now. vo_mga and vo_xmga are disabled by preventing configure from enabling them. The rest is placed under LIBSWSCALE_INTERNALS variable which isn't currently enabled anywhere.
* Replace libavutil internal header #includes with MPlayer copiesGravatar Uoti Urpala2009-07-26
| | | | | | Change #include lines for libavutil/intreadwrite.h, libavutil/bswap.h and libavutil/x86_cpu.h to use the MPlayer file under ffmpeg_files/ instead.
* configure: Improve pkg-config tests for FFmpeg librariesGravatar Uoti Urpala2009-07-26
| | | | | | | | Tests for libavcodec, libavformat, libavutil and libswscale used the CFLAGS from pkg-config in a test compile but did not add them to the flags used during the main build, so the compiler could fail to find the headers then. Add the flags to the commands used during the main build too. libpostproc had no pkg-config test at all. Add one.
* Add copies of needed internal FFmpeg files under ffmpeg_files/Gravatar Uoti Urpala2009-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | MPlayer used to depend on having an FFmpeg tree available at build time to provide this code, and FFmpeg changes occasionally broke the MPlayer build as a result. Some of the relevant functionality also depends on FFmpeg library symbols that are not part of the FFmpeg API, meaning that library changes could break MPlayer after the build. Add a copy of the relevant functionality to the MPlayer tree and use that instead. The added files are: - The headers bswap.h, intreadwrite.h and x86_cpu.h from libavutil. Some MPlayer code uses the functionality defined as macros and static inline functions in these headers. - Architecture-specific internal files used by the above headers. These are in the subdirectories: x86/, arm/, bfin/, sh4/. - taglists.[ch], which provides the codec tables from libavformat/riff.c and two functions to access them from libavformat/utils.c. Most of the headers are copied from FFmpeg revision 19452 with only the include guard names changed. A "common.h" include in bswap.h was changed to "libavutil/common.h" as it should use the installed header. Taglists.c contains snippets from the relevant files with some changes like renamed identifiers.
* Remove libswscale directory in MPlayer sourcesGravatar Uoti Urpala2009-07-26
| | | | libswscale will be used through FFmpeg.
* Remove unnecessary libavutil/internal.h includesGravatar Uoti Urpala2009-07-26
| | | | | | | These includes were added earlier after the definition of the DECLARE_ALIGNED and DECLARE_ASM_CONST macros were moved to this header in FFmpeg. However now those macros are again in the public mem.h header, and there is no need to include internal.h.
* Merge svn changes up to r29417Gravatar Uoti Urpala2009-07-12
|\
| * Fix compilation after FFmpeg r19395.Gravatar cehoyos2009-07-11
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29417 b3059339-0415-0410-9bf9-f77b7e298cf2
* | demux_mkv.c: Make some time arithmetic more preciseGravatar Uoti Urpala2009-07-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some calculations in the demuxer that are in principle integer arithmetic use float divisions instead of 64-bit integer ones (as in (int64_t)(x / 1000000.0) ). When compiled with -ffast-math gcc replaces the division with multiplication by inverse. The calculation of the inverse can introduce rounding error even for divisions that would have been exact, and any rounding error down from an exact integer result in the division makes the result after cast one smaller. This caused some inaccuracy in seeking due to timecodes in the index not quite matching those calculated for actual packets. Add 0.5 to such expressions before casting to round instead of truncating, which should be enough to avoid the problem. Also replace some non-performance-critical use of float types by doubles.
* | demux_mkv: Round more seeks to "backwards" keyframesGravatar Uoti Urpala2009-07-09
| | | | | | | | | | | | | | | | Allow more fuzziness in treating timestamps as inaccurate attempts to seek "exactly" to a keyframe. A seek forward can now actually go to a keyframe 5 ms back from the timecode, and correspondingly for seeks backwards. Before only 1 ms was allowed. This helps with some files that have inaccurate chapter boundaries.
* | demux_mkv: Make seeks more precise in some casesGravatar Uoti Urpala2009-07-09
| | | | | | | | | | | | | | When seeking backward, after seeking to the file position specified by an index entry skip packets until the timecode of that index entry. The existence of the entry should guarantee a keyframe there before the seek target time.
| * Disable libavcodec AAC encoder, there are too many systems where it doesn't ↵Gravatar reimar2009-07-09
| | | | | | | | | | | | compile. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29416 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Remove dependency from swscale_internal.h to lavu/internal.h, it is no longerGravatar ramiro2009-07-09
| | | | | | | | | | | | | | | | | | | | | | | | needed for DECLARE_ALIGNED. Remove dependency from swscale-example.c to swscale_internal.h by duplicating the necessary code. The duplicated code is a hack and should be removed once a cleaner pixel format information system exists. swscale-example.c is example code on how to use the library and therefore shouldn't rely on internal headers. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29415 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Remove the internal GUIGravatar Anton Khirnov2009-07-07
| | | | | | | | | | | | | | | | | | The GUI is badly designed and too closely coupled to the internal details of other code. The GUI code is in bad shape and unmaintained for years. There is no indication that anyone would maintain it in the future either. Even if someone did volunteer to implement a better integrated GUI having the current code in the tree probably wouldn't help much. So get rid of it.
| * 20% faster hqdn3d on x86_64Gravatar lorenm2009-07-07
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29414 b3059339-0415-0410-9bf9-f77b7e298cf2
| * new debanding filterGravatar lorenm2009-07-07
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29413 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r29412Gravatar Uoti Urpala2009-07-07
|\ \
| * | Revert "fix missing event on move that breaks xmga window movement"Gravatar Uoti Urpala2009-07-07
| |/ | | | | | | | | | | | | | | | | The reverted commit had a harmful effect on other VOs as it produced bogus events that caused unnecessary load and flicker at least when moving the window while paused. A proper fix would need a separate event type. So revert this commit before merging the changes to the master branch; it'll leave xmga window movement broken, but I consider that less important than the other VOs.
* | Merge svn r29305 (trailing whitespace removal)Gravatar Uoti Urpala2009-07-07
|\ \ | | | | | | | | | | | | | | | This merge doesn't actually modify the tree, it's only here to tell git that later merges should not try to apply the whitespace changes (which would produce lots of conflicts).
* | | Remove trailing whitespace from most filesGravatar Uoti Urpala2009-07-07
| | |
* | | Merge svn changes up to r29304Gravatar Uoti Urpala2009-07-07
|\ \ \
* | | | Translation system changes part 2: replace macros by stringsGravatar Amar Takhar2009-07-07
| | | | | | | | | | | | | | | | | | | | Replace all MSGTR_ macros in the source by the corresponding English string.
* | | | Translation system changes part 1: wrap translated stringsGravatar Amar Takhar2009-07-07
| | | | | | | | | | | | | | | | | | | | Replace mp_msg() calls which have a translated string as the format argument with mp_tmsg and add _() around all other translated strings.
* | | | Add temporary no-op translation function stubsGravatar Uoti Urpala2009-07-06
| | | |
| | | * The AltiVec code in libswscale no longer is under GPL.Gravatar diego2009-07-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove one erroneous preprocessor check for CONFIG_GPL in the AltiVec code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29412 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * Add a section about handling external code to the policy.Gravatar diego2009-07-04
| | | | | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29411 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * add truemotion rt binary codec for TR20 fourccGravatar compn2009-07-03
| | | | | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29410 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * Use enum PixelFormat in sws_format_name() prototypeGravatar mru2009-07-01
| | | | | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29409 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * Print information about chapters with -identify.Gravatar reimar2009-06-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch by Adrian Stutz [adrian sttz ch] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29408 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * Make set_property chapter 0-based like all other chapter-relatedGravatar reimar2009-06-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | property functions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29407 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * add binary codec for NTN1 and NTN2 fourccGravatar compn2009-06-27
| | | | | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29406 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * add 0xA106 twocc to aac decoders, fixes facebook sampleGravatar compn2009-06-27
| | | | | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29405 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * Fix some blu-ray samples: HDMV == H264Gravatar cehoyos2009-06-26
| | | | | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29404 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * Increase slave mode buffer so that one can load files with a deeperGravatar ben2009-06-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | path (or bigger URLs). Patch by Mathieu Schroeter (mathieu DOT schroeter AT gamesover DOT ch). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29403 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * Use memcpy_pic2 instead of reimplementing it.Gravatar reimar2009-06-26
| | | | | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29402 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * Close /dev/tty again on uninit.Gravatar reimar2009-06-26
| | | | | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29401 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * Fix indentation broken in last patchGravatar reimar2009-06-26
| | | | | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29400 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * Get rid of completely pointless vt_doit variableGravatar reimar2009-06-26
| | | | | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29399 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * 10l, use fopen directly instead of open + fdopenGravatar reimar2009-06-26
| | | | | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29398 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * Use a single err_out in fb_preinit, also fixes a leak when vo_dbpp has anGravatar reimar2009-06-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | unexpected value. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29397 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * Use FFALIGN and FFMAX3Gravatar reimar2009-06-26
| | | | | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29396 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * Remove useless castsGravatar reimar2009-06-26
| | | | | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29395 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * fbdev: remove pointless ()Gravatar reimar2009-06-26
| | | | | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29394 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * Replace incorrect use of strncpy by av_strlcpy.Gravatar reimar2009-06-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Only a real issue if inet_ntoa can actually return a string of more than 255 bytes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29393 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * Use the RESET_GEOMETRY macro in one more place instead of duplicating its code.Gravatar reimar2009-06-26
| | | | | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29392 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * 100l, RESET_GEOMETRY must reset values to INT_MIN, not -1, -1 is aGravatar reimar2009-06-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | valid value for e.g. the offsets. Patch by Benson Mitchell [benson mitchell gmail com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29391 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * AltiVec code and runtime cpudetect do not require CONFIG_GPL.Gravatar diego2009-06-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure the latter is only checked for x86 optimizations, which are GPL. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29390 b3059339-0415-0410-9bf9-f77b7e298cf2
| | | * The AltiVec optimizations of libswscale are no longer under GPL.Gravatar diego2009-06-25
| | | | | | | | | | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29389 b3059339-0415-0410-9bf9-f77b7e298cf2