summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/csputils.c9
-rw-r--r--video/csputils.h9
-rw-r--r--video/decode/dec_video.c9
-rw-r--r--video/decode/dec_video.h9
-rw-r--r--video/decode/vd.h9
-rw-r--r--video/decode/vd_lavc.c9
-rw-r--r--video/filter/vf.c9
-rw-r--r--video/filter/vf.h9
-rw-r--r--video/filter/vf_crop.c9
-rw-r--r--video/filter/vf_delogo.c9
-rw-r--r--video/filter/vf_dlopen.c16
-rw-r--r--video/filter/vf_dsize.c9
-rw-r--r--video/filter/vf_eq.c13
-rw-r--r--video/filter/vf_expand.c9
-rw-r--r--video/filter/vf_flip.c9
-rw-r--r--video/filter/vf_format.c9
-rw-r--r--video/filter/vf_gradfun.c9
-rw-r--r--video/filter/vf_hqdn3d.c9
-rw-r--r--video/filter/vf_mirror.c14
-rw-r--r--video/filter/vf_noformat.c9
-rw-r--r--video/filter/vf_noise.c9
-rw-r--r--video/filter/vf_pullup.c9
-rw-r--r--video/filter/vf_rotate.c9
-rw-r--r--video/filter/vf_scale.c9
-rw-r--r--video/filter/vf_screenshot.c9
-rw-r--r--video/filter/vf_stereo3d.c9
-rw-r--r--video/filter/vf_sub.c9
-rw-r--r--video/filter/vf_unsharp.c9
-rw-r--r--video/filter/vf_yadif.c9
-rw-r--r--video/fmt-conversion.c9
-rw-r--r--video/fmt-conversion.h9
-rw-r--r--video/image_writer.c23
-rw-r--r--video/image_writer.h8
-rw-r--r--video/img_format.c9
-rw-r--r--video/img_format.h9
-rw-r--r--video/mp_image.c52
-rw-r--r--video/mp_image.h22
-rw-r--r--video/mp_image_pool.c3
-rw-r--r--video/out/aspect.c9
-rw-r--r--video/out/aspect.h9
-rw-r--r--video/out/bitmap_packer.c8
-rw-r--r--video/out/dither.c50
-rw-r--r--video/out/filter_kernels.c29
-rw-r--r--video/out/filter_kernels.h9
-rw-r--r--video/out/gl_cocoa.c9
-rw-r--r--video/out/gl_common.c9
-rw-r--r--video/out/gl_common.h15
-rw-r--r--video/out/gl_header_fixes.h9
-rw-r--r--video/out/gl_hwdec.c9
-rw-r--r--video/out/gl_osd.c8
-rw-r--r--video/out/gl_video.c84
-rw-r--r--video/out/gl_video.h1
-rw-r--r--video/out/gl_w32.c51
-rw-r--r--video/out/gl_x11.c10
-rw-r--r--video/out/vo.c21
-rw-r--r--video/out/vo.h10
-rw-r--r--video/out/vo_caca.c9
-rw-r--r--video/out/vo_direct3d.c9
-rw-r--r--video/out/vo_image.c8
-rw-r--r--video/out/vo_lavc.c8
-rw-r--r--video/out/vo_null.c9
-rw-r--r--video/out/vo_opengl.c22
-rw-r--r--video/out/vo_opengl_cb.c28
-rw-r--r--video/out/vo_sdl.c8
-rw-r--r--video/out/vo_vaapi.c9
-rw-r--r--video/out/vo_vdpau.c9
-rw-r--r--video/out/vo_x11.c11
-rw-r--r--video/out/vo_xv.c11
-rw-r--r--video/out/w32_common.c9
-rw-r--r--video/out/w32_common.h9
-rw-r--r--video/out/x11_common.c9
-rw-r--r--video/out/x11_common.h9
-rw-r--r--video/sws_utils.c9
73 files changed, 491 insertions, 466 deletions
diff --git a/video/csputils.c b/video/csputils.c
index 52deb6793f..a4d896f598 100644
--- a/video/csputils.c
+++ b/video/csputils.c
@@ -5,21 +5,20 @@
*
* mp_invert_yuv2rgb based on DarkPlaces engine, original code (GPL2 or later)
*
- * This file is part of MPlayer.
+ * This file is part of mpv.
*
- * MPlayer is free software; you can redistribute it and/or modify
+ * mpv is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * MPlayer is distributed in the hope that it will be useful,
+ * mpv is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
- * with MPlayer; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * with mpv. If not, see <http://www.gnu.org/licenses/>.
*
* You can alternatively redistribute this file and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/video/csputils.h b/video/csputils.h
index a0e4ef614f..85a97c263b 100644
--- a/video/csputils.h
+++ b/video/csputils.h
@@ -1,19 +1,18 @@
/*
- * This file is part of MPlayer.
+ * This file is part of mpv.
*
- * MPlayer is free software; you can redistribute it and/or modify
+ * mpv is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * MPlayer is distributed in the hope that it will be useful,
+ * mpv is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
- * with MPlayer; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * with mpv. If not, see <http://www.gnu.org/licenses/>.
*
* You can alternatively redistribute this file and/or
* modify it under the terms of the GNU Lesser General Public
diff --git a/video/decode/dec_video.c b/video/decode/dec_video.c
index 11a36bb7ef..afbda5142f 100644
--- a/video/decode/dec_video.c
+++ b/video/decode/dec_video.c
@@ -1,19 +1,18 @@
/*
- * This file is part of MPlayer.
+ * This file is part of mpv.
*
- * MPlayer is free software; you can redistribute it and/or modify
+ * mpv is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * MPlayer is distributed in the hope that it will be useful,
+ * mpv is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
- * with MPlayer; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
diff --git a/video/decode/dec_video.h b/video/decode/dec_video.h
index 5298a5616f..ce24d5a58e 100644
--- a/video/decode/dec_video.h
+++ b/video/decode/dec_video.h
@@ -1,19 +1,18 @@
/*
- * This file is part of MPlayer.
+ * This file is part of mpv.
*
- * MPlayer is free software; you can redistribute it and/or modify
+ * mpv is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * MPlayer is distributed in the hope that it will be useful,
+ * mpv is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
- * with MPlayer; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef MPLAYER_DEC_VIDEO_H
diff --git a/video/decode/vd.h b/video/decode/vd.h
index 28ace3cc04..6f5016ac37 100644
--- a/video/decode/vd.h
+++ b/video/decode/vd.h
@@ -1,19 +1,18 @@
/*
- * This file is part of MPlayer.
+ * This file is part of mpv.
*
- * MPlayer is free software; you can redistribute it and/or modify
+ * mpv is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * MPlayer is distributed in the hope that it will be useful,
+ * mpv is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
- * with MPlayer; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef MPLAYER_VD_H
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c
index b328d24102..1a0d504461 100644
--- a/video/decode/vd_lavc.c
+++ b/video/decode/vd_lavc.c
@@ -1,19 +1,18 @@
/*
- * This file is part of MPlayer.
+ * This file is part of mpv.
*
- * MPlayer is free software; you can redistribute it and/or modify
+ * mpv is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * MPlayer is distributed in the hope that it will be useful,
+ * mpv is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
- * with MPlayer; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdio.h>
diff --git a/video/filter/vf.c b/video/filter/vf.c
index a5573cd2a6..888e937fa5 100644
--- a/video/filter/vf.c
+++ b/video/filter/vf.c
@@ -1,19 +1,18 @@
/*
- * This file is part of MPlayer.
+ * This file is part of mpv.
*
- * MPlayer is free software; you can redistribute it and/or modify
+ * mpv is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * MPlayer is distributed in the hope that it will be useful,
+ * mpv is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
- * with MPlayer; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdio.h>
diff --git a/video/filter/vf.h b/video/filter/vf.h
index 23791e679a..f7ee9d011b 100644
--- a/video/filter/vf.h
+++ b/video/filter/vf.h
@@ -1,19 +1,18 @@
/*
- * This file is part of MPlayer.
+ * This file is part of mpv.
*
- * MPlayer is free software; you can redistribute it and/or modify
+ * mpv is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * MPlayer is distributed in the hope that it will be useful,
+ * mpv is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
- * with MPlayer; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef MPLAYER_VF_H
diff --git a/video/filter/vf_crop.c b/video/filter/vf_crop.c
index 23b44e0e5a..498b2a9037 100644
--- a/video/filter/vf_crop.c
+++ b/video/filter/vf_crop.c
@@ -1,19 +1,18 @@
/*
- * This file is part of MPlayer.
+ * This file is part of mpv.
*
- * MPlayer is free software; you can redistribute it and/or modify
+ * mpv is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * MPlayer is distributed in the hope that it will be useful,
+ * mpv is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
- * with MPlayer; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdio.h>
diff --git a/video/filter/vf_delogo.c b/video/filter/vf_delogo.c
index 8fdbd77fa2..899a972764 100644
--- a/video/filter/vf_delogo.c
+++ b/video/filter/vf_delogo.c
@@ -1,21 +1,20 @@
/*
* Copyright (C) 2002 Jindrich Makovicka <makovick@gmail.com>
*
- * This file is part of MPlayer.
+ * This file is part of mpv.
*
- * MPlayer is free software; you can redistribute it and/or modify
+ * mpv is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * MPlayer is distributed in the hope that it will be useful,
+ * mpv is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
- * with MPlayer; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdlib.h>
diff --git a/video/filter/vf_dlopen.c b/video/filter/vf_dlopen.c
index 00e6245a2e..3ba4a0dfec 100644
--- a/video/filter/vf_dlopen.c
+++ b/video/filter/vf_dlopen.c
@@ -1,18 +1,18 @@
/*
- * This file is part of mplayer.
+ * This file is part of mpv.
*
- * mplayer is free software; you can redistribute it and/or modify
+ * mpv is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * mplayer is distributed in the hope that it will be useful,
+ * mpv is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
- * with mplayer. If not, see <http://www.gnu.org/licenses/>.
+ * with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdio.h>
@@ -82,11 +82,11 @@ static void set_imgprop(struct vf_dlopen_picdata *out, const mp_image_t *mpi)
out->plane[i] = mpi->planes[i];
out->planestride[i] = mpi->stride[i];
out->planewidth[i] =
- i ? (/*mpi->chroma_width*/ mpi->w >> mpi->chroma_x_shift) : mpi->w;
+ i ? (/*mpi->chroma_width*/ mpi->w >> mpi->fmt.chroma_xs) : mpi->w;
out->planeheight[i] =
- i ? (/*mpi->chroma_height*/ mpi->h >> mpi->chroma_y_shift) : mpi->h;
- out->planexshift[i] = i ? mpi->chroma_x_shift : 0;
- out->planeyshift[i] = i ? mpi->chroma_y_shift : 0;
+ i ? (/*mpi->chroma_height*/ mpi->h >> mpi->fmt.chroma_ys) : mpi->h;
+ out->planexshift[i] = i ? mpi->fmt.chroma_xs : 0;
+ out->planeyshift[i] = i ? mpi->fmt.chroma_ys : 0;
}
}
diff --git a/video/filter/vf_dsize.c b/video/filter/vf_dsize.c
index 158b1825cc..476ec27204 100644
--- a/video/filter/vf_dsize.c
+++ b/video/filter/vf_dsize.c
@@ -1,19 +1,18 @@
/*
- * This file is part of MPlayer.
+ * This file is part of mpv.
*
- * MPlayer is free software; you can redistribute it and/or modify
+ * mpv is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * MPlayer is distributed in the hope that it will be useful,
+ * mpv is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
- * with MPlayer; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdio.h>
diff --git a/video/filter/vf_eq.c b/video/filter/vf_eq.c
index 3381f248f7..33b340e792 100644
--- a/video/filter/vf_eq.c
+++ b/video/filter/vf_eq.c
@@ -6,21 +6,20 @@
* Richard Felker (original MMX contrast/brightness code (vf_eq.c))
* Michael Niedermayer <michalni@gmx.at> (LUT16)
*
- * This file is part of MPlayer.
+ * This file is part of mpv.
*
- * MPlayer is free software; you can redistribute it and/or modify
+ * mpv is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * MPlayer is distributed in the hope that it will be useful,
+ * mpv is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
- * with MPlayer; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ * with mpv. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdio.h>
@@ -191,8 +190,8 @@ static struct mp_image *filter(struct vf_instance *vf, struct mp_image *src)
if ((eq2->buf_w[0] != src->w) || (eq2->buf_h[0] != src->h)) {
eq2->buf_w[0] = src->w;
eq2->buf_h[0] = src->h;
- eq2->buf_w[1] = eq2->buf_w[2] = src->w >> src->chroma_x_shift;
- eq2->buf_h[1] = eq2->buf_h[2] = src->h >> src->chroma_y_shift;
+ eq2->buf_w[1] = eq2->buf_w[2] = src->w >> src->fmt.chroma_xs;
+ eq2->buf_h[1] = eq2->buf_h[2] = src->h >> src->fmt.chroma_ys;
img_n = eq2->buf_w[0]*eq2->buf_h[0];
if(src->num_planes>1){
img_c = eq2->buf_w[1]*eq2->buf_h[1];
diff --git a/video/filter/vf_expand.c b/video/filter/vf_expand.c
index 80503b4176..44a8ec5767 100644
--- a/video/filter/vf_expand.c
+++ b/video/filter/vf_expand.c
@@ -1,19 +1,18 @@
/*
- * This file is part of MPlayer.
+ * This file is part of mpv.
*
- * MPlayer is free software; you can redistribute it and/or modify
+ * mpv is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
- * MPlayer is distributed in the hope that it will be useful,
+ * m