Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
3db40703
Commit
3db40703
authored
Jul 21, 2012
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi: use const for AVFilterPad declarations in all filters.
parent
98041afb
Hide whitespace changes
Inline
Side-by-side
Showing
47 changed files
with
523 additions
and
517 deletions
+523
-517
af_aformat.c
libavfilter/af_aformat.c
+6
-6
af_anull.c
libavfilter/af_anull.c
+7
-7
af_channelmap.c
libavfilter/af_channelmap.c
+8
-8
asink_anullsink.c
libavfilter/asink_anullsink.c
+2
-2
asrc_anullsrc.c
libavfilter/asrc_anullsrc.c
+6
-6
buffersink.c
libavfilter/buffersink.c
+14
-14
buffersrc.c
libavfilter/buffersrc.c
+14
-14
fifo.c
libavfilter/fifo.c
+22
-22
split.c
libavfilter/split.c
+8
-8
vf_aspect.c
libavfilter/vf_aspect.c
+22
-22
vf_blackframe.c
libavfilter/vf_blackframe.c
+11
-11
vf_boxblur.c
libavfilter/vf_boxblur.c
+9
-9
vf_copy.c
libavfilter/vf_copy.c
+10
-10
vf_crop.c
libavfilter/vf_crop.c
+12
-12
vf_cropdetect.c
libavfilter/vf_cropdetect.c
+11
-11
vf_delogo.c
libavfilter/vf_delogo.c
+12
-12
vf_drawbox.c
libavfilter/vf_drawbox.c
+13
-13
vf_drawtext.c
libavfilter/vf_drawtext.c
+14
-14
vf_fade.c
libavfilter/vf_fade.c
+13
-13
vf_fieldorder.c
libavfilter/vf_fieldorder.c
+13
-13
vf_format.c
libavfilter/vf_format.c
+20
-20
vf_fps.c
libavfilter/vf_fps.c
+11
-11
vf_frei0r.c
libavfilter/vf_frei0r.c
+17
-17
vf_gradfun.c
libavfilter/vf_gradfun.c
+11
-11
vf_hflip.c
libavfilter/vf_hflip.c
+9
-9
vf_hqdn3d.c
libavfilter/vf_hqdn3d.c
+10
-10
vf_libopencv.c
libavfilter/vf_libopencv.c
+10
-10
vf_lut.c
libavfilter/vf_lut.c
+15
-9
vf_null.c
libavfilter/vf_null.c
+9
-9
vf_overlay.c
libavfilter/vf_overlay.c
+23
-23
vf_pad.c
libavfilter/vf_pad.c
+13
-13
vf_pixdesctest.c
libavfilter/vf_pixdesctest.c
+11
-11
vf_scale.c
libavfilter/vf_scale.c
+10
-10
vf_select.c
libavfilter/vf_select.c
+13
-13
vf_setpts.c
libavfilter/vf_setpts.c
+9
-9
vf_settb.c
libavfilter/vf_settb.c
+11
-11
vf_showinfo.c
libavfilter/vf_showinfo.c
+10
-10
vf_slicify.c
libavfilter/vf_slicify.c
+11
-11
vf_transpose.c
libavfilter/vf_transpose.c
+10
-10
vf_unsharp.c
libavfilter/vf_unsharp.c
+11
-11
vf_vflip.c
libavfilter/vf_vflip.c
+10
-10
vf_yadif.c
libavfilter/vf_yadif.c
+14
-14
vsink_nullsink.c
libavfilter/vsink_nullsink.c
+2
-2
vsrc_color.c
libavfilter/vsrc_color.c
+6
-6
vsrc_movie.c
libavfilter/vsrc_movie.c
+6
-6
vsrc_nullsrc.c
libavfilter/vsrc_nullsrc.c
+2
-2
vsrc_testsrc.c
libavfilter/vsrc_testsrc.c
+12
-12
No files found.
libavfilter/af_aformat.c
View file @
3db40703
...
...
@@ -138,10 +138,10 @@ AVFilter avfilter_af_aformat = {
.
query_formats
=
query_formats
,
.
priv_size
=
sizeof
(
AFormatContext
),
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
},
{
.
name
=
NULL
}},
};
libavfilter/af_anull.c
View file @
3db40703
...
...
@@ -31,12 +31,12 @@ AVFilter avfilter_af_anull = {
.
priv_size
=
0
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
.
get_audio_buffer
=
ff_null_get_audio_buffer
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
.
get_audio_buffer
=
ff_null_get_audio_buffer
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
},
{
.
name
=
NULL
}},
};
libavfilter/af_channelmap.c
View file @
3db40703
...
...
@@ -392,12 +392,12 @@ AVFilter avfilter_af_channelmap = {
.
query_formats
=
channelmap_query_formats
,
.
priv_size
=
sizeof
(
ChannelMapContext
),
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
.
filter_samples
=
channelmap_filter_samples
,
.
config_props
=
channelmap_config_input
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
.
filter_samples
=
channelmap_filter_samples
,
.
config_props
=
channelmap_config_input
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
},
{
.
name
=
NULL
}},
};
libavfilter/asink_anullsink.c
View file @
3db40703
...
...
@@ -30,7 +30,7 @@ AVFilter avfilter_asink_anullsink = {
.
priv_size
=
0
,
.
inputs
=
(
AVFilterPad
[])
{
.
inputs
=
(
const
AVFilterPad
[])
{
{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
...
...
@@ -38,5 +38,5 @@ AVFilter avfilter_asink_anullsink = {
},
{
.
name
=
NULL
},
},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
NULL
}},
};
libavfilter/asrc_anullsrc.c
View file @
3db40703
...
...
@@ -87,11 +87,11 @@ AVFilter avfilter_asrc_anullsrc = {
.
init
=
init
,
.
priv_size
=
sizeof
(
ANullContext
),
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
.
config_props
=
config_props
,
.
request_frame
=
request_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
.
config_props
=
config_props
,
.
request_frame
=
request_frame
,
},
{
.
name
=
NULL
}},
};
libavfilter/buffersink.c
View file @
3db40703
...
...
@@ -149,13 +149,13 @@ AVFilter avfilter_vsink_buffer = {
.
priv_size
=
sizeof
(
BufferSinkContext
),
.
uninit
=
uninit
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
start_frame
,
.
min_perms
=
AV_PERM_READ
,
.
needs_fifo
=
1
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
start_frame
,
.
min_perms
=
AV_PERM_READ
,
.
needs_fifo
=
1
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
NULL
}},
};
AVFilter
avfilter_asink_abuffer
=
{
...
...
@@ -164,11 +164,11 @@ AVFilter avfilter_asink_abuffer = {
.
priv_size
=
sizeof
(
BufferSinkContext
),
.
uninit
=
uninit
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
.
filter_samples
=
filter_samples
,
.
min_perms
=
AV_PERM_READ
,
.
needs_fifo
=
1
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
.
filter_samples
=
filter_samples
,
.
min_perms
=
AV_PERM_READ
,
.
needs_fifo
=
1
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
NULL
}},
};
libavfilter/buffersrc.c
View file @
3db40703
...
...
@@ -357,13 +357,13 @@ AVFilter avfilter_vsrc_buffer = {
.
init
=
init_video
,
.
uninit
=
uninit
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
request_frame
=
request_frame
,
.
poll_frame
=
poll_frame
,
.
config_props
=
config_props
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
request_frame
=
request_frame
,
.
poll_frame
=
poll_frame
,
.
config_props
=
config_props
,
},
{
.
name
=
NULL
}},
};
AVFilter
avfilter_asrc_abuffer
=
{
...
...
@@ -375,11 +375,11 @@ AVFilter avfilter_asrc_abuffer = {
.
init
=
init_audio
,
.
uninit
=
uninit
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
.
request_frame
=
request_frame
,
.
poll_frame
=
poll_frame
,
.
config_props
=
config_props
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
.
request_frame
=
request_frame
,
.
poll_frame
=
poll_frame
,
.
config_props
=
config_props
,
},
{
.
name
=
NULL
}},
};
libavfilter/fifo.c
View file @
3db40703
...
...
@@ -269,18 +269,18 @@ AVFilter avfilter_vf_fifo = {
.
priv_size
=
sizeof
(
FifoContext
),
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
start_frame
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
end_frame
,
.
rej_perms
=
AV_PERM_REUSE2
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
request_frame
=
request_frame
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
start_frame
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
end_frame
,
.
rej_perms
=
AV_PERM_REUSE2
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
request_frame
=
request_frame
,
},
{
.
name
=
NULL
}},
};
AVFilter
avfilter_af_afifo
=
{
...
...
@@ -292,14 +292,14 @@ AVFilter avfilter_af_afifo = {
.
priv_size
=
sizeof
(
FifoContext
),
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
.
get_audio_buffer
=
ff_null_get_audio_buffer
,
.
filter_samples
=
add_to_queue
,
.
rej_perms
=
AV_PERM_REUSE2
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
.
request_frame
=
request_frame
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
.
get_audio_buffer
=
ff_null_get_audio_buffer
,
.
filter_samples
=
add_to_queue
,
.
rej_perms
=
AV_PERM_REUSE2
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_AUDIO
,
.
request_frame
=
request_frame
,
},
{
.
name
=
NULL
}},
};
libavfilter/split.c
View file @
3db40703
...
...
@@ -98,14 +98,14 @@ AVFilter avfilter_vf_split = {
.
init
=
split_init
,
.
uninit
=
split_uninit
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
start_frame
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
end_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
start_frame
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
end_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
NULL
}},
};
static
int
filter_samples
(
AVFilterLink
*
inlink
,
AVFilterBufferRef
*
samplesref
)
...
...
libavfilter/vf_aspect.c
View file @
3db40703
...
...
@@ -100,17 +100,17 @@ AVFilter avfilter_vf_setdar = {
.
priv_size
=
sizeof
(
AspectContext
),
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
setdar_config_props
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
start_frame
,
.
end_frame
=
ff_null_end_frame
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
setdar_config_props
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
start_frame
,
.
end_frame
=
ff_null_end_frame
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
#endif
/* CONFIG_SETDAR_FILTER */
...
...
@@ -133,16 +133,16 @@ AVFilter avfilter_vf_setsar = {
.
priv_size
=
sizeof
(
AspectContext
),
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
setsar_config_props
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
start_frame
,
.
end_frame
=
ff_null_end_frame
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
setsar_config_props
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
start_frame
,
.
end_frame
=
ff_null_end_frame
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
#endif
/* CONFIG_SETSAR_FILTER */
libavfilter/vf_blackframe.c
View file @
3db40703
...
...
@@ -118,15 +118,15 @@ AVFilter avfilter_vf_blackframe = {
.
query_formats
=
query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
draw_slice
=
draw_slice
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
ff_null_start_frame
,
.
end_frame
=
end_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
draw_slice
=
draw_slice
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
ff_null_start_frame
,
.
end_frame
=
end_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
},
{
.
name
=
NULL
}},
};
libavfilter/vf_boxblur.c
View file @
3db40703
...
...
@@ -341,13 +341,13 @@ AVFilter avfilter_vf_boxblur = {
.
uninit
=
uninit
,
.
query_formats
=
query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_input
,
.
draw_slice
=
draw_slice
,
.
min_perms
=
AV_PERM_READ
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_input
,
.
draw_slice
=
draw_slice
,
.
min_perms
=
AV_PERM_READ
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_copy.c
View file @
3db40703
...
...
@@ -29,14 +29,14 @@ AVFilter avfilter_vf_copy = {
.
name
=
"copy"
,
.
description
=
NULL_IF_CONFIG_SMALL
(
"Copy the input video unchanged to the output."
),
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
ff_null_start_frame
,
.
end_frame
=
ff_null_end_frame
,
.
rej_perms
=
~
0
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
ff_null_start_frame
,
.
end_frame
=
ff_null_end_frame
,
.
rej_perms
=
~
0
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_crop.c
View file @
3db40703
...
...
@@ -330,16 +330,16 @@ AVFilter avfilter_vf_crop = {
.
init
=
init
,
.
uninit
=
uninit
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
start_frame
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
end_frame
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
config_props
=
config_input
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_output
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
start_frame
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
end_frame
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
config_props
=
config_input
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_output
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_cropdetect.c
View file @
3db40703
...
...
@@ -203,15 +203,15 @@ AVFilter avfilter_vf_cropdetect = {
.
query_formats
=
query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_input
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
ff_null_start_frame
,
.
end_frame
=
end_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_input
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
ff_null_start_frame
,
.
end_frame
=
end_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
},
{
.
name
=
NULL
}},
};
libavfilter/vf_delogo.c
View file @
3db40703
...
...
@@ -269,16 +269,16 @@ AVFilter avfilter_vf_delogo = {
.
init
=
init
,
.
query_formats
=
query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
start_frame
,
.
draw_slice
=
null_draw_slice
,
.
end_frame
=
end_frame
,
.
min_perms
=
AV_PERM_WRITE
|
AV_PERM_READ
,
.
rej_perms
=
AV_PERM_PRESERVE
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
start_frame
,
.
draw_slice
=
null_draw_slice
,
.
end_frame
=
end_frame
,
.
min_perms
=
AV_PERM_WRITE
|
AV_PERM_READ
,
.
rej_perms
=
AV_PERM_PRESERVE
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_drawbox.c
View file @
3db40703
...
...
@@ -130,17 +130,17 @@ AVFilter avfilter_vf_drawbox = {
.
init
=
init
,
.
query_formats
=
query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_input
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
ff_null_start_frame
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
ff_null_end_frame
,
.
min_perms
=
AV_PERM_WRITE
|
AV_PERM_READ
,
.
rej_perms
=
AV_PERM_PRESERVE
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_input
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
ff_null_start_frame
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
ff_null_end_frame
,
.
min_perms
=
AV_PERM_WRITE
|
AV_PERM_READ
,
.
rej_perms
=
AV_PERM_PRESERVE
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_drawtext.c
View file @
3db40703
...
...
@@ -878,18 +878,18 @@ AVFilter avfilter_vf_drawtext = {
.
uninit
=
uninit
,
.
query_formats
=
query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
start_frame
,
.
draw_slice
=
null_draw_slice
,
.
end_frame
=
end_frame
,
.
config_props
=
config_input
,
.
min_perms
=
AV_PERM_WRITE
|
AV_PERM_READ
,
.
rej_perms
=
AV_PERM_PRESERVE
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
start_frame
,
.
draw_slice
=
null_draw_slice
,
.
end_frame
=
end_frame
,
.
config_props
=
config_input
,
.
min_perms
=
AV_PERM_WRITE
|
AV_PERM_READ
,
.
rej_perms
=
AV_PERM_PRESERVE
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_fade.c
View file @
3db40703
...
...
@@ -157,17 +157,17 @@ AVFilter avfilter_vf_fade = {
.
priv_size
=
sizeof
(
FadeContext
),
.
query_formats
=
query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_props
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
ff_null_start_frame
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
end_frame
,
.
min_perms
=
AV_PERM_READ
|
AV_PERM_WRITE
,
.
rej_perms
=
AV_PERM_PRESERVE
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_props
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
ff_null_start_frame
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
end_frame
,
.
min_perms
=
AV_PERM_READ
|
AV_PERM_WRITE
,
.
rej_perms
=
AV_PERM_PRESERVE
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_fieldorder.c
View file @
3db40703
...
...
@@ -221,17 +221,17 @@ AVFilter avfilter_vf_fieldorder = {
.
init
=
init
,
.
priv_size
=
sizeof
(
FieldOrderContext
),
.
query_formats
=
query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_input
,
.
start_frame
=
start_frame
,
.
get_video_buffer
=
get_video_buffer
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
end_frame
,
.
min_perms
=
AV_PERM_READ
,
.
rej_perms
=
AV_PERM_REUSE2
|
AV_PERM_PRESERVE
,},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_input
,
.
start_frame
=
start_frame
,
.
get_video_buffer
=
get_video_buffer
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
end_frame
,
.
min_perms
=
AV_PERM_READ
,
.
rej_perms
=
AV_PERM_REUSE2
|
AV_PERM_PRESERVE
,},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_format.c
View file @
3db40703
...
...
@@ -105,16 +105,16 @@ AVFilter avfilter_vf_format = {
.
priv_size
=
sizeof
(
FormatContext
),
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
ff_null_start_frame
,
.
draw_slice
=
ff_null_draw_slice
,
.
end_frame
=
ff_null_end_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
ff_null_start_frame
,
.
draw_slice
=
ff_null_draw_slice
,
.
end_frame
=
ff_null_end_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
},
{
.
name
=
NULL
}},
};
#endif
/* CONFIG_FORMAT_FILTER */
...
...
@@ -135,15 +135,15 @@ AVFilter avfilter_vf_noformat = {
.
priv_size
=
sizeof
(
FormatContext
),
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
ff_null_start_frame
,
.
draw_slice
=
ff_null_draw_slice
,
.
end_frame
=
ff_null_end_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
ff_null_start_frame
,
.
draw_slice
=
ff_null_draw_slice
,
.
end_frame
=
ff_null_end_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
},
{
.
name
=
NULL
}},
};
#endif
/* CONFIG_NOFORMAT_FILTER */
libavfilter/vf_fps.c
View file @
3db40703
...
...
@@ -260,15 +260,15 @@ AVFilter avfilter_vf_fps = {
.
priv_size
=
sizeof
(
FPSContext
),
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
null_start_frame
,
.
draw_slice
=
null_draw_slice
,
.
end_frame
=
end_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
request_frame
=
request_frame
,
.
config_props
=
config_props
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
null_start_frame
,
.
draw_slice
=
null_draw_slice
,
.
end_frame
=
end_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
request_frame
=
request_frame
,
.
config_props
=
config_props
},
{
.
name
=
NULL
}},
};
libavfilter/vf_frei0r.c
View file @
3db40703
...
...
@@ -366,17 +366,17 @@ AVFilter avfilter_vf_frei0r = {
.
priv_size
=
sizeof
(
Frei0rContext
),
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
draw_slice
=
null_draw_slice
,
.
config_props
=
config_input_props
,
.
end_frame
=
end_frame
,
.
min_perms
=
AV_PERM_READ
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
draw_slice
=
null_draw_slice
,
.
config_props
=
config_input_props
,
.
end_frame
=
end_frame
,
.
min_perms
=
AV_PERM_READ
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
static
av_cold
int
source_init
(
AVFilterContext
*
ctx
,
const
char
*
args
)
...
...
@@ -456,11 +456,11 @@ AVFilter avfilter_vsrc_frei0r_src = {
.
query_formats
=
query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
request_frame
=
source_request_frame
,
.
config_props
=
source_config_props
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
request_frame
=
source_request_frame
,
.
config_props
=
source_config_props
},
{
.
name
=
NULL
}},
};
libavfilter/vf_gradfun.c
View file @
3db40703
...
...
@@ -235,15 +235,15 @@ AVFilter avfilter_vf_gradfun = {
.
uninit
=
uninit
,
.
query_formats
=
query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_input
,
.
start_frame
=
start_frame
,
.
draw_slice
=
null_draw_slice
,
.
end_frame
=
end_frame
,
.
min_perms
=
AV_PERM_READ
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_input
,
.
start_frame
=
start_frame
,
.
draw_slice
=
null_draw_slice
,
.
end_frame
=
end_frame
,
.
min_perms
=
AV_PERM_READ
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_hflip.c
View file @
3db40703
...
...
@@ -151,13 +151,13 @@ AVFilter avfilter_vf_hflip = {
.
priv_size
=
sizeof
(
FlipContext
),
.
query_formats
=
query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
draw_slice
=
draw_slice
,
.
config_props
=
config_props
,
.
min_perms
=
AV_PERM_READ
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
draw_slice
=
draw_slice
,
.
config_props
=
config_props
,
.
min_perms
=
AV_PERM_READ
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_hqdn3d.c
View file @
3db40703
...
...
@@ -333,14 +333,14 @@ AVFilter avfilter_vf_hqdn3d = {
.
uninit
=
uninit
,
.
query_formats
=
query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
draw_slice
=
null_draw_slice
,
.
config_props
=
config_input
,
.
end_frame
=
end_frame
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
draw_slice
=
null_draw_slice
,
.
config_props
=
config_input
,
.
end_frame
=
end_frame
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
},
{
.
name
=
NULL
}},
};
libavfilter/vf_libopencv.c
View file @
3db40703
...
...
@@ -379,14 +379,14 @@ AVFilter avfilter_vf_ocv = {
.
init
=
init
,
.
uninit
=
uninit
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
draw_slice
=
null_draw_slice
,
.
end_frame
=
end_frame
,
.
min_perms
=
AV_PERM_READ
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
draw_slice
=
null_draw_slice
,
.
end_frame
=
end_frame
,
.
min_perms
=
AV_PERM_READ
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_lut.c
View file @
3db40703
...
...
@@ -342,6 +342,19 @@ static void draw_slice(AVFilterLink *inlink, int y, int h, int slice_dir)
ff_draw_slice
(
outlink
,
y
,
h
,
slice_dir
);
}
static
const
AVFilterPad
inputs
[]
=
{
{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
draw_slice
=
draw_slice
,
.
config_props
=
config_props
,
.
min_perms
=
AV_PERM_READ
,
},
{
.
name
=
NULL
}
};
static
const
AVFilterPad
outputs
[]
=
{
{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}
};
#define DEFINE_LUT_FILTER(name_, description_, init_) \
AVFilter avfilter_vf_##name_ = { \
.name = #name_, \
...
...
@@ -352,15 +365,8 @@ static void draw_slice(AVFilterLink *inlink, int y, int h, int slice_dir)
.uninit = uninit, \
.query_formats = query_formats, \
\
.inputs = (AVFilterPad[]) {{ .name = "default", \
.type = AVMEDIA_TYPE_VIDEO, \
.draw_slice = draw_slice, \
.config_props = config_props, \
.min_perms = AV_PERM_READ, }, \
{ .name = NULL}}, \
.outputs = (AVFilterPad[]) {{ .name = "default", \
.type = AVMEDIA_TYPE_VIDEO, }, \
{ .name = NULL}}, \
.inputs = inputs, \
.outputs = outputs, \
}
#if CONFIG_LUT_FILTER
...
...
libavfilter/vf_null.c
View file @
3db40703
...
...
@@ -31,14 +31,14 @@ AVFilter avfilter_vf_null = {
.
priv_size
=
0
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
ff_null_start_frame
,
.
end_frame
=
ff_null_end_frame
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
ff_null_start_frame
,
.
end_frame
=
ff_null_end_frame
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_overlay.c
View file @
3db40703
...
...
@@ -368,27 +368,27 @@ AVFilter avfilter_vf_overlay = {
.
query_formats
=
query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"main"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
start_frame
,
.
get_video_buffer
=
get_video_buffer
,
.
config_props
=
config_input_main
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
end_frame
,
.
min_perms
=
AV_PERM_READ
,
.
rej_perms
=
AV_PERM_REUSE2
|
AV_PERM_PRESERVE
,
},
{
.
name
=
"overlay"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
start_frame_overlay
,
.
config_props
=
config_input_overlay
,
.
draw_slice
=
null_draw_slice
,
.
end_frame
=
null_end_frame
,
.
min_perms
=
AV_PERM_READ
,
.
rej_perms
=
AV_PERM_REUSE2
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_output
,
.
poll_frame
=
poll_frame
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"main"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
start_frame
,
.
get_video_buffer
=
get_video_buffer
,
.
config_props
=
config_input_main
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
end_frame
,
.
min_perms
=
AV_PERM_READ
,
.
rej_perms
=
AV_PERM_REUSE2
|
AV_PERM_PRESERVE
,
},
{
.
name
=
"overlay"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
start_frame_overlay
,
.
config_props
=
config_input_overlay
,
.
draw_slice
=
null_draw_slice
,
.
end_frame
=
null_end_frame
,
.
min_perms
=
AV_PERM_READ
,
.
rej_perms
=
AV_PERM_REUSE2
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_output
,
.
poll_frame
=
poll_frame
},
{
.
name
=
NULL
}},
};
libavfilter/vf_pad.c
View file @
3db40703
...
...
@@ -417,17 +417,17 @@ AVFilter avfilter_vf_pad = {
.
uninit
=
uninit
,
.
query_formats
=
query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_input
,
.
get_video_buffer
=
get_video_buffer
,
.
start_frame
=
start_frame
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
end_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_output
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_input
,
.
get_video_buffer
=
get_video_buffer
,
.
start_frame
=
start_frame
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
end_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_output
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_pixdesctest.c
View file @
3db40703
...
...
@@ -118,15 +118,15 @@ AVFilter avfilter_vf_pixdesctest = {
.
priv_size
=
sizeof
(
PixdescTestContext
),
.
uninit
=
uninit
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
start_frame
,
.
draw_slice
=
draw_slice
,
.
config_props
=
config_props
,
.
min_perms
=
AV_PERM_READ
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
start_frame
,
.
draw_slice
=
draw_slice
,
.
config_props
=
config_props
,
.
min_perms
=
AV_PERM_READ
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_scale.c
View file @
3db40703
...
...
@@ -326,14 +326,14 @@ AVFilter avfilter_vf_scale = {
.
priv_size
=
sizeof
(
ScaleContext
),
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
start_frame
,
.
draw_slice
=
draw_slice
,
.
min_perms
=
AV_PERM_READ
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_props
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
start_frame
,
.
draw_slice
=
draw_slice
,
.
min_perms
=
AV_PERM_READ
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_props
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_select.c
View file @
3db40703
...
...
@@ -337,17 +337,17 @@ AVFilter avfilter_vf_select = {
.
priv_size
=
sizeof
(
SelectContext
),
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
config_props
=
config_input
,
.
start_frame
=
start_frame
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
end_frame
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
poll_frame
=
poll_frame
,
.
request_frame
=
request_frame
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
config_props
=
config_input
,
.
start_frame
=
start_frame
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
end_frame
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
poll_frame
=
poll_frame
,
.
request_frame
=
request_frame
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_setpts.c
View file @
3db40703
...
...
@@ -148,13 +148,13 @@ AVFilter avfilter_vf_setpts = {
.
priv_size
=
sizeof
(
SetPTSContext
),
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
config_props
=
config_input
,
.
start_frame
=
start_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
config_props
=
config_input
,
.
start_frame
=
start_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_settb.c
View file @
3db40703
...
...
@@ -128,15 +128,15 @@ AVFilter avfilter_vf_settb = {
.
priv_size
=
sizeof
(
SetTBContext
),
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
start_frame
,
.
end_frame
=
ff_null_end_frame
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_output_props
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
start_frame
,
.
end_frame
=
ff_null_end_frame
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
config_props
=
config_output_props
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_showinfo.c
View file @
3db40703
...
...
@@ -86,15 +86,15 @@ AVFilter avfilter_vf_showinfo = {
.
priv_size
=
sizeof
(
ShowInfoContext
),
.
init
=
init
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
ff_null_start_frame
,
.
end_frame
=
end_frame
,
.
min_perms
=
AV_PERM_READ
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
ff_null_start_frame
,
.
end_frame
=
end_frame
,
.
min_perms
=
AV_PERM_READ
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
},
{
.
name
=
NULL
}},
};
libavfilter/vf_slicify.c
View file @
3db40703
...
...
@@ -106,15 +106,15 @@ AVFilter avfilter_vf_slicify = {
.
priv_size
=
sizeof
(
SliceContext
),
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
start_frame
,
.
draw_slice
=
draw_slice
,
.
config_props
=
config_props
,
.
end_frame
=
ff_null_end_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
ff_null_get_video_buffer
,
.
start_frame
=
start_frame
,
.
draw_slice
=
draw_slice
,
.
config_props
=
config_props
,
.
end_frame
=
ff_null_end_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_transpose.c
View file @
3db40703
...
...
@@ -205,14 +205,14 @@ AVFilter avfilter_vf_transpose = {
.
query_formats
=
query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
start_frame
,
.
end_frame
=
end_frame
,
.
min_perms
=
AV_PERM_READ
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
config_props
=
config_props_output
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
start_frame
,
.
end_frame
=
end_frame
,
.
min_perms
=
AV_PERM_READ
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
config_props
=
config_props_output
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_unsharp.c
View file @
3db40703
...
...
@@ -243,15 +243,15 @@ AVFilter avfilter_vf_unsharp = {
.
uninit
=
uninit
,
.
query_formats
=
query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
end_frame
,
.
config_props
=
config_props
,
.
min_perms
=
AV_PERM_READ
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
draw_slice
=
draw_slice
,
.
end_frame
=
end_frame
,
.
config_props
=
config_props
,
.
min_perms
=
AV_PERM_READ
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_vflip.c
View file @
3db40703
...
...
@@ -95,14 +95,14 @@ AVFilter avfilter_vf_vflip = {
.
priv_size
=
sizeof
(
FlipContext
),
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
get_video_buffer
,
.
start_frame
=
start_frame
,
.
draw_slice
=
draw_slice
,
.
config_props
=
config_input
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
get_video_buffer
=
get_video_buffer
,
.
start_frame
=
start_frame
,
.
draw_slice
=
draw_slice
,
.
config_props
=
config_input
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
},
{
.
name
=
NULL
}},
};
libavfilter/vf_yadif.c
View file @
3db40703
...
...
@@ -400,18 +400,18 @@ AVFilter avfilter_vf_yadif = {
.
uninit
=
uninit
,
.
query_formats
=
query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
start_frame
,
.
get_video_buffer
=
get_video_buffer
,
.
draw_slice
=
null_draw_slice
,
.
end_frame
=
end_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
poll_frame
=
poll_frame
,
.
request_frame
=
request_frame
,
.
config_props
=
config_props
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
start_frame
=
start_frame
,
.
get_video_buffer
=
get_video_buffer
,
.
draw_slice
=
null_draw_slice
,
.
end_frame
=
end_frame
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
poll_frame
=
poll_frame
,
.
request_frame
=
request_frame
,
.
config_props
=
config_props
,
},
{
.
name
=
NULL
}},
};
libavfilter/vsink_nullsink.c
View file @
3db40703
...
...
@@ -33,7 +33,7 @@ AVFilter avfilter_vsink_nullsink = {
.
priv_size
=
0
,
.
inputs
=
(
AVFilterPad
[])
{
.
inputs
=
(
const
AVFilterPad
[])
{
{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
...
...
@@ -42,5 +42,5 @@ AVFilter avfilter_vsink_nullsink = {
},
{
.
name
=
NULL
},
},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
NULL
}},
};
libavfilter/vsrc_color.c
View file @
3db40703
...
...
@@ -167,11 +167,11 @@ AVFilter avfilter_vsrc_color = {
.
query_formats
=
query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
request_frame
=
color_request_frame
,
.
config_props
=
color_config_props
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
request_frame
=
color_request_frame
,
.
config_props
=
color_config_props
},
{
.
name
=
NULL
}},
};
libavfilter/vsrc_movie.c
View file @
3db40703
...
...
@@ -306,10 +306,10 @@ AVFilter avfilter_vsrc_movie = {
.
uninit
=
uninit
,
.
query_formats
=
query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
request_frame
=
request_frame
,
.
config_props
=
config_output_props
,
},
{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
request_frame
=
request_frame
,
.
config_props
=
config_output_props
,
},
{
.
name
=
NULL
}},
};
libavfilter/vsrc_nullsrc.c
View file @
3db40703
...
...
@@ -118,9 +118,9 @@ AVFilter avfilter_vsrc_nullsrc = {
.
init
=
init
,
.
priv_size
=
sizeof
(
NullContext
),
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{
.
outputs
=
(
const
AVFilterPad
[])
{
{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
...
...
libavfilter/vsrc_testsrc.c
View file @
3db40703
...
...
@@ -361,13 +361,13 @@ AVFilter avfilter_vsrc_testsrc = {
.
query_formats
=
test_query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
request_frame
=
request_frame
,
.
config_props
=
config_props
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
request_frame
=
request_frame
,
.
config_props
=
config_props
,
},
{
.
name
=
NULL
}},
};
#endif
/* CONFIG_TESTSRC_FILTER */
...
...
@@ -488,13 +488,13 @@ AVFilter avfilter_vsrc_rgbtestsrc = {
.
query_formats
=
rgbtest_query_formats
,
.
inputs
=
(
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
inputs
=
(
const
AVFilterPad
[])
{{
.
name
=
NULL
}},
.
outputs
=
(
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
request_frame
=
request_frame
,
.
config_props
=
rgbtest_config_props
,
},
{
.
name
=
NULL
}},
.
outputs
=
(
const
AVFilterPad
[])
{{
.
name
=
"default"
,
.
type
=
AVMEDIA_TYPE_VIDEO
,
.
request_frame
=
request_frame
,
.
config_props
=
rgbtest_config_props
,
},
{
.
name
=
NULL
}},
};
#endif
/* CONFIG_RGBTESTSRC_FILTER */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment