mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-04-24 08:36:01 +08:00
Merge commit '58400ac133bcfb6bf8196b4e5208bc178307739b'
* commit '58400ac133bcfb6bf8196b4e5208bc178307739b': lavfi: name anonymous structs Conflicts: libavfilter/buffersink.c libavfilter/f_select.c libavfilter/src_movie.c libavfilter/vf_drawbox.c libavfilter/vf_drawtext.c libavfilter/vf_overlay.c libavfilter/vf_showinfo.c libavfilter/vf_unsharp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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;
|
||||
@@ -302,7 +302,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);
|
||||
|
||||
Reference in New Issue
Block a user