Commit cd43ca04 authored by Anton Khirnov's avatar Anton Khirnov

lavfi: do not export the filters from shared objects

parent feeafb4a
......@@ -139,7 +139,7 @@ static const AVFilterPad avfilter_af_aformat_outputs[] = {
{ NULL }
};
AVFilter avfilter_af_aformat = {
AVFilter ff_af_aformat = {
.name = "aformat",
.description = NULL_IF_CONFIG_SMALL("Convert the input audio to one of the specified formats."),
.init = init,
......
......@@ -551,7 +551,7 @@ static const AVFilterPad avfilter_af_amix_outputs[] = {
{ NULL }
};
AVFilter avfilter_af_amix = {
AVFilter ff_af_amix = {
.name = "amix",
.description = NULL_IF_CONFIG_SMALL("Audio mixing."),
.priv_size = sizeof(MixContext),
......
......@@ -43,7 +43,7 @@ static const AVFilterPad avfilter_af_anull_outputs[] = {
{ NULL }
};
AVFilter avfilter_af_anull = {
AVFilter ff_af_anull = {
.name = "anull",
.description = NULL_IF_CONFIG_SMALL("Pass the source unchanged to the output."),
......
......@@ -127,7 +127,7 @@ static const AVFilterPad outputs[] = {
{ NULL },
};
AVFilter avfilter_af_ashowinfo = {
AVFilter ff_af_ashowinfo = {
.name = "ashowinfo",
.description = NULL_IF_CONFIG_SMALL("Show textual information for each audio frame."),
.priv_size = sizeof(AShowInfoContext),
......
......@@ -313,7 +313,7 @@ static const AVFilterPad avfilter_af_asyncts_outputs[] = {
{ NULL }
};
AVFilter avfilter_af_asyncts = {
AVFilter ff_af_asyncts = {
.name = "asyncts",
.description = NULL_IF_CONFIG_SMALL("Sync audio data to timestamps"),
......
......@@ -400,7 +400,7 @@ static const AVFilterPad avfilter_af_channelmap_outputs[] = {
{ NULL }
};
AVFilter avfilter_af_channelmap = {
AVFilter ff_af_channelmap = {
.name = "channelmap",
.description = NULL_IF_CONFIG_SMALL("Remap audio channels."),
.init = channelmap_init,
......
......@@ -139,7 +139,7 @@ static const AVFilterPad avfilter_af_channelsplit_inputs[] = {
{ NULL }
};
AVFilter avfilter_af_channelsplit = {
AVFilter ff_af_channelsplit = {
.name = "channelsplit",
.description = NULL_IF_CONFIG_SMALL("Split audio into per-channel streams"),
.priv_size = sizeof(ChannelSplitContext),
......
......@@ -509,7 +509,7 @@ static const AVFilterPad avfilter_af_join_outputs[] = {
{ NULL }
};
AVFilter avfilter_af_join = {
AVFilter ff_af_join = {
.name = "join",
.description = NULL_IF_CONFIG_SMALL("Join multiple audio streams into "
"multi-channel output"),
......
......@@ -315,7 +315,7 @@ static const AVFilterPad avfilter_af_resample_outputs[] = {
{ NULL }
};
AVFilter avfilter_af_resample = {
AVFilter ff_af_resample = {
.name = "resample",
.description = NULL_IF_CONFIG_SMALL("Audio resampling and conversion."),
.priv_size = sizeof(ResampleContext),
......
......@@ -296,7 +296,7 @@ static const AVFilterPad avfilter_af_volume_outputs[] = {
{ NULL }
};
AVFilter avfilter_af_volume = {
AVFilter ff_af_volume = {
.name = "volume",
.description = NULL_IF_CONFIG_SMALL("Change input volume."),
.query_formats = query_formats,
......
......@@ -25,15 +25,15 @@
#define REGISTER_FILTER(X, x, y) \
{ \
extern AVFilter avfilter_##y##_##x; \
extern AVFilter ff_##y##_##x; \
if (CONFIG_##X##_FILTER) \
avfilter_register(&avfilter_##y##_##x); \
avfilter_register(&ff_##y##_##x); \
}
#define REGISTER_FILTER_UNCONDITIONAL(x) \
{ \
extern AVFilter avfilter_##x; \
avfilter_register(&avfilter_##x); \
extern AVFilter ff_##x; \
avfilter_register(&ff_##x); \
}
void avfilter_register_all(void)
......
......@@ -35,7 +35,7 @@ static const AVFilterPad avfilter_asink_anullsink_inputs[] = {
{ NULL },
};
AVFilter avfilter_asink_anullsink = {
AVFilter ff_asink_anullsink = {
.name = "anullsink",
.description = NULL_IF_CONFIG_SMALL("Do absolutely nothing with the input audio."),
......
......@@ -43,7 +43,7 @@ static const AVFilterPad avfilter_asrc_anullsrc_outputs[] = {
{ NULL }
};
AVFilter avfilter_asrc_anullsrc = {
AVFilter ff_asrc_anullsrc = {
.name = "anullsrc",
.description = NULL_IF_CONFIG_SMALL("Null audio source, never return audio frames."),
......
......@@ -221,7 +221,7 @@ static const AVFilterPad avfilter_vsink_buffer_inputs[] = {
{ NULL }
};
AVFilter avfilter_vsink_buffer = {
AVFilter ff_vsink_buffer = {
.name = "buffersink",
.description = NULL_IF_CONFIG_SMALL("Buffer video frames, and make them available to the end of the filter graph."),
.priv_size = sizeof(BufferSinkContext),
......@@ -241,7 +241,7 @@ static const AVFilterPad avfilter_asink_abuffer_inputs[] = {
{ NULL }
};
AVFilter avfilter_asink_abuffer = {
AVFilter ff_asink_abuffer = {
.name = "abuffersink",
.description = NULL_IF_CONFIG_SMALL("Buffer audio frames, and make them available to the end of the filter graph."),
.priv_size = sizeof(BufferSinkContext),
......
......@@ -441,7 +441,7 @@ static const AVFilterPad avfilter_vsrc_buffer_outputs[] = {
{ NULL }
};
AVFilter avfilter_vsrc_buffer = {
AVFilter ff_vsrc_buffer = {
.name = "buffer",
.description = NULL_IF_CONFIG_SMALL("Buffer video frames, and make them accessible to the filterchain."),
.priv_size = sizeof(BufferSourceContext),
......@@ -466,7 +466,7 @@ static const AVFilterPad avfilter_asrc_abuffer_outputs[] = {
{ NULL }
};
AVFilter avfilter_asrc_abuffer = {
AVFilter ff_asrc_abuffer = {
.name = "abuffer",
.description = NULL_IF_CONFIG_SMALL("Buffer audio frames, and make them accessible to the filterchain."),
.priv_size = sizeof(BufferSourceContext),
......
......@@ -267,7 +267,7 @@ static const AVFilterPad avfilter_vf_fifo_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_fifo = {
AVFilter ff_vf_fifo = {
.name = "fifo",
.description = NULL_IF_CONFIG_SMALL("Buffer input images and send them when they are requested."),
......@@ -299,7 +299,7 @@ static const AVFilterPad avfilter_af_afifo_outputs[] = {
{ NULL }
};
AVFilter avfilter_af_afifo = {
AVFilter ff_af_afifo = {
.name = "afifo",
.description = NULL_IF_CONFIG_SMALL("Buffer input frames and send them when they are requested."),
......
......@@ -203,7 +203,7 @@ static const AVFilterPad avfilter_vf_setpts_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_setpts = {
AVFilter ff_vf_setpts = {
.name = "setpts",
.description = NULL_IF_CONFIG_SMALL("Set PTS for the output video frame."),
.init = init,
......@@ -244,7 +244,7 @@ static const AVFilterPad asetpts_outputs[] = {
{ NULL }
};
AVFilter avfilter_af_asetpts = {
AVFilter ff_af_asetpts = {
.name = "asetpts",
.description = NULL_IF_CONFIG_SMALL("Set PTS for the output audio frame."),
.init = init,
......
......@@ -118,7 +118,7 @@ static const AVFilterPad avfilter_vf_split_inputs[] = {
{ NULL }
};
AVFilter avfilter_vf_split = {
AVFilter ff_vf_split = {
.name = "split",
.description = NULL_IF_CONFIG_SMALL("Pass on the input to N video outputs."),
......@@ -144,7 +144,7 @@ static const AVFilterPad avfilter_af_asplit_inputs[] = {
{ NULL }
};
AVFilter avfilter_af_asplit = {
AVFilter ff_af_asplit = {
.name = "asplit",
.description = NULL_IF_CONFIG_SMALL("Pass on the audio input to N audio outputs."),
......
......@@ -229,7 +229,7 @@ static const AVFilterPad trim_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_trim = {
AVFilter ff_vf_trim = {
.name = "trim",
.description = NULL_IF_CONFIG_SMALL("Pick one continuous section from the input, drop the rest."),
......@@ -392,7 +392,7 @@ static const AVFilterPad atrim_outputs[] = {
{ NULL }
};
AVFilter avfilter_af_atrim = {
AVFilter ff_af_atrim = {
.name = "atrim",
.description = NULL_IF_CONFIG_SMALL("Pick one continuous section from the input, drop the rest."),
......
......@@ -128,7 +128,7 @@ static const AVFilterPad avfilter_vf_setdar_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_setdar = {
AVFilter ff_vf_setdar = {
.name = "setdar",
.description = NULL_IF_CONFIG_SMALL("Set the frame display aspect ratio."),
......@@ -191,7 +191,7 @@ static const AVFilterPad avfilter_vf_setsar_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_setsar = {
AVFilter ff_vf_setsar = {
.name = "setsar",
.description = NULL_IF_CONFIG_SMALL("Set the pixel sample aspect ratio."),
......
......@@ -118,7 +118,7 @@ static const AVFilterPad avfilter_vf_blackframe_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_blackframe = {
AVFilter ff_vf_blackframe = {
.name = "blackframe",
.description = NULL_IF_CONFIG_SMALL("Detect frames that are (almost) black."),
......
......@@ -373,7 +373,7 @@ static const AVFilterPad avfilter_vf_boxblur_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_boxblur = {
AVFilter ff_vf_boxblur = {
.name = "boxblur",
.description = NULL_IF_CONFIG_SMALL("Blur the input."),
.priv_size = sizeof(BoxBlurContext),
......
......@@ -62,7 +62,7 @@ static const AVFilterPad avfilter_vf_copy_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_copy = {
AVFilter ff_vf_copy = {
.name = "copy",
.description = NULL_IF_CONFIG_SMALL("Copy the input video unchanged to the output."),
......
......@@ -331,7 +331,7 @@ static const AVFilterPad avfilter_vf_crop_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_crop = {
AVFilter ff_vf_crop = {
.name = "crop",
.description = NULL_IF_CONFIG_SMALL("Crop the input video to width:height:x:y."),
......
......@@ -228,7 +228,7 @@ static const AVFilterPad avfilter_vf_cropdetect_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_cropdetect = {
AVFilter ff_vf_cropdetect = {
.name = "cropdetect",
.description = NULL_IF_CONFIG_SMALL("Auto-detect crop size."),
......
......@@ -264,7 +264,7 @@ static const AVFilterPad avfilter_vf_delogo_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_delogo = {
AVFilter ff_vf_delogo = {
.name = "delogo",
.description = NULL_IF_CONFIG_SMALL("Remove logo from input video."),
.priv_size = sizeof(DelogoContext),
......
......@@ -158,7 +158,7 @@ static const AVFilterPad avfilter_vf_drawbox_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_drawbox = {
AVFilter ff_vf_drawbox = {
.name = "drawbox",
.description = NULL_IF_CONFIG_SMALL("Draw a colored box on the input video."),
.priv_size = sizeof(DrawBoxContext),
......
......@@ -867,7 +867,7 @@ static const AVFilterPad avfilter_vf_drawtext_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_drawtext = {
AVFilter ff_vf_drawtext = {
.name = "drawtext",
.description = NULL_IF_CONFIG_SMALL("Draw text on top of video frames using libfreetype library."),
.priv_size = sizeof(DrawTextContext),
......
......@@ -208,7 +208,7 @@ static const AVFilterPad avfilter_vf_fade_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_fade = {
AVFilter ff_vf_fade = {
.name = "fade",
.description = NULL_IF_CONFIG_SMALL("Fade in/out input video"),
.init = init,
......
......@@ -189,7 +189,7 @@ static const AVFilterPad avfilter_vf_fieldorder_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_fieldorder = {
AVFilter ff_vf_fieldorder = {
.name = "fieldorder",
.description = NULL_IF_CONFIG_SMALL("Set the field order."),
.priv_size = sizeof(FieldOrderContext),
......
......@@ -135,7 +135,7 @@ static const AVFilterPad avfilter_vf_format_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_format = {
AVFilter ff_vf_format = {
.name = "format",
.description = NULL_IF_CONFIG_SMALL("Convert the input video to one of the specified pixel formats."),
......@@ -182,7 +182,7 @@ static const AVFilterPad avfilter_vf_noformat_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_noformat = {
AVFilter ff_vf_noformat = {
.name = "noformat",
.description = NULL_IF_CONFIG_SMALL("Force libavfilter not to use any of the specified pixel formats for the input to the next filter."),
......
......@@ -289,7 +289,7 @@ static const AVFilterPad avfilter_vf_fps_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_fps = {
AVFilter ff_vf_fps = {
.name = "fps",
.description = NULL_IF_CONFIG_SMALL("Force constant framerate"),
......
......@@ -405,7 +405,7 @@ static const AVFilterPad avfilter_vf_frei0r_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_frei0r = {
AVFilter ff_vf_frei0r = {
.name = "frei0r",
.description = NULL_IF_CONFIG_SMALL("Apply a frei0r effect."),
......@@ -505,7 +505,7 @@ static const AVFilterPad avfilter_vsrc_frei0r_src_outputs[] = {
{ NULL }
};
AVFilter avfilter_vsrc_frei0r_src = {
AVFilter ff_vsrc_frei0r_src = {
.name = "frei0r_src",
.description = NULL_IF_CONFIG_SMALL("Generate a frei0r source."),
......
......@@ -256,7 +256,7 @@ static const AVFilterPad avfilter_vf_gradfun_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_gradfun = {
AVFilter ff_vf_gradfun = {
.name = "gradfun",
.description = NULL_IF_CONFIG_SMALL("Debands video quickly using gradients."),
.priv_size = sizeof(GradFunContext),
......
......@@ -175,7 +175,7 @@ static const AVFilterPad avfilter_vf_hflip_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_hflip = {
AVFilter ff_vf_hflip = {
.name = "hflip",
.description = NULL_IF_CONFIG_SMALL("Horizontally flip the input video."),
.priv_size = sizeof(FlipContext),
......
......@@ -347,7 +347,7 @@ static const AVFilterPad avfilter_vf_hqdn3d_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_hqdn3d = {
AVFilter ff_vf_hqdn3d = {
.name = "hqdn3d",
.description = NULL_IF_CONFIG_SMALL("Apply a High Quality 3D Denoiser."),
......
......@@ -247,7 +247,7 @@ static const AVFilterPad outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_interlace = {
AVFilter ff_vf_interlace = {
.name = "interlace",
.description = NULL_IF_CONFIG_SMALL("Convert progressive video into interlaced."),
.uninit = uninit,
......
......@@ -403,7 +403,7 @@ static const AVFilterPad avfilter_vf_ocv_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_ocv = {
AVFilter ff_vf_ocv = {
.name = "ocv",
.description = NULL_IF_CONFIG_SMALL("Apply transform using libopencv."),
......
......@@ -358,7 +358,7 @@ static const AVFilterPad outputs[] = {
.option = options, \
.version = LIBAVUTIL_VERSION_INT, \
}; \
AVFilter avfilter_vf_##name_ = { \
AVFilter ff_vf_##name_ = { \
.name = #name_, \
.description = NULL_IF_CONFIG_SMALL(description_), \
.priv_size = sizeof(LutContext), \
......
......@@ -43,7 +43,7 @@ static const AVFilterPad avfilter_vf_null_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_null = {
AVFilter ff_vf_null = {
.name = "null",
.description = NULL_IF_CONFIG_SMALL("Pass the source unchanged to the output."),
......
......@@ -393,7 +393,7 @@ static const AVFilterPad avfilter_vf_overlay_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_overlay = {
AVFilter ff_vf_overlay = {
.name = "overlay",
.description = NULL_IF_CONFIG_SMALL("Overlay a video source on top of the input."),
......
......@@ -447,7 +447,7 @@ static const AVFilterPad avfilter_vf_pad_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_pad = {
AVFilter ff_vf_pad = {
.name = "pad",
.description = NULL_IF_CONFIG_SMALL("Pad input image to width:height[:x:y[:color]] (default x and y: 0, default color: black)."),
......
......@@ -124,7 +124,7 @@ static const AVFilterPad avfilter_vf_pixdesctest_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_pixdesctest = {
AVFilter ff_vf_pixdesctest = {
.name = "pixdesctest",
.description = NULL_IF_CONFIG_SMALL("Test pixel format definitions."),
......
......@@ -321,7 +321,7 @@ static const AVFilterPad avfilter_vf_scale_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_scale = {
AVFilter ff_vf_scale = {
.name = "scale",
.description = NULL_IF_CONFIG_SMALL("Scale the input video to width:height size and/or convert the image format."),
......
......@@ -348,7 +348,7 @@ static const AVFilterPad avfilter_vf_select_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_select = {
AVFilter ff_vf_select = {
.name = "select",
.description = NULL_IF_CONFIG_SMALL("Select frames to pass in output."),
.init = init,
......
......@@ -148,7 +148,7 @@ static const AVFilterPad avfilter_vf_settb_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_settb = {
AVFilter ff_vf_settb = {
.name = "settb",
.description = NULL_IF_CONFIG_SMALL("Set timebase for the output link."),
......
......@@ -91,7 +91,7 @@ static const AVFilterPad avfilter_vf_showinfo_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_showinfo = {
AVFilter ff_vf_showinfo = {
.name = "showinfo",
.description = NULL_IF_CONFIG_SMALL("Show textual information for each video frame."),
......
......@@ -224,7 +224,7 @@ static const AVFilterPad avfilter_vf_transpose_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_transpose = {
AVFilter ff_vf_transpose = {
.name = "transpose",
.description = NULL_IF_CONFIG_SMALL("Transpose input video."),
......
......@@ -263,7 +263,7 @@ static const AVFilterPad avfilter_vf_unsharp_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_unsharp = {
AVFilter ff_vf_unsharp = {
.name = "unsharp",
.description = NULL_IF_CONFIG_SMALL("Sharpen or blur the input video."),
......
......@@ -100,7 +100,7 @@ static const AVFilterPad avfilter_vf_vflip_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_vflip = {
AVFilter ff_vf_vflip = {
.name = "vflip",
.description = NULL_IF_CONFIG_SMALL("Flip the input video vertically."),
......
......@@ -517,7 +517,7 @@ static const AVFilterPad avfilter_vf_yadif_outputs[] = {
{ NULL }
};
AVFilter avfilter_vf_yadif = {
AVFilter ff_vf_yadif = {
.name = "yadif",
.description = NULL_IF_CONFIG_SMALL("Deinterlace the input image"),
......
......@@ -35,7 +35,7 @@ static const AVFilterPad avfilter_vsink_nullsink_inputs[] = {
{ NULL },
};
AVFilter avfilter_vsink_nullsink = {
AVFilter ff_vsink_nullsink = {
.name = "nullsink",
.description = NULL_IF_CONFIG_SMALL("Do absolutely nothing with the input video."),
......
......@@ -185,7 +185,7 @@ static const AVFilterPad avfilter_vsrc_color_outputs[] = {
{ NULL }
};
AVFilter avfilter_vsrc_color = {
AVFilter ff_vsrc_color = {
.name = "color",
.description = NULL_IF_CONFIG_SMALL("Provide an uniformly colored input, syntax is: [color[:size[:rate]]]"),
......
......@@ -271,7 +271,7 @@ static const AVFilterPad avfilter_vsrc_movie_outputs[] = {
{ NULL }
};
AVFilter avfilter_vsrc_movie = {
AVFilter ff_vsrc_movie = {
.name = "movie",
.description = NULL_IF_CONFIG_SMALL("Read from a movie source."),
.priv_size = sizeof(MovieContext),
......
......@@ -123,7 +123,7 @@ static const AVFilterPad avfilter_vsrc_nullsrc_outputs[] = {
{ NULL }
};
AVFilter avfilter_vsrc_nullsrc = {
AVFilter ff_vsrc_nullsrc = {
.name = "nullsrc",
.description = NULL_IF_CONFIG_SMALL("Null video source, never return images."),
......
......@@ -355,7 +355,7 @@ static const AVFilterPad avfilter_vsrc_testsrc_outputs[] = {
{ NULL }
};
AVFilter avfilter_vsrc_testsrc = {
AVFilter ff_vsrc_testsrc = {
.name = "testsrc",
.description = NULL_IF_CONFIG_SMALL("Generate test pattern."),
.priv_size = sizeof(TestSourceContext),
......@@ -488,7 +488,7 @@ static const AVFilterPad avfilter_vsrc_rgbtestsrc_outputs[] = {
{ NULL }
};
AVFilter avfilter_vsrc_rgbtestsrc = {
AVFilter ff_vsrc_rgbtestsrc = {
.name = "rgbtestsrc",
.description = NULL_IF_CONFIG_SMALL("Generate RGB test pattern."),
.priv_size = sizeof(TestSourceContext),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment