Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
35594c48
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,发现更多精彩内容 >>
提交
35594c48
编写于
11月 02, 2013
作者:
M
Michael Niedermayer
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
libavcodec/hevc: random cosmetics to reduce diff to
064698d3
Signed-off-by:
N
Michael Niedermayer
<
michaelni@gmx.at
>
上级
2c4f5736
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
21 addition
and
22 deletion
+21
-22
libavcodec/hevc.c
libavcodec/hevc.c
+2
-2
libavcodec/hevc_filter.c
libavcodec/hevc_filter.c
+1
-1
libavcodec/hevc_sei.c
libavcodec/hevc_sei.c
+1
-1
libavcodec/hevcdsp_template.c
libavcodec/hevcdsp_template.c
+3
-3
libavcodec/hevcpred_template.c
libavcodec/hevcpred_template.c
+14
-15
未找到文件。
libavcodec/hevc.c
浏览文件 @
35594c48
...
...
@@ -2424,8 +2424,8 @@ static int decode_nal_units(HEVCContext *s, const uint8_t *buf, int length)
goto
fail
;
hls_nal_unit
(
s
);
if
(
s
->
nal_unit_type
==
NAL_EO
S
_NUT
||
s
->
nal_unit_type
==
NAL_EO
B
_NUT
)
if
(
s
->
nal_unit_type
==
NAL_EO
B
_NUT
||
s
->
nal_unit_type
==
NAL_EO
S
_NUT
)
s
->
eos
=
1
;
buf
+=
consumed
;
...
...
libavcodec/hevc_filter.c
浏览文件 @
35594c48
...
...
@@ -89,7 +89,7 @@ static int get_qPy_pred(HEVCContext *s, int xC, int yC,
(
xQgBase
&
ctb_size_mask
);
int
availableB
=
(
yBase
&
ctb_size_mask
)
&&
(
yQgBase
&
ctb_size_mask
);
int
qPy_pred
,
qPy_a
,
qPy_b
;
int
qPy_pred
,
qPy_a
,
qPy_b
;
// qPy_pred
if
(
lc
->
first_qp_group
)
{
...
...
libavcodec/hevc_sei.c
浏览文件 @
35594c48
...
...
@@ -57,7 +57,7 @@ static void decode_nal_sei_frame_packing_arrangement(HEVCContext *s)
get_ue_golomb
(
gb
);
// frame_packing_arrangement_id
cancel
=
get_bits1
(
gb
);
// frame_packing_cancel_flag
if
(
cancel
==
0
)
{
if
(
cancel
==
0
)
{
type
=
get_bits
(
gb
,
7
);
// frame_packing_arrangement_type
quincunx
=
get_bits1
(
gb
);
// quincunx_sampling_flag
skip_bits
(
gb
,
6
);
// content_interpretation_type
...
...
libavcodec/hevcdsp_template.c
浏览文件 @
35594c48
...
...
@@ -481,8 +481,8 @@ static void FUNC(sao_edge_filter_0)(uint8_t *_dst, uint8_t *_src,
};
static
const
uint8_t
edge_idx
[]
=
{
1
,
2
,
0
,
3
,
4
};
#define CMP(a, b) ((a) > (b) ? 1 : ((a) == (b) ? 0 : -1))
stride
/=
sizeof
(
pixel
);
if
(
!
borders
[
2
])
...
...
@@ -588,8 +588,8 @@ static void FUNC(sao_edge_filter_1)(uint8_t *_dst, uint8_t *_src,
};
static
const
uint8_t
edge_idx
[]
=
{
1
,
2
,
0
,
3
,
4
};
#define CMP(a, b) ((a) > (b) ? 1 : ((a) == (b) ? 0 : -1))
stride
/=
sizeof
(
pixel
);
init_y
=
-
(
4
>>
chroma
)
-
2
;
...
...
@@ -766,8 +766,8 @@ static void FUNC(sao_edge_filter_3)(uint8_t *_dst, uint8_t *_src,
};
static
const
uint8_t
edge_idx
[]
=
{
1
,
2
,
0
,
3
,
4
};
#define CMP(a, b) ((a) > (b) ? 1 : ((a) == (b) ? 0 : -1))
stride
/=
sizeof
(
pixel
);
init_y
=
-
(
4
>>
chroma
)
-
2
;
...
...
libavcodec/hevcpred_template.c
浏览文件 @
35594c48
/*
* HEVC video
D
ecoder
* HEVC video
d
ecoder
*
* Copyright (C) 2012 - 2013 Guillaume Martres
*
...
...
@@ -292,20 +292,6 @@ static void FUNC(intra_pred)(HEVCContext *s, int x0, int y0, int log2_size, int
top
[
-
1
]
=
left
[
-
1
];
#undef EXTEND_LEFT_CIP
#undef EXTEND_RIGHT_CIP
#undef EXTEND_UP_CIP
#undef EXTEND_DOWN_CIP
#undef IS_INTRA
#undef MVF_PU
#undef MVF
#undef PU
#undef EXTEND_LEFT
#undef EXTEND_RIGHT
#undef EXTEND_UP
#undef EXTEND_DOWN
#undef MIN_TB_ADDR_ZS
// Filtering process
if
(
c_idx
==
0
&&
mode
!=
INTRA_DC
&&
size
!=
4
)
{
int
intra_hor_ver_dist_thresh
[]
=
{
7
,
1
,
0
};
...
...
@@ -557,4 +543,17 @@ static void FUNC(pred_angular_3)(uint8_t *src, const uint8_t *top,
FUNC
(
pred_angular
)(
src
,
top
,
left
,
stride
,
c_idx
,
mode
,
1
<<
5
);
}
#undef EXTEND_LEFT_CIP
#undef EXTEND_RIGHT_CIP
#undef EXTEND_UP_CIP
#undef EXTEND_DOWN_CIP
#undef IS_INTRA
#undef MVF_PU
#undef MVF
#undef PU
#undef EXTEND_LEFT
#undef EXTEND_RIGHT
#undef EXTEND_UP
#undef EXTEND_DOWN
#undef MIN_TB_ADDR_ZS
#undef POS
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录