summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2014-05-14 13:49:16 -0700
committerKevin Mitchell <kevmitch@gmail.com>2014-05-15 10:32:16 -0700
commit1eee4d779954974cd413be5e46f1ed877836ef31 (patch)
treee77d80486a61ce524fc90fd2dda7557bddd2c38d /TOOLS
parent2b1b8d6c95952f03049a9f643058c114899680bc (diff)
downloadmpv-1eee4d779954974cd413be5e46f1ed877836ef31.tar.bz2
mpv-1eee4d779954974cd413be5e46f1ed877836ef31.tar.xz
TOOLS/vf_dlopen: use new pixelformats, fix usage for newstyle args
Diffstat (limited to 'TOOLS')
-rw-r--r--TOOLS/vf_dlopen/framestep.c4
-rw-r--r--TOOLS/vf_dlopen/ildetect.c2
-rw-r--r--TOOLS/vf_dlopen/rectangle.c4
-rw-r--r--TOOLS/vf_dlopen/showqscale.c4
-rw-r--r--TOOLS/vf_dlopen/telecine.c2
-rw-r--r--TOOLS/vf_dlopen/tile.c10
6 files changed, 13 insertions, 13 deletions
diff --git a/TOOLS/vf_dlopen/framestep.c b/TOOLS/vf_dlopen/framestep.c
index 531d11b018..4e25f295ca 100644
--- a/TOOLS/vf_dlopen/framestep.c
+++ b/TOOLS/vf_dlopen/framestep.c
@@ -32,11 +32,11 @@
/*
* frame stepping filter
*
- * usage: -vf dlopen=./framestep.so:5
+ * usage: --vf=dlopen=/path/to/framestep.so:5
*
* outputs every 5th frame
*
- * usage: -vf dlopen=./framestep.so:5:3
+ * usage: --vf=dlopen=/path/to/framestep.so:5:3
*
* outputs every 5th frame, starting with frame index 3 (default: 0)
*/
diff --git a/TOOLS/vf_dlopen/ildetect.c b/TOOLS/vf_dlopen/ildetect.c
index 1ac1c08946..ef4e45f013 100644
--- a/TOOLS/vf_dlopen/ildetect.c
+++ b/TOOLS/vf_dlopen/ildetect.c
@@ -284,7 +284,7 @@ int vf_dlopen_getcontext(struct vf_dlopen_context *ctx, int argc, const char **a
il->tc_decision_threshold = A(10, 0.2);
static struct vf_dlopen_formatpair map[] = {
- { "y8", "y8" },
+ { "gray", "gray" },
{ NULL, NULL }
};
ctx->format_mapping = map;
diff --git a/TOOLS/vf_dlopen/rectangle.c b/TOOLS/vf_dlopen/rectangle.c
index 1492ec221e..0aaa360598 100644
--- a/TOOLS/vf_dlopen/rectangle.c
+++ b/TOOLS/vf_dlopen/rectangle.c
@@ -35,7 +35,7 @@
/*
* rectangle
*
- * usage: -vf dlopen=./rectangle.so
+ * usage: --vf=dlopen=/path/to/rectangle.so
*
* provides an editable rectangle
* NOTE: unix only, and requires xterm to be installed. Don't ask.
@@ -345,7 +345,7 @@ int vf_dlopen_getcontext(struct vf_dlopen_context *ctx, int argc, const char **a
(void) argc;
(void) argv;
static struct vf_dlopen_formatpair map[] = {
- { "yv12", "yv12" },
+ { "yuv420p", "yuv420p" },
{ NULL, NULL }
};
privdata *priv = malloc(sizeof(privdata));
diff --git a/TOOLS/vf_dlopen/showqscale.c b/TOOLS/vf_dlopen/showqscale.c
index df1f65d51e..071971eeec 100644
--- a/TOOLS/vf_dlopen/showqscale.c
+++ b/TOOLS/vf_dlopen/showqscale.c
@@ -29,7 +29,7 @@
/*
* qscale visualizer
*
- * usage: -vf dlopen=./showqscale.so
+ * usage: --vf=dlopen=/path/to/showqscale.so
*
* uses reddish colors for high QPs, and greenish colors for low QPs
*/
@@ -111,7 +111,7 @@ int vf_dlopen_getcontext(struct vf_dlopen_context *ctx, int argc, const char **a
(void) argc;
(void) argv;
static struct vf_dlopen_formatpair map[] = {
- { "yv12", "yv12" },
+ { "yuv420p", "yuv420p" },
{ NULL, NULL }
};
ctx->format_mapping = map;
diff --git a/TOOLS/vf_dlopen/telecine.c b/TOOLS/vf_dlopen/telecine.c
index 5a6a2115bc..b2ad303119 100644
--- a/TOOLS/vf_dlopen/telecine.c
+++ b/TOOLS/vf_dlopen/telecine.c
@@ -32,7 +32,7 @@
/*
* telecine filter
*
- * usage: -vf dlopen=./telecine.so:t:23
+ * usage: --vf=dlopen=/path/to/telecine.so:t:23
*
* Parameter: first parameter is "t" for top field first, "b" for bottom field first
* then digits (0-9) for how many fields a frame is to be displayed
diff --git a/TOOLS/vf_dlopen/tile.c b/TOOLS/vf_dlopen/tile.c
index ad9f72ebdc..57355bbc4c 100644
--- a/TOOLS/vf_dlopen/tile.c
+++ b/TOOLS/vf_dlopen/tile.c
@@ -30,17 +30,17 @@
/*
* tile filter
*
- * usage: -vf dlopen=./tile.so:4:3
+ * usage: --vf=dlopen=/path/to/tile.so:4:3
*
- * only supports rgb24 and yv12 for now
+ * only supports rgb24 and yuv420p for now
* in theory can support any format where rows are a multiple of bytes, and the
* multiple is known
*/
#define ALLFORMATS \
- /* format bytes xmul ymul */ \
- FORMAT("rgb24", 3, 1, 1) \
- FORMAT("yv12", 1, 2, 2)
+ /* format bytes xmul ymul */ \
+ FORMAT("rgb24" , 3, 1, 1) \
+ FORMAT("yuv420p", 1, 2, 2)
typedef struct {
int rows, cols;