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
6ecc3fd6
Commit
6ecc3fd6
authored
Feb 05, 2015
by
Mickaël Raulet
Committed by
Michael Niedermayer
Feb 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86/hevc_mc: use aligned loads
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
383fddee
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
hevc.h
libavcodec/hevc.h
+1
-1
hevc_mc.asm
libavcodec/x86/hevc_mc.asm
+3
-3
No files found.
libavcodec/hevc.h
View file @
6ecc3fd6
...
...
@@ -771,7 +771,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
(
16
,
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/x86/hevc_mc.asm
View file @
6ecc3fd6
...
...
@@ -103,14 +103,14 @@ QPEL_TABLE 10, 8, w, avx2
%endif
;avx
%elif
%1
<=
16
%if
cpuflag
(
avx2
)
mov
u
%3
,
[
%2
]
mov
a
%3
,
[
%2
]
%else
movdqa
%3
,
[
%2
]
; load data from source2
movdqa
%4
,
[
%2
+
16
]
; load data from source2
%endif
; avx
%else
; %1 = 32
mov
u
%3
,
[
%2
]
mov
u
%4
,
[
%2
+
32
]
mov
a
%3
,
[
%2
]
mov
a
%4
,
[
%2
+
32
]
%endif
%endmacro
...
...
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