Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
1a49a169
Commit
1a49a169
authored
Jun 25, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi: make filters less verbose.
parent
ce0a9756
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
37 additions
and
38 deletions
+37
-38
asrc_anullsrc.c
libavfilter/asrc_anullsrc.c
+1
-1
avfilter.c
libavfilter/avfilter.c
+1
-1
buffersrc.c
libavfilter/buffersrc.c
+1
-1
fifo.c
libavfilter/fifo.c
+0
-1
vf_aspect.c
libavfilter/vf_aspect.c
+2
-2
vf_blackframe.c
libavfilter/vf_blackframe.c
+1
-1
vf_crop.c
libavfilter/vf_crop.c
+1
-1
vf_cropdetect.c
libavfilter/vf_cropdetect.c
+1
-1
vf_drawbox.c
libavfilter/vf_drawbox.c
+1
-1
vf_fade.c
libavfilter/vf_fade.c
+1
-1
vf_fieldorder.c
libavfilter/vf_fieldorder.c
+1
-1
vf_frei0r.c
libavfilter/vf_frei0r.c
+9
-9
vf_gradfun.c
libavfilter/vf_gradfun.c
+1
-1
vf_hqdn3d.c
libavfilter/vf_hqdn3d.c
+1
-1
vf_libopencv.c
libavfilter/vf_libopencv.c
+3
-3
vf_overlay.c
libavfilter/vf_overlay.c
+2
-2
vf_pad.c
libavfilter/vf_pad.c
+1
-1
vf_scale.c
libavfilter/vf_scale.c
+1
-1
vf_setpts.c
libavfilter/vf_setpts.c
+1
-1
vf_settb.c
libavfilter/vf_settb.c
+1
-1
vf_transpose.c
libavfilter/vf_transpose.c
+1
-1
vf_unsharp.c
libavfilter/vf_unsharp.c
+1
-1
vf_yadif.c
libavfilter/vf_yadif.c
+1
-1
vsrc_color.c
libavfilter/vsrc_color.c
+1
-1
vsrc_movie.c
libavfilter/vsrc_movie.c
+1
-1
vsrc_nullsrc.c
libavfilter/vsrc_nullsrc.c
+1
-1
No files found.
libavfilter/asrc_anullsrc.c
View file @
1a49a169
...
...
@@ -68,7 +68,7 @@ static int config_props(AVFilterLink *outlink)
chans_nb
=
av_get_channel_layout_nb_channels
(
priv
->
channel_layout
);
av_get_channel_layout_string
(
buf
,
sizeof
(
buf
),
chans_nb
,
priv
->
channel_layout
);
av_log
(
outlink
->
src
,
AV_LOG_
INFO
,
av_log
(
outlink
->
src
,
AV_LOG_
VERBOSE
,
"sample_rate:%"
PRId64
" channel_layout:%"
PRId64
" channel_layout_description:'%s'
\n
"
,
priv
->
sample_rate
,
priv
->
channel_layout
,
buf
);
...
...
libavfilter/avfilter.c
View file @
1a49a169
...
...
@@ -101,7 +101,7 @@ int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt,
int
ret
;
unsigned
dstpad_idx
=
link
->
dstpad
-
link
->
dst
->
input_pads
;
av_log
(
link
->
dst
,
AV_LOG_
INFO
,
"auto-inserting filter '%s' "
av_log
(
link
->
dst
,
AV_LOG_
VERBOSE
,
"auto-inserting filter '%s' "
"between the filter '%s' and the filter '%s'
\n
"
,
filt
->
name
,
link
->
src
->
name
,
link
->
dst
->
name
);
...
...
libavfilter/buffersrc.c
View file @
1a49a169
...
...
@@ -178,7 +178,7 @@ static av_cold int init_video(AVFilterContext *ctx, const char *args)
if
(
!
(
c
->
fifo
=
av_fifo_alloc
(
sizeof
(
AVFilterBufferRef
*
))))
return
AVERROR
(
ENOMEM
);
av_log
(
ctx
,
AV_LOG_
INFO
,
"w:%d h:%d pixfmt:%s
\n
"
,
c
->
w
,
c
->
h
,
av_pix_fmt_descriptors
[
c
->
pix_fmt
].
name
);
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"w:%d h:%d pixfmt:%s
\n
"
,
c
->
w
,
c
->
h
,
av_pix_fmt_descriptors
[
c
->
pix_fmt
].
name
);
return
0
;
}
...
...
libavfilter/fifo.c
View file @
1a49a169
...
...
@@ -55,7 +55,6 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
FifoContext
*
fifo
=
ctx
->
priv
;
fifo
->
last
=
&
fifo
->
root
;
av_log
(
ctx
,
AV_LOG_INFO
,
"
\n
"
);
return
0
;
}
...
...
libavfilter/vf_aspect.c
View file @
1a49a169
...
...
@@ -60,7 +60,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
if
(
aspect
->
aspect
.
den
==
0
)
aspect
->
aspect
=
(
AVRational
)
{
0
,
1
};
av_log
(
ctx
,
AV_LOG_
INFO
,
"a:%d/%d
\n
"
,
aspect
->
aspect
.
num
,
aspect
->
aspect
.
den
);
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"a:%d/%d
\n
"
,
aspect
->
aspect
.
num
,
aspect
->
aspect
.
den
);
return
0
;
}
...
...
@@ -83,7 +83,7 @@ static int setdar_config_props(AVFilterLink *inlink)
aspect
->
aspect
.
num
*
inlink
->
h
,
aspect
->
aspect
.
den
*
inlink
->
w
,
100
);
av_log
(
inlink
->
dst
,
AV_LOG_
INFO
,
"w:%d h:%d -> dar:%d/%d sar:%d/%d
\n
"
,
av_log
(
inlink
->
dst
,
AV_LOG_
VERBOSE
,
"w:%d h:%d -> dar:%d/%d sar:%d/%d
\n
"
,
inlink
->
w
,
inlink
->
h
,
dar
.
num
,
dar
.
den
,
aspect
->
aspect
.
num
,
aspect
->
aspect
.
den
);
inlink
->
sample_aspect_ratio
=
aspect
->
aspect
;
...
...
libavfilter/vf_blackframe.c
View file @
1a49a169
...
...
@@ -63,7 +63,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
if
(
args
)
sscanf
(
args
,
"%u:%u"
,
&
blackframe
->
bamount
,
&
blackframe
->
bthresh
);
av_log
(
ctx
,
AV_LOG_
INFO
,
"bamount:%u bthresh:%u
\n
"
,
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"bamount:%u bthresh:%u
\n
"
,
blackframe
->
bamount
,
blackframe
->
bthresh
);
if
(
blackframe
->
bamount
>
100
||
blackframe
->
bthresh
>
255
)
{
...
...
libavfilter/vf_crop.c
View file @
1a49a169
...
...
@@ -207,7 +207,7 @@ static int config_input(AVFilterLink *link)
NULL
,
NULL
,
NULL
,
NULL
,
0
,
ctx
))
<
0
)
return
AVERROR
(
EINVAL
);
av_log
(
ctx
,
AV_LOG_
INFO
,
"w:%d h:%d -> w:%d h:%d
\n
"
,
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"w:%d h:%d -> w:%d h:%d
\n
"
,
link
->
w
,
link
->
h
,
crop
->
w
,
crop
->
h
);
if
(
crop
->
w
<=
0
||
crop
->
h
<=
0
||
...
...
libavfilter/vf_cropdetect.c
View file @
1a49a169
...
...
@@ -92,7 +92,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
if
(
args
)
sscanf
(
args
,
"%d:%d:%d"
,
&
cd
->
limit
,
&
cd
->
round
,
&
cd
->
reset_count
);
av_log
(
ctx
,
AV_LOG_
INFO
,
"limit:%d round:%d reset_count:%d
\n
"
,
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"limit:%d round:%d reset_count:%d
\n
"
,
cd
->
limit
,
cd
->
round
,
cd
->
reset_count
);
return
0
;
...
...
libavfilter/vf_drawbox.c
View file @
1a49a169
...
...
@@ -87,7 +87,7 @@ static int config_input(AVFilterLink *inlink)
if
(
drawbox
->
w
==
0
)
drawbox
->
w
=
inlink
->
w
;
if
(
drawbox
->
h
==
0
)
drawbox
->
h
=
inlink
->
h
;
av_log
(
inlink
->
dst
,
AV_LOG_
INFO
,
"x:%d y:%d w:%d h:%d color:0x%02X%02X%02X%02X
\n
"
,
av_log
(
inlink
->
dst
,
AV_LOG_
VERBOSE
,
"x:%d y:%d w:%d h:%d color:0x%02X%02X%02X%02X
\n
"
,
drawbox
->
w
,
drawbox
->
y
,
drawbox
->
w
,
drawbox
->
h
,
drawbox
->
yuv_color
[
Y
],
drawbox
->
yuv_color
[
U
],
drawbox
->
yuv_color
[
V
],
drawbox
->
yuv_color
[
A
]);
...
...
libavfilter/vf_fade.c
View file @
1a49a169
...
...
@@ -64,7 +64,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
}
fade
->
stop_frame
=
fade
->
start_frame
+
nb_frames
;
av_log
(
ctx
,
AV_LOG_
INFO
,
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"type:%s start_frame:%d nb_frames:%d
\n
"
,
in_out
,
fade
->
start_frame
,
nb_frames
);
return
0
;
...
...
libavfilter/vf_fieldorder.c
View file @
1a49a169
...
...
@@ -58,7 +58,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
return
AVERROR
(
EINVAL
);
}
av_log
(
ctx
,
AV_LOG_
INFO
,
"output field order: %s
\n
"
,
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"output field order: %s
\n
"
,
fieldorder
->
dst_tff
?
tff
:
bff
);
return
0
;
...
...
libavfilter/vf_frei0r.c
View file @
1a49a169
...
...
@@ -146,7 +146,7 @@ static int set_params(AVFilterContext *ctx, const char *params)
return
ret
;
}
av_log
(
ctx
,
AV_LOG_
INFO
,
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"idx:%d name:'%s' type:%s explanation:'%s' "
,
i
,
info
.
name
,
info
.
type
==
F0R_PARAM_BOOL
?
"bool"
:
...
...
@@ -157,7 +157,7 @@ static int set_params(AVFilterContext *ctx, const char *params)
info
.
explanation
);
#ifdef DEBUG
av_log
(
ctx
,
AV_LOG_
INFO
,
"value:"
);
av_log
(
ctx
,
AV_LOG_
DEBUG
,
"value:"
);
switch
(
info
.
type
)
{
void
*
v
;
double
d
;
...
...
@@ -168,31 +168,31 @@ static int set_params(AVFilterContext *ctx, const char *params)
case
F0R_PARAM_BOOL
:
v
=
&
d
;
frei0r
->
get_param_value
(
frei0r
->
instance
,
v
,
i
);
av_log
(
ctx
,
AV_LOG_
INFO
,
"%s"
,
d
>=
0
.
5
&&
d
<=
1
.
0
?
"y"
:
"n"
);
av_log
(
ctx
,
AV_LOG_
DEBUG
,
"%s"
,
d
>=
0
.
5
&&
d
<=
1
.
0
?
"y"
:
"n"
);
break
;
case
F0R_PARAM_DOUBLE
:
v
=
&
d
;
frei0r
->
get_param_value
(
frei0r
->
instance
,
v
,
i
);
av_log
(
ctx
,
AV_LOG_
INFO
,
"%f"
,
d
);
av_log
(
ctx
,
AV_LOG_
DEBUG
,
"%f"
,
d
);
break
;
case
F0R_PARAM_COLOR
:
v
=
&
col
;
frei0r
->
get_param_value
(
frei0r
->
instance
,
v
,
i
);
av_log
(
ctx
,
AV_LOG_
INFO
,
"%f/%f/%f"
,
col
.
r
,
col
.
g
,
col
.
b
);
av_log
(
ctx
,
AV_LOG_
DEBUG
,
"%f/%f/%f"
,
col
.
r
,
col
.
g
,
col
.
b
);
break
;
case
F0R_PARAM_POSITION
:
v
=
&
pos
;
frei0r
->
get_param_value
(
frei0r
->
instance
,
v
,
i
);
av_log
(
ctx
,
AV_LOG_
INFO
,
"%lf/%lf"
,
pos
.
x
,
pos
.
y
);
av_log
(
ctx
,
AV_LOG_
DEBUG
,
"%lf/%lf"
,
pos
.
x
,
pos
.
y
);
break
;
default:
/* F0R_PARAM_STRING */
v
=
s
;
frei0r
->
get_param_value
(
frei0r
->
instance
,
v
,
i
);
av_log
(
ctx
,
AV_LOG_
INFO
,
"'%s'
\n
"
,
s
);
av_log
(
ctx
,
AV_LOG_
DEBUG
,
"'%s'
\n
"
,
s
);
break
;
}
#endif
av_log
(
ctx
,
AV_LOG_
INFO
,
"
\n
"
);
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"
\n
"
);
}
return
0
;
...
...
@@ -266,7 +266,7 @@ static av_cold int frei0r_init(AVFilterContext *ctx,
return
AVERROR
(
EINVAL
);
}
av_log
(
ctx
,
AV_LOG_
INFO
,
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"name:%s author:'%s' explanation:'%s' color_model:%s "
"frei0r_version:%d version:%d.%d num_params:%d
\n
"
,
pi
->
name
,
pi
->
author
,
pi
->
explanation
,
...
...
libavfilter/vf_gradfun.c
View file @
1a49a169
...
...
@@ -142,7 +142,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
if
(
HAVE_SSE
&&
cpu_flags
&
AV_CPU_FLAG_SSE2
)
gf
->
blur_line
=
ff_gradfun_blur_line_sse2
;
av_log
(
ctx
,
AV_LOG_
INFO
,
"threshold:%.2f radius:%d
\n
"
,
thresh
,
gf
->
radius
);
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"threshold:%.2f radius:%d
\n
"
,
thresh
,
gf
->
radius
);
return
0
;
}
...
...
libavfilter/vf_hqdn3d.c
View file @
1a49a169
...
...
@@ -238,7 +238,7 @@ static int init(AVFilterContext *ctx, const char *args)
}
}
av_log
(
ctx
,
AV_LOG_
INFO
,
"ls:%lf cs:%lf lt:%lf ct:%lf
\n
"
,
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"ls:%lf cs:%lf lt:%lf ct:%lf
\n
"
,
LumSpac
,
ChromSpac
,
LumTmp
,
ChromTmp
);
if
(
LumSpac
<
0
||
ChromSpac
<
0
||
isnan
(
ChromTmp
))
{
av_log
(
ctx
,
AV_LOG_ERROR
,
...
...
libavfilter/vf_libopencv.c
View file @
1a49a169
...
...
@@ -121,7 +121,7 @@ static av_cold int smooth_init(AVFilterContext *ctx, const char *args)
return
AVERROR
(
EINVAL
);
}
av_log
(
ctx
,
AV_LOG_
INFO
,
"type:%s param1:%d param2:%d param3:%f param4:%f
\n
"
,
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"type:%s param1:%d param2:%d param3:%f param4:%f
\n
"
,
type_str
,
smooth
->
param1
,
smooth
->
param2
,
smooth
->
param3
,
smooth
->
param4
);
return
0
;
}
...
...
@@ -239,7 +239,7 @@ static int parse_iplconvkernel(IplConvKernel **kernel, char *buf, void *log_ctx)
if
(
!*
kernel
)
return
AVERROR
(
ENOMEM
);
av_log
(
log_ctx
,
AV_LOG_
INFO
,
"Structuring element: w:%d h:%d x:%d y:%d shape:%s
\n
"
,
av_log
(
log_ctx
,
AV_LOG_
VERBOSE
,
"Structuring element: w:%d h:%d x:%d y:%d shape:%s
\n
"
,
rows
,
cols
,
anchor_x
,
anchor_y
,
shape_str
);
return
0
;
}
...
...
@@ -269,7 +269,7 @@ static av_cold int dilate_init(AVFilterContext *ctx, const char *args)
av_free
(
kernel_str
);
sscanf
(
buf
,
":%d"
,
&
dilate
->
nb_iterations
);
av_log
(
ctx
,
AV_LOG_
INFO
,
"iterations_nb:%d
\n
"
,
dilate
->
nb_iterations
);
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"iterations_nb:%d
\n
"
,
dilate
->
nb_iterations
);
if
(
dilate
->
nb_iterations
<=
0
)
{
av_log
(
ctx
,
AV_LOG_ERROR
,
"Invalid non-positive value '%d' for nb_iterations
\n
"
,
dilate
->
nb_iterations
);
...
...
libavfilter/vf_overlay.c
View file @
1a49a169
...
...
@@ -151,7 +151,7 @@ static int config_input_overlay(AVFilterLink *inlink)
goto
fail
;
over
->
x
=
res
;
av_log
(
ctx
,
AV_LOG_
INFO
,
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"main w:%d h:%d fmt:%s overlay x:%d y:%d w:%d h:%d fmt:%s
\n
"
,
ctx
->
inputs
[
MAIN
]
->
w
,
ctx
->
inputs
[
MAIN
]
->
h
,
av_pix_fmt_descriptors
[
ctx
->
inputs
[
MAIN
]
->
format
].
name
,
...
...
@@ -190,7 +190,7 @@ static int config_output(AVFilterLink *outlink)
av_gcd
((
int64_t
)
tb1
.
num
*
tb2
.
den
,
(
int64_t
)
tb2
.
num
*
tb1
.
den
),
(
int64_t
)
tb1
.
den
*
tb2
.
den
,
INT_MAX
);
av_log
(
ctx
,
AV_LOG_
INFO
,
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"main_tb:%d/%d overlay_tb:%d/%d -> tb:%d/%d exact:%d
\n
"
,
tb1
.
num
,
tb1
.
den
,
tb2
.
num
,
tb2
.
den
,
tb
->
num
,
tb
->
den
,
exact
);
if
(
!
exact
)
...
...
libavfilter/vf_pad.c
View file @
1a49a169
...
...
@@ -220,7 +220,7 @@ static int config_input(AVFilterLink *inlink)
ff_fill_line_with_color
(
pad
->
line
,
pad
->
line_step
,
pad
->
w
,
pad
->
color
,
inlink
->
format
,
rgba_color
,
&
is_packed_rgba
,
NULL
);
av_log
(
ctx
,
AV_LOG_
INFO
,
"w:%d h:%d -> w:%d h:%d x:%d y:%d color:0x%02X%02X%02X%02X[%s]
\n
"
,
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"w:%d h:%d -> w:%d h:%d x:%d y:%d color:0x%02X%02X%02X%02X[%s]
\n
"
,
inlink
->
w
,
inlink
->
h
,
pad
->
w
,
pad
->
h
,
pad
->
x
,
pad
->
y
,
pad
->
color
[
0
],
pad
->
color
[
1
],
pad
->
color
[
2
],
pad
->
color
[
3
],
is_packed_rgba
?
"rgba"
:
"yuva"
);
...
...
libavfilter/vf_scale.c
View file @
1a49a169
...
...
@@ -215,7 +215,7 @@ static int config_props(AVFilterLink *outlink)
outlink
->
h
=
h
;
/* TODO: make algorithm configurable */
av_log
(
ctx
,
AV_LOG_
INFO
,
"w:%d h:%d fmt:%s -> w:%d h:%d fmt:%s flags:0x%0x
\n
"
,
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"w:%d h:%d fmt:%s -> w:%d h:%d fmt:%s flags:0x%0x
\n
"
,
inlink
->
w
,
inlink
->
h
,
av_pix_fmt_descriptors
[
inlink
->
format
].
name
,
outlink
->
w
,
outlink
->
h
,
av_pix_fmt_descriptors
[
outlink
->
format
].
name
,
scale
->
flags
);
...
...
libavfilter/vf_setpts.c
View file @
1a49a169
...
...
@@ -94,7 +94,7 @@ static int config_input(AVFilterLink *inlink)
setpts
->
var_values
[
VAR_TB
]
=
av_q2d
(
inlink
->
time_base
);
av_log
(
inlink
->
src
,
AV_LOG_
INFO
,
"TB:%f
\n
"
,
setpts
->
var_values
[
VAR_TB
]);
av_log
(
inlink
->
src
,
AV_LOG_
VERBOSE
,
"TB:%f
\n
"
,
setpts
->
var_values
[
VAR_TB
]);
return
0
;
}
...
...
libavfilter/vf_settb.c
View file @
1a49a169
...
...
@@ -97,7 +97,7 @@ static int config_output_props(AVFilterLink *outlink)
}
outlink
->
time_base
=
time_base
;
av_log
(
outlink
->
src
,
AV_LOG_
INFO
,
"tb:%d/%d -> tb:%d/%d
\n
"
,
av_log
(
outlink
->
src
,
AV_LOG_
VERBOSE
,
"tb:%d/%d -> tb:%d/%d
\n
"
,
inlink
->
time_base
.
num
,
inlink
->
time_base
.
den
,
outlink
->
time_base
.
num
,
outlink
->
time_base
.
den
);
...
...
libavfilter/vf_transpose.c
View file @
1a49a169
...
...
@@ -110,7 +110,7 @@ static int config_props_output(AVFilterLink *outlink)
}
else
outlink
->
sample_aspect_ratio
=
inlink
->
sample_aspect_ratio
;
av_log
(
ctx
,
AV_LOG_
INFO
,
"w:%d h:%d dir:%d -> w:%d h:%d rotation:%s vflip:%d
\n
"
,
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"w:%d h:%d dir:%d -> w:%d h:%d rotation:%s vflip:%d
\n
"
,
inlink
->
w
,
inlink
->
h
,
trans
->
dir
,
outlink
->
w
,
outlink
->
h
,
trans
->
dir
==
1
||
trans
->
dir
==
3
?
"clockwise"
:
"counterclockwise"
,
trans
->
dir
==
0
||
trans
->
dir
==
3
);
...
...
libavfilter/vf_unsharp.c
View file @
1a49a169
...
...
@@ -177,7 +177,7 @@ static void init_filter_param(AVFilterContext *ctx, FilterParam *fp, const char
effect
=
fp
->
amount
==
0
?
"none"
:
fp
->
amount
<
0
?
"blur"
:
"sharpen"
;
av_log
(
ctx
,
AV_LOG_
INFO
,
"effect:%s type:%s msize_x:%d msize_y:%d amount:%0.2f
\n
"
,
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"effect:%s type:%s msize_x:%d msize_y:%d amount:%0.2f
\n
"
,
effect
,
effect_type
,
fp
->
msize_x
,
fp
->
msize_y
,
fp
->
amount
/
65535
.
0
);
for
(
z
=
0
;
z
<
2
*
fp
->
steps_y
;
z
++
)
...
...
libavfilter/vf_yadif.c
View file @
1a49a169
...
...
@@ -414,7 +414,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
else
if
(
HAVE_MMX
&&
cpu_flags
&
AV_CPU_FLAG_MMX
)
yadif
->
filter_line
=
ff_yadif_filter_line_mmx
;
av_log
(
ctx
,
AV_LOG_
INFO
,
"mode:%d parity:%d auto_enable:%d
\n
"
,
yadif
->
mode
,
yadif
->
parity
,
yadif
->
auto_enable
);
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"mode:%d parity:%d auto_enable:%d
\n
"
,
yadif
->
mode
,
yadif
->
parity
,
yadif
->
auto_enable
);
return
0
;
}
...
...
libavfilter/vsrc_color.c
View file @
1a49a169
...
...
@@ -127,7 +127,7 @@ static int color_config_props(AVFilterLink *inlink)
ff_fill_line_with_color
(
color
->
line
,
color
->
line_step
,
color
->
w
,
color
->
color
,
inlink
->
format
,
rgba_color
,
&
is_packed_rgba
,
NULL
);
av_log
(
ctx
,
AV_LOG_
INFO
,
"w:%d h:%d r:%d/%d color:0x%02x%02x%02x%02x[%s]
\n
"
,
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"w:%d h:%d r:%d/%d color:0x%02x%02x%02x%02x[%s]
\n
"
,
color
->
w
,
color
->
h
,
color
->
time_base
.
den
,
color
->
time_base
.
num
,
color
->
color
[
0
],
color
->
color
[
1
],
color
->
color
[
2
],
color
->
color
[
3
],
is_packed_rgba
?
"rgba"
:
"yuva"
);
...
...
libavfilter/vsrc_movie.c
View file @
1a49a169
...
...
@@ -155,7 +155,7 @@ static int movie_init(AVFilterContext *ctx)
movie
->
w
=
movie
->
codec_ctx
->
width
;
movie
->
h
=
movie
->
codec_ctx
->
height
;
av_log
(
ctx
,
AV_LOG_
INFO
,
"seek_point:%"
PRIi64
" format_name:%s file_name:%s stream_index:%d
\n
"
,
av_log
(
ctx
,
AV_LOG_
VERBOSE
,
"seek_point:%"
PRIi64
" format_name:%s file_name:%s stream_index:%d
\n
"
,
movie
->
seek_point
,
movie
->
format_name
,
movie
->
file_name
,
movie
->
stream_index
);
...
...
libavfilter/vsrc_nullsrc.c
View file @
1a49a169
...
...
@@ -100,7 +100,7 @@ static int config_props(AVFilterLink *outlink)
outlink
->
h
=
priv
->
h
;
outlink
->
time_base
=
tb
;
av_log
(
outlink
->
src
,
AV_LOG_
INFO
,
"w:%d h:%d tb:%d/%d
\n
"
,
priv
->
w
,
priv
->
h
,
av_log
(
outlink
->
src
,
AV_LOG_
VERBOSE
,
"w:%d h:%d tb:%d/%d
\n
"
,
priv
->
w
,
priv
->
h
,
tb
.
num
,
tb
.
den
);
return
0
;
...
...
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