1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 00:42:57 +00:00
Commit Graph

27911 Commits

Author SHA1 Message Date
diego
41272e3014 cosmetics: Move some config.h entries to more sensible places.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27742 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-10 21:56:03 +00:00
diego
54a1406b31 cosmetics: Group codec-, network- and gui-related options together in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27741 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-10 05:34:49 +00:00
diego
e61c3a381a cosmetics: Group system header and function definitions together in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27740 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 22:11:56 +00:00
cehoyos
a6b9c80b25 Remove unused line (and fix an icc warning).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27739 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 17:10:31 +00:00
cehoyos
22bb046adc Replace numeric constants by their defines.
Fixes icc warning #188: enumerated type mixed with another type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27738 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 17:08:47 +00:00
flameeyes
3035850d27 Mark some symbols in swscale.c as constant.
These are only used in swscale_template.c (and thus don't need to be
made extern), and can be declared as ASM constants.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27737 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 11:13:14 +00:00
flameeyes
98fb4aebc2 Mark dither_2x2_{8,4} static to swscale.c
These two tables are not used outside swscale.c even though they are
declared also in yuv2rgb.c.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27736 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 11:12:38 +00:00
flameeyes
46caebfa6e Mark variation-specific interleaveBytes static.
These functions are never called by themselves, the alias
interleaveBytes is used instead.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27735 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 11:11:35 +00:00
flameeyes
3ab65de119 Invert logic for the single-pass in swScale() functions.
Instead of having a firstTime variable defaulting to 1, have a
warnedAlready defaulting to 0. While this should make no difference in
code speed at runtime, it allows to aggregate the four bytes of that
variable with clip_table in .bss section, rather than issuing a .data
section just for that.

As it is, libswscale require no .data section but .data.rel.ro (that
can be mitigated by prelinking), so the change might actually save one
page of memory at runtime (per process).



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27734 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 11:10:30 +00:00
cehoyos
a0d55235a7 Change variable types from int to enum PixelFormat.
Fixes icc warning #188: enumerated type mixed with another type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27733 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 08:36:04 +00:00
ulion
78f37058ff Fix channel order for ffmpeg flac codec.
This patch comes from Andrew de Quincey <adq_dvb at lidskialf dot net>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27732 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-09 07:46:20 +00:00
vitor
74bb6be453 Do not set src[1] to the palette, it is now in the context
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27731 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-08 17:48:23 +00:00
vitor
c51fe849d6 Add a new unscaled PAL8 -> RGB converter.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27730 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-08 17:46:22 +00:00
kraymer
ef6c34c086 r27182: apply parameter name change of no-correct-pts from r26842 to man page
r27208: dvd:// streams accept the device path in the url; patch by Mathieu SCHROETER mathieu.schroeter gamesover ch 
r27230: Give all shell scripts a .sh suffix for consistency.
r27235: moved o option beetwen m* and p*
r27236: another alphabetical order correction
r27334: -border/-noborder are supported by gl/gl2, too, but only on Windows.
r27337: No idea which vos support -noborder how well, though those based on
        X11 or running on Windows _should_ work.
        Just remove that line for now.
r27342: Remove outdated "X11 only" from xineramascreen option and try to make clearer
        what it does and what it does not.
r27348: add list of supported vo's to -xineramascreen


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27729 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-08 16:22:23 +00:00
aurel
9bbe7f1131 Change one more variable type from int to enum PixelFormat.
This one was missing from r27727.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27728 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-08 11:59:01 +00:00
cehoyos
878e88cd5c Change variable types from int to enum PixelFormat.
Fixes icc warning #188: enumerated type mixed with another type


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27727 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-07 19:44:39 +00:00
diego
b9509b1795 Remove unnecessary HAVE_AV_CONFIG_H #define.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27726 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-07 08:25:47 +00:00
gpoirier
d239eb53ae sync w/r27691
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27725 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-06 14:09:22 +00:00
cehoyos
f49e1f1e8f Correctly place second const in declaration.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27724 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-05 23:16:49 +00:00
diego
980239fa82 Move find_backwards_asf_guid asfguid.h to asfheader.c, the only place where
it is used.  Fixes the following warning:
./libmpdemux/asfguid.h:94: warning: 'find_backwards_asf_guid' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27723 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-05 21:44:42 +00:00
lu_zero
8ecc4934ef gcc-apple specific fallback not necessary anymore
(btw no apple hardware is less than a Intel core, thus it
won't come there w/out disabling all the optimizations)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27722 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-05 21:00:16 +00:00
cehoyos
3fa84e0247 Disable mp3lib and liba52-internal for icc.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27721 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-05 20:43:09 +00:00
diego
93de0584c5 Use HAVE_FAST_64BIT instead of nonstandard __WORDSIZE macro.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27720 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-05 16:47:55 +00:00
Gabrov
83b02d5706 synced with r27718
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27719 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-05 13:43:45 +00:00
cehoyos
99877b2fc6 Remove b5Dither, g5Dither and r5Dither from libswscale.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27718 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 18:50:39 +00:00
diego
6fb9d58116 Revert the removal of the likely/unlikely macros, they are still used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27717 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 17:55:42 +00:00
diego
036b3d0c51 Merge variable declaration and export.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27716 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 17:15:39 +00:00
cehoyos
15d516ffdf Remove g6Dither from libswscale.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27715 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 16:40:35 +00:00
ranma
cb8c70d6c2 Fix "format '%d' expects type 'int', but argument 6 has type 'size_t'" warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27714 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 15:11:39 +00:00
diego
d68f29e593 Add a comment to lonely 'fi' for clarification.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27713 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 15:06:50 +00:00
ranma
68fa9667ec Make alsa resume after suspend to disk (would say 'file descriptor is in bad state' before this change)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27712 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 15:03:10 +00:00
diego
975e5a97e2 cosmetics: more config.h reordering
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27711 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 13:07:31 +00:00
diego
34e161377a cosmetics: Reorder entries in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27710 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 12:39:16 +00:00
diego
5fa09d26e0 100l: Revert incorrect removal or --ar and --ranlib options.
They are still needed for FFmpeg.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27709 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 12:24:18 +00:00
diego
b91df4ad96 cosmetics: Improve some config.h comments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27708 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 12:14:38 +00:00
diego
02c93f7b98 Do not duplicate likely/unlikely #defines from libmpeg2/libavcodec in config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27707 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 11:47:00 +00:00
diego
6e916bbf28 Remove unused HAVE_SYS_POLL_H definition from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27706 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 11:42:39 +00:00
diego
5b3b982baf cosmetics: Move around some more stuff in config.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27705 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 11:27:39 +00:00
diego
c43243575c cosmetics: Move around stuff in config.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27704 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 11:06:50 +00:00
diego
e46c293c57 Remove unused LIBDIR Makefile variable from config.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27703 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:57:57 +00:00
diego
40505981d7 Remove unused options --ar and --ranlib.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27702 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:53:28 +00:00
diego
b924795056 Do not set DESTDIR to an empty value so that it can be overridden on the
command line.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27701 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:39:29 +00:00
diego
220ec4f125 FAAC/FAAD are no longer the only available AAC encoders/decoders.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27700 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:18:42 +00:00
diego
526cfa28a2 Remove word size check and macro and use __WORDSIZE directly instead.
It has been done this way in libswscale for years without apparent ill effect.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27699 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:16:48 +00:00
diego
4d040d35d0 Remove MPlayer-specific MP_WORDSIZE hack.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27698 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 09:52:07 +00:00
diego
677ce98c85 Merge SPARC and SPARC64 sections in the CPU detection code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27697 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 09:38:10 +00:00
diego
6685ee530b Skip setting variables to empty values in the CPU detection code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27696 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 09:27:46 +00:00
diego
78066d185e Remove MinGW cruft.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27695 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 23:44:40 +00:00
diego
c4c2d94214 100l copy and paste typo fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27694 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 22:49:53 +00:00
diego
6c9eadf059 spelling cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27693 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 22:46:33 +00:00