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
d189a426
Commit
d189a426
authored
Nov 21, 2017
by
Martin Vignali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/huffyuvdspenc : reorganize diff_int16
parent
e641c941
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
7 deletions
+17
-7
huffyuvencdsp.asm
libavcodec/x86/huffyuvencdsp.asm
+17
-7
No files found.
libavcodec/x86/huffyuvencdsp.asm
View file @
d189a426
...
...
@@ -29,26 +29,36 @@ SECTION .text
%include
"libavcodec/x86/huffyuvdsp_template.asm"
;------------------------------------------------------------------------------
; void ff_diff_int16(uint8_t *dst, const uint8_t *src1, const uint8_t *src2,
; unsigned mask, int w);
;------------------------------------------------------------------------------
%if
ARCH_X86_32
INIT_MMX
mmx
cglobal
diff_int16
,
5
,
5
,
5
,
dst
,
src1
,
src2
,
mask
,
w
,
tmp
INT16_LOOP
a
,
sub
%endif
INIT_XMM
sse2
%macro
DIFF_INT16
0
cglobal
diff_int16
,
5
,
5
,
5
,
dst
,
src1
,
src2
,
mask
,
w
,
tmp
%if
mmsize
>
8
test
src1q
,
mmsize
-
1
jnz
.
unaligned
test
src2q
,
mmsize
-
1
jnz
.
unaligned
test
dstq
,
mmsize
-
1
jnz
.
unaligned
%endif
INT16_LOOP
a
,
sub
%if
mmsize
>
8
.
unaligned
:
INT16_LOOP
u
,
sub
%endif
%endmacro
%if
ARCH_X86_32
INIT_MMX
mmx
DIFF_INT16
%endif
INIT_XMM
sse2
DIFF_INT16
INIT_MMX
mmxext
cglobal
sub_hfyu_median_pred_int16
,
7
,
7
,
0
,
dst
,
src1
,
src2
,
mask
,
w
,
left
,
left_top
...
...
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