summaryrefslogtreecommitdiffstats
path: root/libaf/af_pan.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename directories, move files (step 1 of 2) (does not compile)wm42012-11-121-210/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tis drops the silly lib prefixes, and attempts to organize the tree in a more logical way. Make the top-level directory less cluttered as well. Renames the following directories: libaf -> audio/filter libao2 -> audio/out libvo -> video/out libmpdemux -> demux Split libmpcodecs: vf* -> video/filter vd*, dec_video.* -> video/decode mp_image*, img_format*, ... -> video/ ad*, dec_audio.* -> audio/decode libaf/format.* is moved to audio/ - this is similar to how mp_image.* is located in video/. Move most top-level .c/.h files to core. (talloc.c/.h is left on top- level, because it's external.) Park some of the more annoying files in compat/. Some of these are relicts from the time mplayer used ffmpeg internals. sub/ is not split, because it's too much of a mess (subtitle code is mixed with OSD display and rendering). Maybe the organization of core is not ideal: it mixes playback core (like mplayer.c) and utility helpers (like bstr.c/h). Should the need arise, the playback core will be moved somewhere else, while core contains all helper and common code.
* audio: untypedef af_instanceStefano Pigozzi2012-11-021-4/+4
|
* audio: untypedef af_infoStefano Pigozzi2012-11-021-1/+1
|
* audio: untypedef af_data and rename it to mp_audioStefano Pigozzi2012-11-021-11/+11
| | | | this is to have something specular to mp_image
* cleanup: remove NULL checks before free() all over the codecboesch2010-11-141-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32624 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove trailing whitespace from most filesUoti Urpala2009-07-071-7/+7
|
* Remove af_msg special-casing API in libaf.bircoph2009-03-281-2/+2
| | | | | | | Replace it by standard mp_msg message system. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29088 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace informal license notices by standard license headerdiego2009-01-051-11/+19
| | | | | | | and add standard license header where missing. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28264 b3059339-0415-0410-9bf9-f77b7e298cf2
* libaf: change filter input/output ratio calculationsuau2007-11-011-6/+3
| | | | | | | | | | Change the audio filters to use a double instead of rationals for the ratio of output to input size. The rationals could overflow when calculating the overall ratio of a filter chain and gave no real advantage compared to doubles. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24916 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add AF_CONTROL_PAN_BALANCE controlzuxy2007-06-171-0/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23571 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove incorrect comment: pan defaults to block all, instead of pass-thru.zuxy2007-06-131-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23553 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid zero output for pan filter; zero output now means same # of channelszuxy2007-06-131-2/+4
| | | | | | | as input. Make pan work for af_add(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23552 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make pan reentrant. Multiple pans in chain work fine.zuxy2007-06-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23551 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary unistd.h include.diego2007-03-201-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22766 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename open to af_open so as not to conflict with a previous header definition.diego2007-03-201-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22764 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix nonsense tests ("if (af->data->audio)" before "if (af->data)").uau2007-02-101-3/+2
| | | | | | | Probably doesn't matter in practice. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22193 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix af_pan commandline mess and (hopefully) improve description.reimar2005-09-151-4/+7
| | | | | | | | It should now output the right number of channels and it doesn't silently clamp values to the too restrictive [0, 1] range. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16494 b3059339-0415-0410-9bf9-f77b7e298cf2
* always cancel down fractions (frac_t) to avoid overflows and playbackreimar2005-01-081-0/+1
| | | | | | | | 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
* removing AFMT_ dependancyalex2004-12-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 b3059339-0415-0410-9bf9-f77b7e298cf2
* The full name of the GPL is GNU General Public License.diego2004-10-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13603 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l - replace 6 with AF_NCHhenry2004-03-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12009 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l memory leak + bug fixes in ms to sample time conversionanders2002-12-311-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8675 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changes includes:anders2002-12-281-0/+184
- Improved runtime control system - 3 New filter panning, compressor/limiter and a noise gate - The compressor/limiter and the noise gate are not yet finished - The panning filter does combined mixing and channel routing and can be used to down-mix from stereo to mono (for example) - Improvements to volume and channel - volume now has a very good soft clipping using sin() - channel can handle generic routing of audio data - Conversion of all filters to handle floating point data - Cleanup of message printing - Fix for the sig 11 bug reported by Denes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8608 b3059339-0415-0410-9bf9-f77b7e298cf2