| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
-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 the version of code under ffmpeg_files/ instead of relying on
libavformat source files to be available.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Change #include lines for libavutil/intreadwrite.h, libavutil/bswap.h
and libavutil/x86_cpu.h to use the MPlayer file under ffmpeg_files/
instead.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
libswscale will be used through FFmpeg.
|
|
|
|
|
|
|
| |
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.
|
|\ |
|
| |
| |
| |
| | |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29417 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
compile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29416 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29414 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| |
| |
| |
| | |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29413 b3059339-0415-0410-9bf9-f77b7e298cf2
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
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).
|
| | | |
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Replace all MSGTR_ macros in the source by the corresponding English
string.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Replace mp_msg() calls which have a translated string as the format
argument with mp_tmsg and add _() around all other translated strings.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | | |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29411 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| | | |
| | | |
| | | |
| | | | |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29410 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| | | |
| | | |
| | | |
| | | | |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29409 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Patch by Adrian Stutz [adrian sttz ch]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29408 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
property functions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29407 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| | | |
| | | |
| | | |
| | | | |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29406 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| | | |
| | | |
| | | |
| | | | |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29405 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| | | |
| | | |
| | | |
| | | | |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29404 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | | |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29402 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| | | |
| | | |
| | | |
| | | | |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29401 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| | | |
| | | |
| | | |
| | | | |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29400 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| | | |
| | | |
| | | |
| | | | |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29399 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| | | |
| | | |
| | | |
| | | | |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29398 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
unexpected value.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29397 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| | | |
| | | |
| | | |
| | | | |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29396 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| | | |
| | | |
| | | |
| | | | |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29395 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| | | |
| | | |
| | | |
| | | | |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29394 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | | |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29392 b3059339-0415-0410-9bf9-f77b7e298cf2
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | | |
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29389 b3059339-0415-0410-9bf9-f77b7e298cf2
|