summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/ad_acm.c20
-rw-r--r--libmpcodecs/ad_alaw.c2
-rw-r--r--libmpcodecs/ad_dk3adpcm.c10
-rw-r--r--libmpcodecs/ad_dmo.c2
-rw-r--r--libmpcodecs/ad_dshow.c2
-rw-r--r--libmpcodecs/ad_dvdpcm.c6
-rw-r--r--libmpcodecs/ad_faad.c24
-rw-r--r--libmpcodecs/ad_ffmpeg.c16
-rw-r--r--libmpcodecs/ad_hwac3.c28
-rw-r--r--libmpcodecs/ad_hwmpa.c4
-rw-r--r--libmpcodecs/ad_imaadpcm.c12
-rw-r--r--libmpcodecs/ad_liba52.c8
-rw-r--r--libmpcodecs/ad_libdv.c6
-rw-r--r--libmpcodecs/ad_libmad.c24
-rw-r--r--libmpcodecs/ad_libvorbis.c12
-rw-r--r--libmpcodecs/ad_mp3lib.c2
-rw-r--r--libmpcodecs/ad_mpc.c4
-rw-r--r--libmpcodecs/ad_msadpcm.c8
-rw-r--r--libmpcodecs/ad_msgsm.c2
-rw-r--r--libmpcodecs/ad_pcm.c2
-rw-r--r--libmpcodecs/ad_qtaudio.c24
-rw-r--r--libmpcodecs/ad_realaud.c36
-rw-r--r--libmpcodecs/ad_sample.c24
-rw-r--r--libmpcodecs/ad_twin.c26
-rw-r--r--libmpcodecs/ae.c8
-rw-r--r--libmpcodecs/ae_faac.c38
-rw-r--r--libmpcodecs/ae_lame.c20
-rw-r--r--libmpcodecs/ae_lavc.c24
-rw-r--r--libmpcodecs/ae_pcm.c8
-rw-r--r--libmpcodecs/ae_toolame.c50
-rw-r--r--libmpcodecs/ae_twolame.c52
-rw-r--r--libmpcodecs/mp_image.c4
-rw-r--r--libmpcodecs/native/rtjpegn.c264
-rw-r--r--libmpcodecs/native/rtjpegn.h4
-rw-r--r--libmpcodecs/native/xa_gsm.c26
-rw-r--r--libmpcodecs/native/xa_gsm_int.h4
-rw-r--r--libmpcodecs/pullup.c46
-rw-r--r--libmpcodecs/vd.c8
-rw-r--r--libmpcodecs/vd_dmo.c8
-rw-r--r--libmpcodecs/vd_dshow.c8
-rw-r--r--libmpcodecs/vd_hmblck.c2
-rw-r--r--libmpcodecs/vd_libdv.c6
-rw-r--r--libmpcodecs/vd_libmpeg2.c18
-rw-r--r--libmpcodecs/vd_lzo.c10
-rw-r--r--libmpcodecs/vd_mpegpes.c4
-rw-r--r--libmpcodecs/vd_mpng.c8
-rw-r--r--libmpcodecs/vd_mtga.c36
-rw-r--r--libmpcodecs/vd_null.c2
-rw-r--r--libmpcodecs/vd_qtvideo.c46
-rw-r--r--libmpcodecs/vd_raw.c6
-rw-r--r--libmpcodecs/vd_realvid.c10
-rw-r--r--libmpcodecs/vd_sgi.c82
-rw-r--r--libmpcodecs/vd_theora.c14
-rw-r--r--libmpcodecs/vd_vfw.c20
-rw-r--r--libmpcodecs/vd_xanim.c16
-rw-r--r--libmpcodecs/vd_xvid4.c34
-rw-r--r--libmpcodecs/vd_zrmjpeg.c28
-rw-r--r--libmpcodecs/ve_lavc.c56
-rw-r--r--libmpcodecs/ve_libdv.c10
-rw-r--r--libmpcodecs/ve_nuv.c12
-rw-r--r--libmpcodecs/ve_qtvideo.c6
-rw-r--r--libmpcodecs/ve_raw.c4
-rw-r--r--libmpcodecs/ve_vfw.c4
-rw-r--r--libmpcodecs/ve_x264.c12
-rw-r--r--libmpcodecs/ve_xvid4.c40
-rw-r--r--libmpcodecs/vf.c20
-rw-r--r--libmpcodecs/vf.h2
-rw-r--r--libmpcodecs/vf_1bpp.c4
-rw-r--r--libmpcodecs/vf_2xsai.c38
-rw-r--r--libmpcodecs/vf_ass.c20
-rw-r--r--libmpcodecs/vf_bmovl.c20
-rw-r--r--libmpcodecs/vf_boxblur.c32
-rw-r--r--libmpcodecs/vf_crop.c2
-rw-r--r--libmpcodecs/vf_cropdetect.c4
-rw-r--r--libmpcodecs/vf_decimate.c10
-rw-r--r--libmpcodecs/vf_delogo.c10
-rw-r--r--libmpcodecs/vf_detc.c12
-rw-r--r--libmpcodecs/vf_dvbscale.c2
-rw-r--r--libmpcodecs/vf_eq.c10
-rw-r--r--libmpcodecs/vf_eq2.c2
-rw-r--r--libmpcodecs/vf_expand.c14
-rw-r--r--libmpcodecs/vf_field.c4
-rw-r--r--libmpcodecs/vf_fil.c10
-rw-r--r--libmpcodecs/vf_filmdint.c2
-rw-r--r--libmpcodecs/vf_flip.c4
-rw-r--r--libmpcodecs/vf_format.c2
-rw-r--r--libmpcodecs/vf_fspp.c286
-rw-r--r--libmpcodecs/vf_halfpack.c6
-rw-r--r--libmpcodecs/vf_harddup.c4
-rw-r--r--libmpcodecs/vf_hqdn3d.c4
-rw-r--r--libmpcodecs/vf_hue.c8
-rw-r--r--libmpcodecs/vf_il.c10
-rw-r--r--libmpcodecs/vf_ilpack.c44
-rw-r--r--libmpcodecs/vf_ivtc.c38
-rw-r--r--libmpcodecs/vf_lavc.c14
-rw-r--r--libmpcodecs/vf_lavcdeint.c20
-rw-r--r--libmpcodecs/vf_mcdeint.c4
-rw-r--r--libmpcodecs/vf_mirror.c2
-rw-r--r--libmpcodecs/vf_noformat.c2
-rw-r--r--libmpcodecs/vf_noise.c14
-rw-r--r--libmpcodecs/vf_ow.c2
-rw-r--r--libmpcodecs/vf_palette.c4
-rw-r--r--libmpcodecs/vf_perspective.c46
-rw-r--r--libmpcodecs/vf_phase.c18
-rw-r--r--libmpcodecs/vf_pp.c18
-rw-r--r--libmpcodecs/vf_pp7.c38
-rw-r--r--libmpcodecs/vf_pullup.c14
-rw-r--r--libmpcodecs/vf_qp.c14
-rw-r--r--libmpcodecs/vf_rectangle.c4
-rw-r--r--libmpcodecs/vf_remove_logo.c8
-rw-r--r--libmpcodecs/vf_rgb2bgr.c2
-rw-r--r--libmpcodecs/vf_rgbtest.c8
-rw-r--r--libmpcodecs/vf_rotate.c4
-rw-r--r--libmpcodecs/vf_sab.c30
-rw-r--r--libmpcodecs/vf_scale.c64
-rw-r--r--libmpcodecs/vf_smartblur.c18
-rw-r--r--libmpcodecs/vf_softskip.c4
-rw-r--r--libmpcodecs/vf_spp.c80
-rw-r--r--libmpcodecs/vf_swapuv.c6
-rw-r--r--libmpcodecs/vf_telecine.c2
-rw-r--r--libmpcodecs/vf_tfields.c6
-rw-r--r--libmpcodecs/vf_tinterlace.c12
-rw-r--r--libmpcodecs/vf_unsharp.c24
-rw-r--r--libmpcodecs/vf_uspp.c86
-rw-r--r--libmpcodecs/vf_yuvcsp.c6
-rw-r--r--libmpcodecs/vf_yuy2.c8
-rw-r--r--libmpcodecs/vf_yvu9.c6
-rw-r--r--libmpcodecs/vqf.h4
128 files changed, 1289 insertions, 1289 deletions
diff --git a/libmpcodecs/ad_acm.c b/libmpcodecs/ad_acm.c
index f59ca8ddf1..33efe8f223 100644
--- a/libmpcodecs/ad_acm.c
+++ b/libmpcodecs/ad_acm.c
@@ -11,7 +11,7 @@
#include "ad_internal.h"
#include "osdep/timer.h"
-static ad_info_t info =
+static ad_info_t info =
{
"Win32/ACM decoders",
"acm",
@@ -46,12 +46,12 @@ static int preinit(sh_audio_t *sh_audio)
WAVEFORMATEX *in_fmt = sh_audio->wf;
DWORD srcsize = 0;
acm_context_t *priv;
-
+
priv = malloc(sizeof(acm_context_t));
if (!priv)
return 0;
sh_audio->context = priv;
-
+
mp_msg(MSGT_WIN32, MSGL_V, "======= Win32 (ACM) AUDIO Codec init =======\n");
// priv->handle = NULL;
@@ -71,7 +71,7 @@ static int preinit(sh_audio_t *sh_audio)
priv->o_wf->wBitsPerSample = 16;
// priv->o_wf->wBitsPerSample = inf_fmt->wBitsPerSample;
priv->o_wf->cbSize = 0;
-
+
if ( mp_msg_test(MSGT_DECAUDIO,MSGL_V) )
{
mp_msg(MSGT_DECAUDIO, MSGL_V, "Input format:\n");
@@ -94,7 +94,7 @@ static int preinit(sh_audio_t *sh_audio)
return 0;
}
mp_msg(MSGT_WIN32, MSGL_V, "Audio codec opened OK! ;-)\n");
-
+
acmStreamSize(priv->handle, in_fmt->nBlockAlign, &srcsize, ACM_STREAMSIZEF_SOURCE);
//if ( mp_msg_test(MSGT_DECAUDIO,MSGL_V) ) printf("Audio ACM output buffer min. size: %ld (reported by codec)\n", srcsize);
srcsize *= 2;
@@ -122,7 +122,7 @@ static int preinit(sh_audio_t *sh_audio)
mp_msg(MSGT_WIN32,MSGL_V,"Audio ACM input buffer min. size: %ld\n",srcsize);
sh_audio->audio_in_minsize=2*srcsize; // audio input min. size
-
+
sh_audio->i_bps=sh_audio->wf->nAvgBytesPerSec;
sh_audio->channels=priv->o_wf->nChannels;
sh_audio->samplerate=priv->o_wf->nSamplesPerSec;
@@ -136,10 +136,10 @@ static void uninit(sh_audio_t *sh)
{
HRESULT ret;
acm_context_t *priv = sh->context;
-
+
retry:
ret = acmStreamClose(priv->handle, 0);
-
+
if (ret)
switch(ret)
{
@@ -155,7 +155,7 @@ retry:
mp_msg(MSGT_WIN32, MSGL_WARN, "ACM_Decoder: unknown error occurred: %ld\n", ret);
return;
}
-
+
MSACM_UnregisterAllDrivers();
free(priv->o_wf);
@@ -207,7 +207,7 @@ static int decode_audio(sh_audio_t *sh_audio,unsigned char *buf,int minlen,int m
memset(&ash, 0, sizeof(ash));
ash.cbStruct=sizeof(ash);
ash.fdwStatus=0;
- ash.dwUser=0;
+ ash.dwUser=0;
ash.pbSrc=sh_audio->a_in_buffer;
ash.cbSrcLength=sh_audio->a_in_buffer_len;
ash.pbDst=buf;
diff --git a/libmpcodecs/ad_alaw.c b/libmpcodecs/ad_alaw.c
index 0085b12f85..ae5f7605f1 100644
--- a/libmpcodecs/ad_alaw.c
+++ b/libmpcodecs/ad_alaw.c
@@ -5,7 +5,7 @@
#include "config.h"
#include "ad_internal.h"
-static ad_info_t info =
+static ad_info_t info =
{
"aLaw/uLaw audio decoder",
"alaw",
diff --git a/libmpcodecs/ad_dk3adpcm.c b/libmpcodecs/ad_dk3adpcm.c
index 2e966a1ca5..8e7c4bc93c 100644
--- a/libmpcodecs/ad_dk3adpcm.c
+++ b/libmpcodecs/ad_dk3adpcm.c
@@ -2,7 +2,7 @@
DK3 ADPCM Decoder for MPlayer
by Mike Melanson
- "This format number was used by Duck Co