alex
e54b5d16df
code reduction and less error prone, use the same table
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16260 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-18 11:37:16 +00:00
ivo
812ee3753e
Removed in-filter int to float conversion. af_ladspa now demands floats as
...
that's what LADSPA filters use internally too. conversion from int, if needed,
is done by af_format as it's supposed to.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16196 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-10 23:27:39 +00:00
reimar
19760a4dca
libavutil compile fix (working also with old libavcodec)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16169 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-01 22:09:17 +00:00
gpoirier
e5b52ff472
10l to beastd due to new libavutil introduction
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16168 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-01 21:16:43 +00:00
alex
221a599f2a
added missing license header
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16116 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-27 11:09:42 +00:00
reimar
2066463ec5
Avoid hang with -af-adv force=3
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16073 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-23 16:58:25 +00:00
reimar
d22ae4a4d9
make -srate work again, unify audio filter init and preinit.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15812 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-24 10:50:53 +00:00
diego
8475733dc2
Fix mp_msg vs af_msg usage as pointed out by Ivo.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15792 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-21 01:00:35 +00:00
ivo
6a166ddf6a
10l for me. two usages of mp_msg instead of af_msg slipped through
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15791 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-20 23:50:42 +00:00
gpoirier
9dd8f241ac
adds some more -identify output, patch by kiriuja < mplayer DASH patches PAM en DASH directo POUM net>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15790 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-20 23:07:35 +00:00
ranma
2098665b8d
Be more patch-friendly
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15773 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-19 22:52:55 +00:00
henry
c9e396b898
- correct the argument in configure check for lrintf() to avoid a warning
...
- add -D_GNU_SOURCE where lrintf() is used, for the cases when -std=gnu99
isn't available
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15597 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-30 08:57:30 +00:00
alex
f515356aa3
sanity checks
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15539 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-21 15:05:31 +00:00
reimar
313cc2c955
actually output 2 channel audio (instead of 6 channel with 4 empty channels)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15385 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-09 19:46:49 +00:00
reimar
e331e6b94f
Prevent segfault when filter chain is empty (e.g. because all
...
filters returned AF_DETACH). Fixes bugzilla bug #293 .
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15313 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-01 09:23:31 +00:00
reimar
b7f3811b29
Error out when invalid format is specified
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15312 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-01 09:02:25 +00:00
henry
4ad21b2d7e
change list traversal so the loop begins at the first filter after removing
...
one, instead at the second
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15192 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-16 16:48:15 +00:00
henry
1fd3c733d8
More HRTF enhancements
...
- a passive locking mechanism to enable the matrix to switch between active
and passive mode, which enhances the stereo image.
- a center front cancellation algorithm that damps the cross-talk if the
sound is coming predominantly from center (e.g. if there is dialogue).
These two new features should enhance the quality of surround downmix
noticeably.
Also a correction to the active gain control is included. The previous
implementation of Lt + Rt/Lt - Rt AGC should be fine in most cases, but the
calculation was inconsistent (gain unitarity is not guaranteed to be
preserved).
Signed off by Yue Shi Lai <ylai@users.sourceforge.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15125 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-11 14:01:29 +00:00
henry
108b3bc6a5
HRTF filter updates:
...
- Bass compensation gain corrected (which was set too low), now the
sound should be even more transparent
- A (unified) dual axes active matrix decoder with adaptive steering
- capable of decoding matrix surround encoded inputs, with stereo rear
- capable of decoding matrix encoded rear center
- Purely stereo mixing without unneccessary rear filter calculations
- The decoding structure message is moved, because at the old place it
gave incorrect messages.
Patch by Yue Shi Lai <ylai@users.sourceforge.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15083 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-10 08:47:16 +00:00
rathann
d8cd8fd5e9
obvious typo
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14884 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 22:52:02 +00:00
ivo
4c3d533c7d
10l fix. misplaced ;
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14849 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-27 22:36:04 +00:00
alex
6dbf6b4df1
finally remove the refences to bps outside libaf. also simplification of some messages and removed redundants
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14819 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-25 11:11:07 +00:00
alex
104f9e8872
better infoline
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14817 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-25 10:43:31 +00:00
rfelker
e6819bc591
100l for me, lrintf is better. now fixed so it should be prototyped, and should work even if there is no prototype
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14792 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-24 16:48:18 +00:00
rfelker
66b1d8c94b
finally the dreaded white-noise-with-floats bug is fixed!!!!
...
the problem is that lrintf was not prototyped on some systems, but
it's easier and faster just not to use it at all. looks like the cola
goes to our friends the glibc developers for forgetting to put lrintf
in math.h in some versions. :))) i'm sure there are other broken libcs
too though.
also fixed a minor bug in the int->float conversion where the range
for float samples was exceeded...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14759 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-22 02:12:58 +00:00
alex
5aa4b2505f
filter for adding a center channel, adding a high pass filter would be nice
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14751 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-21 17:14:00 +00:00
alex
f139d7ead2
filter for adding a center channel, adding a high pass filter would be nice
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14750 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-21 17:08:45 +00:00
alex
f3cfe83983
move the format related stuff to format.c
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14749 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-21 16:41:15 +00:00
reimar
80ddeccff9
confusing mixture of typecasts and casted variable, removed typecasts
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14718 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-17 15:35:44 +00:00
henry
e1b32c8f54
removed forgotten old license clause
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14657 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-05 16:57:45 +00:00
alex
bf4b07cf12
now supports float based operation aswell
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14625 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-31 11:46:01 +00:00
alex
4ec530c8a0
using af_softclip
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14624 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-31 11:43:36 +00:00
alex
f63682aedc
af_softclip
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14623 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-31 11:43:08 +00:00
alex
c4991c3549
af_softclip
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14622 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-31 11:34:49 +00:00
gpoirier
00d05d6a2a
Make this file compile with gcc-4.0.0:
...
It's syntacticly incorrect to use the "&" operand to take the address of a
variable that is declared as "register" as a register has no address.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14570 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-22 10:47:58 +00:00
reimar
fa8c50d4cf
af_format.h needs config.h to be included first.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14480 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-12 22:00:02 +00:00
reimar
8ee78e87ce
always cancel down fractions (frac_t) to avoid overflows and playback
...
problems (e.g. when using resample and equalizer filters together, see
http://mplayerhq.hu/pipermail/mplayer-users/2004-December/050058.html )
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14434 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-08 21:34:06 +00:00
reimar
ba2f41e733
af_fmt2str fixes (remove trailing space, call with size of buffer, not size-1)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14400 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-06 14:32:08 +00:00
henry
996a7d092d
license issues clarified
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14397 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-06 13:14:30 +00:00
alex
43577ee800
100l, mp_msg instead af_msg
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14391 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-06 11:40:34 +00:00
alex
c7ef86b09a
af_bits2fmt and af_str2fmt_short, also removed the extra FORMAT_BPS control in format.c
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14336 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-03 18:59:16 +00:00
reimar
8f3e5a996c
Use lavcresample only when libavcodec is compiled in.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14327 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-03 14:05:38 +00:00
reimar
6119b03712
Make af_control_any_rev return the matching filter
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14293 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-01 18:46:56 +00:00
michael
f3f2e49ee2
faster packed<->planar conversation
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14284 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-31 13:14:01 +00:00
alex
77456b04d9
less namespace pollution #2 (prefixed globals in filter.c with af_filter_)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14276 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-29 19:50:44 +00:00
alex
47e2a4ad80
less namespace pollution
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14275 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-29 19:41:21 +00:00
alex
3786faae53
accelerated conversions
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14273 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-29 19:05:29 +00:00
alex
e8739c6d92
af_fmt2str_short
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14264 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-28 18:13:09 +00:00
rtognimp
c3d77725cc
100l use right mask type when checking for input format
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14262 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-28 02:00:23 +00:00
ivo
afb5908fa7
Make af_ladspa use new AF_FORMAT define that was introduced by Alex's
...
mega-patch.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14259 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-28 01:47:40 +00:00