Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
31619584
F
Ffmpeg
项目概览
小白菜888
/
Ffmpeg
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
Ffmpeg
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
31619584
编写于
7月 30, 2012
作者:
M
Michael Niedermayer
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
yadif: update frame rate
Signed-off-by:
N
Michael Niedermayer
<
michaelni@gmx.at
>
上级
cbb2c95e
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
68 addition
and
34 deletion
+68
-34
libavfilter/vf_yadif.c
libavfilter/vf_yadif.c
+5
-0
tests/ref/fate/filter-yadif-mode1
tests/ref/fate/filter-yadif-mode1
+63
-34
未找到文件。
libavfilter/vf_yadif.c
浏览文件 @
31619584
...
@@ -405,11 +405,16 @@ static int null_draw_slice(AVFilterLink *link, int y, int h, int slice_dir)
...
@@ -405,11 +405,16 @@ static int null_draw_slice(AVFilterLink *link, int y, int h, int slice_dir)
static
int
config_props
(
AVFilterLink
*
link
)
static
int
config_props
(
AVFilterLink
*
link
)
{
{
YADIFContext
*
yadif
=
link
->
src
->
priv
;
link
->
time_base
.
num
=
link
->
src
->
inputs
[
0
]
->
time_base
.
num
;
link
->
time_base
.
num
=
link
->
src
->
inputs
[
0
]
->
time_base
.
num
;
link
->
time_base
.
den
=
link
->
src
->
inputs
[
0
]
->
time_base
.
den
*
2
;
link
->
time_base
.
den
=
link
->
src
->
inputs
[
0
]
->
time_base
.
den
*
2
;
link
->
w
=
link
->
src
->
inputs
[
0
]
->
w
;
link
->
w
=
link
->
src
->
inputs
[
0
]
->
w
;
link
->
h
=
link
->
src
->
inputs
[
0
]
->
h
;
link
->
h
=
link
->
src
->
inputs
[
0
]
->
h
;
if
(
yadif
->
mode
&
1
)
link
->
frame_rate
=
av_mul_q
(
link
->
src
->
inputs
[
0
]
->
frame_rate
,
(
AVRational
){
2
,
1
});
return
0
;
return
0
;
}
}
...
...
tests/ref/fate/filter-yadif-mode1
浏览文件 @
31619584
#tb 0: 1/25
#tb 0: 1/50
0, 9, 9, 1, 622080, 0x4440caef
0, 18, 18, 1, 622080, 0x4440caef
0, 10, 10, 1, 622080, 0xa5cea88b
0, 19, 19, 1, 622080, 0xa5cea88b
0, 11, 11, 1, 622080, 0xce67e69d
0, 20, 20, 1, 622080, 0xce67e69d
0, 12, 12, 1, 622080, 0x9a57891f
0, 21, 21, 1, 622080, 0x9a57891f
0, 13, 13, 1, 622080, 0xc171c0c5
0, 22, 22, 1, 622080, 0x1dbdc653
0, 14, 14, 1, 622080, 0x20db9890
0, 23, 23, 1, 622080, 0xc171c0c5
0, 15, 15, 1, 622080, 0xdb181d52
0, 24, 24, 1, 622080, 0x82c591d1
0, 16, 16, 1, 622080, 0xc2b913d1
0, 25, 25, 1, 622080, 0x20db9890
0, 17, 17, 1, 622080, 0xf1d9c5fb
0, 26, 26, 1, 622080, 0x8193740b
0, 18, 18, 1, 622080, 0x669c5775
0, 27, 27, 1, 622080, 0xdb181d52
0, 19, 19, 1, 622080, 0x01921a16
0, 28, 28, 1, 622080, 0xcb219711
0, 20, 20, 1, 622080, 0xd5047bc9
0, 29, 29, 1, 622080, 0xc2b913d1
0, 21, 21, 1, 622080, 0xa8b006eb
0, 30, 30, 1, 622080, 0x1870783b
0, 22, 22, 1, 622080, 0xf0e125a7
0, 31, 31, 1, 622080, 0xf1d9c5fb
0, 23, 23, 1, 622080, 0x4afe2976
0, 32, 32, 1, 622080, 0x7080590b
0, 24, 24, 1, 622080, 0x637fcbfe
0, 33, 33, 1, 622080, 0x669c5775
0, 25, 25, 1, 622080, 0xd9a8f5ac
0, 34, 34, 1, 622080, 0x6df4175d
0, 26, 26, 1, 622080, 0x4540039f
0, 35, 35, 1, 622080, 0x01921a16
0, 27, 27, 1, 622080, 0x3039906f
0, 36, 36, 1, 622080, 0x6b530e95
0, 28, 28, 1, 622080, 0x52872cf9
0, 37, 37, 1, 622080, 0xd5047bc9
0, 29, 29, 1, 622080, 0x82de12ee
0, 38, 38, 1, 622080, 0x7f9d66f7
0, 30, 30, 1, 622080, 0x7e849cc9
0, 39, 39, 1, 622080, 0xa8b006eb
0, 31, 31, 1, 622080, 0xffe6f770
0, 40, 40, 1, 622080, 0x338cda81
0, 32, 32, 1, 622080, 0xb67f3233
0, 41, 41, 1, 622080, 0xf0e125a7
0, 33, 33, 1, 622080, 0x15fe44b4
0, 42, 42, 1, 622080, 0xb13797f8
0, 34, 34, 1, 622080, 0x380f8563
0, 43, 43, 1, 622080, 0x4afe2976
0, 35, 35, 1, 622080, 0xb964d70f
0, 44, 44, 1, 622080, 0xb51e7ca4
0, 36, 36, 1, 622080, 0x4f60f7f4
0, 45, 45, 1, 622080, 0x637fcbfe
0, 37, 37, 1, 622080, 0xd0afb742
0, 46, 46, 1, 622080, 0x353eed75
0, 38, 38, 1, 622080, 0xb9a15294
0, 47, 47, 1, 622080, 0xd9a8f5ac
0, 39, 39, 1, 622080, 0xb70b01a9
0, 48, 48, 1, 622080, 0xf93e92b0
0, 40, 40, 1, 622080, 0xcb3a371f
0, 49, 49, 1, 622080, 0x4540039f
0, 41, 41, 1, 622080, 0x82dfb1f2
0, 50, 50, 1, 622080, 0xd0811094
0, 51, 51, 1, 622080, 0x3039906f
0, 52, 52, 1, 622080, 0xb04a3141
0, 53, 53, 1, 622080, 0x52872cf9
0, 54, 54, 1, 622080, 0x4ab84909
0, 55, 55, 1, 622080, 0x82de12ee
0, 56, 56, 1, 622080, 0xa0fcb8fb
0, 57, 57, 1, 622080, 0x7e849cc9
0, 58, 58, 1, 622080, 0x9003aebb
0, 59, 59, 1, 622080, 0xffe6f770
0, 60, 60, 1, 622080, 0x153faa3e
0, 61, 61, 1, 622080, 0xb67f3233
0, 62, 62, 1, 622080, 0xae724063
0, 63, 63, 1, 622080, 0x15fe44b4
0, 64, 64, 1, 622080, 0xeb4de77a
0, 65, 65, 1, 622080, 0x380f8563
0, 66, 66, 1, 622080, 0x209ed8c7
0, 67, 67, 1, 622080, 0xb964d70f
0, 68, 68, 1, 622080, 0xe2bbac96
0, 69, 69, 1, 622080, 0x4f60f7f4
0, 70, 70, 1, 622080, 0xe945441e
0, 71, 71, 1, 622080, 0xd0afb742
0, 72, 72, 1, 622080, 0x8f8cbd5f
0, 73, 73, 1, 622080, 0xb9a15294
0, 74, 74, 1, 622080, 0xbc3cf717
0, 75, 75, 1, 622080, 0xb70b01a9
0, 76, 76, 1, 622080, 0x0109f125
0, 77, 77, 1, 622080, 0xcb3a371f
0, 78, 78, 1, 622080, 0x230c373f
0, 79, 79, 1, 622080, 0x82dfb1f2
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录