1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-04 05:52:09 +00:00
Commit Graph

29455 Commits

Author SHA1 Message Date
ramiro
53d5120152 Do not misuse HAVE_ defines. Introduce COMPILE_TEMPLATE_ defines and use them
instead.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29446 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-27 06:47:41 +00:00
ramiro
d7a50940f7 Factorize x86 fast_bilinear assembly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29445 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-27 06:22:00 +00:00
ramiro
a7c8120418 Fix assembly comments for x86 fast_bilinear so they match the C code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29444 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-27 06:20:17 +00:00
diego
e5751ced4f Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-26 19:53:00 +00:00
diego
c242fdbfd9 Make diff apply cleanly to our tree again.
The GPL modification notices were dropped, same as for the other diffs we store.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29442 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-26 19:38:22 +00:00
diego
f9dcd2a235 Set both HAVE_BIGENDIAN and WORDS_BIGENDIAN.
Both definitions are used in different places.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29441 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-26 17:43:06 +00:00
cehoyos
06c122f001 Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29440 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-26 14:40:05 +00:00
mru
b3186ed071 Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29439 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-26 12:26:32 +00:00
cladisch
de3d544c43 Use the correct OSS format, where possible, for mplayer's packed 24-bit
format (AFMT_x24_xE would be 32-bit aligned).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29438 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-24 10:35:22 +00:00
mru
623a2c32b9 Remove unnecessary #include <unistd.h>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29437 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-23 15:23:03 +00:00
ptt
b1666a747d grammar and sentence fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29436 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-22 19:32:17 +00:00
ramiro
3490d7cbfa Remove unused variables.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29435 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-21 20:17:15 +00:00
cladisch
dc8bb7837a Use correct ALSA sample format for 24-bit samples packed in three bytes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29434 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-21 08:20:22 +00:00
diego
4593633f58 Bandaid compilation fix: Disable ivtv VIDIX driver until a proper test exists.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29433 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-19 21:24:45 +00:00
diego
bcd7541f4e The Makefile variable names for external libraries in FFmpeg changed.
Adapt their names in config.mak, closes Bugzilla #1513.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29432 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-19 21:09:00 +00:00
diego
b91c49e4b0 Move some variable declarations up to avoid the warnings:
vidix/ivtv_vid.c: In function 'ivtv_probe':
vidix/ivtv_vid.c:305: warning: ISO C90 forbids mixed declarations and code
vidix/ivtv_vid.c: In function 'ivtv_query_fourcc':
vidix/ivtv_vid.c:405: warning: ISO C90 forbids mixed declarations and code


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29431 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-19 20:59:32 +00:00
diego
944f7811c5 Remove redundant ivtv VIDIX driver variable declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29430 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-19 17:05:42 +00:00
diego
e696ba4ba0 The ivtv vo driver and the ivtv VIDIX driver are unrelated; do not disable the
VIDIX driver when the ivtv vo driver has been disabled.
patch by Martin Dauskardt, martin.dauskardt gmx de


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29429 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-19 17:03:28 +00:00
iive
968a51cfef Handle 24bit audio formats natively by ALSA.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29428 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-19 10:26:48 +00:00
iive
f6c25fd5c5 Fix 24bit audio playback.
The reordering channels code had reoccurring bug
where in switch(samplesize) block the
case 3 (3 bytes) doesn't end with break;
leading to execution of the next case 4 too.
This mangles the already processed data and
causes massive memory corruption.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29427 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-19 09:55:29 +00:00
diego
e2ae312a37 Change libamr support to libopencore-amr support.
libamr support was removed from FFmpeg.
based on a patch by Andrew Wason, rectalogic rectalogic com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29426 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-18 15:07:26 +00:00
eugeni
bad51c711f Make sure clip coordinates are inside the screen area.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29425 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-18 11:33:03 +00:00
eugeni
380fc1a763 Cosmetics: make some variables constant to signify their intended use and,
therefore, improve code readability.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29424 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-18 11:33:00 +00:00
eugeni
9dc9f1a77d Fix read after the end of allocated buffer.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29423 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-18 11:32:58 +00:00
jrash
b96296d6af sync with en/mplayer.1 r29413
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29422 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-18 04:31:55 +00:00
cehoyos
c266aa7c21 Restore alphabetic order for HAVE_ defines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29421 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-17 17:43:08 +00:00
diego
4ce671eb44 Remove CONFIG_LIBAMR_NB_FIXED #define, which no longer exists in FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29420 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-17 13:58:07 +00:00
cehoyos
7f6cfb7935 Assume HAVE_ATTRIBUTE_PACKED.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29419 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-17 09:55:23 +00:00
Gabrov
46974cdb45 synced with r39413
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29418 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-13 13:05:00 +00:00
cehoyos
5671f4329e Fix compilation after FFmpeg r19395.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29417 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-11 09:41:44 +00:00
reimar
e404a97a73 Disable libavcodec AAC encoder, there are too many systems where it doesn't compile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29416 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-09 13:28:56 +00:00
ramiro
1351150b15 Remove dependency from swscale_internal.h to lavu/internal.h, it is no longer
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
2009-07-09 02:27:39 +00:00
lorenm
edad3fb8c2 20% faster hqdn3d on x86_64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29414 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-07 02:49:26 +00:00
lorenm
88fc4806b9 new debanding filter
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29413 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-07 02:01:36 +00:00
diego
cd6a9ea77a The AltiVec code in libswscale no longer is under GPL.
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
2009-07-05 20:10:59 +00:00
diego
4200f091ff Add a section about handling external code to the policy.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29411 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-04 13:26:51 +00:00
compn
bc3743fd63 add truemotion rt binary codec for TR20 fourcc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29410 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-03 16:10:58 +00:00
mru
ea03c9b95a Use enum PixelFormat in sws_format_name() prototype
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29409 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-01 12:40:28 +00:00
reimar
542d2e56ce Print information about chapters with -identify.
Patch by Adrian Stutz [adrian sttz ch]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29408 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-28 13:19:26 +00:00
reimar
15db8a0c37 Make set_property chapter 0-based like all other chapter-related
property functions.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29407 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-28 13:17:42 +00:00
compn
c6672ee42c add binary codec for NTN1 and NTN2 fourcc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29406 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-27 12:53:58 +00:00
compn
7a264031e2 add 0xA106 twocc to aac decoders, fixes facebook sample
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29405 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-27 11:57:20 +00:00
cehoyos
ec7dc56148 Fix some blu-ray samples: HDMV == H264
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29404 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-26 21:32:25 +00:00
ben
71723dc2c6 Increase slave mode buffer so that one can load files with a deeper
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
2009-06-26 20:21:38 +00:00
reimar
95dcb65379 Use memcpy_pic2 instead of reimplementing it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29402 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-26 16:20:15 +00:00
reimar
32a7d61acc Close /dev/tty again on uninit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29401 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-26 15:41:34 +00:00
reimar
158aca92ae Fix indentation broken in last patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29400 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-26 15:39:35 +00:00
reimar
fc24a623a2 Get rid of completely pointless vt_doit variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29399 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-26 15:38:40 +00:00
reimar
83ed88fb96 10l, use fopen directly instead of open + fdopen
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29398 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-26 15:28:30 +00:00
reimar
b3e1578828 Use a single err_out in fb_preinit, also fixes a leak when vo_dbpp has an
unexpected value.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29397 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-26 15:22:15 +00:00