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
35594c48
Commit
35594c48
authored
Nov 02, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libavcodec/hevc: random cosmetics to reduce diff to
064698d3
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
2c4f5736
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
22 deletions
+21
-22
hevc.c
libavcodec/hevc.c
+2
-2
hevc_filter.c
libavcodec/hevc_filter.c
+1
-1
hevc_sei.c
libavcodec/hevc_sei.c
+1
-1
hevcdsp_template.c
libavcodec/hevcdsp_template.c
+3
-3
hevcpred_template.c
libavcodec/hevcpred_template.c
+14
-15
No files found.
libavcodec/hevc.c
View file @
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
View file @
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
View file @
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
View file @
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
View file @
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
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