summaryrefslogtreecommitdiff
path: root/libavfilter/vf_libopencv.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-04-11 11:54:15 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-04-19 16:20:57 +0200
commit58400ac133bcfb6bf8196b4e5208bc178307739b (patch)
treee2aa839ab2febe9562abf3857afb470bb413b5a3 /libavfilter/vf_libopencv.c
parent4936ef6492f640e1606c6507f2c4e495164d3974 (diff)
lavfi: name anonymous structs
Diffstat (limited to 'libavfilter/vf_libopencv.c')
-rw-r--r--libavfilter/vf_libopencv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/vf_libopencv.c b/libavfilter/vf_libopencv.c
index fa913f71a7..bd3d59bc6b 100644
--- a/libavfilter/vf_libopencv.c
+++ b/libavfilter/vf_libopencv.c
@@ -68,7 +68,7 @@ static int query_formats(AVFilterContext *ctx)
return 0;
}
-typedef struct {
+typedef struct OCVContext {
const AVClass *class;
char *name;
char *params;
@@ -78,7 +78,7 @@ typedef struct {
void *priv;
} OCVContext;
-typedef struct {
+typedef struct SmoothContext {
int type;
int param1, param2;
double param3, param4;
@@ -245,7 +245,7 @@ static int parse_iplconvkernel(IplConvKernel **kernel, char *buf, void *log_ctx)
return 0;
}
-typedef struct {
+typedef struct DilateContext {
int nb_iterations;
IplConvKernel *kernel;
} DilateContext;
@@ -301,7 +301,7 @@ static void erode_end_frame_filter(AVFilterContext *ctx, IplImage *inimg, IplIma
cvErode(inimg, outimg, dilate->kernel, dilate->nb_iterations);
}
-typedef struct {
+typedef struct OCVFilterEntry {
const char *name;
size_t priv_size;
int (*init)(AVFilterContext *ctx, const char *args);