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
4dee92f6
Commit
4dee92f6
authored
Sep 27, 2017
by
Mark Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hevc: Fix aligned array declarations
(cherry picked from commit
d41e10c1
)
parent
5ae972f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
hevcdec.h
libavcodec/hevcdec.h
+1
-1
hevcdsp.c
libavcodec/hevcdsp.c
+2
-2
No files found.
libavcodec/hevcdec.h
View file @
4dee92f6
...
...
@@ -363,7 +363,7 @@ typedef struct HEVCLocalContext {
DECLARE_ALIGNED
(
32
,
uint8_t
,
edge_emu_buffer
)[(
MAX_PB_SIZE
+
7
)
*
EDGE_EMU_BUFFER_STRIDE
*
2
];
/* The extended size between the new edge emu buffer is abused by SAO */
DECLARE_ALIGNED
(
32
,
uint8_t
,
edge_emu_buffer2
)[(
MAX_PB_SIZE
+
7
)
*
EDGE_EMU_BUFFER_STRIDE
*
2
];
DECLARE_ALIGNED
(
32
,
int16_t
,
tmp
[
MAX_PB_SIZE
*
MAX_PB_SIZE
])
;
DECLARE_ALIGNED
(
32
,
int16_t
,
tmp
)[
MAX_PB_SIZE
*
MAX_PB_SIZE
]
;
int
ct_depth
;
CodingUnit
cu
;
...
...
libavcodec/hevcdsp.c
View file @
4dee92f6
...
...
@@ -91,7 +91,7 @@ static const int8_t transform[32][32] = {
90
,
-
90
,
88
,
-
85
,
82
,
-
78
,
73
,
-
67
,
61
,
-
54
,
46
,
-
38
,
31
,
-
22
,
13
,
-
4
},
};
DECLARE_ALIGNED
(
16
,
const
int8_t
,
ff_hevc_epel_filters
[
7
][
4
])
=
{
DECLARE_ALIGNED
(
16
,
const
int8_t
,
ff_hevc_epel_filters
)[
7
][
4
]
=
{
{
-
2
,
58
,
10
,
-
2
},
{
-
4
,
54
,
16
,
-
2
},
{
-
6
,
46
,
28
,
-
4
},
...
...
@@ -101,7 +101,7 @@ DECLARE_ALIGNED(16, const int8_t, ff_hevc_epel_filters[7][4]) = {
{
-
2
,
10
,
58
,
-
2
},
};
DECLARE_ALIGNED
(
16
,
const
int8_t
,
ff_hevc_qpel_filters
[
3
][
16
])
=
{
DECLARE_ALIGNED
(
16
,
const
int8_t
,
ff_hevc_qpel_filters
)[
3
][
16
]
=
{
{
-
1
,
4
,
-
10
,
58
,
17
,
-
5
,
1
,
0
,
-
1
,
4
,
-
10
,
58
,
17
,
-
5
,
1
,
0
},
{
-
1
,
4
,
-
11
,
40
,
40
,
-
11
,
4
,
-
1
,
-
1
,
4
,
-
11
,
40
,
40
,
-
11
,
4
,
-
1
},
{
0
,
1
,
-
5
,
17
,
58
,
-
10
,
4
,
-
1
,
0
,
1
,
-
5
,
17
,
58
,
-
10
,
4
,
-
1
}
...
...
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