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
95bfa4ea
Commit
95bfa4ea
authored
Mar 17, 2012
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264: reindent get_cabac_bypass_sign_x86().
parent
db025929
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
22 deletions
+22
-22
cabac.h
libavcodec/x86/cabac.h
+22
-22
No files found.
libavcodec/x86/cabac.h
View file @
95bfa4ea
...
...
@@ -105,28 +105,28 @@ static av_always_inline int get_cabac_bypass_sign_x86(CABACContext *c, int val)
{
x86_reg
tmp
;
__asm__
volatile
(
"movl
%a5(%2), %k1
\n\t
"
"movl
%a3(%2), %%eax
\n\t
"
"shl
$17, %k1
\n\t
"
"add
%%eax, %%eax
\n\t
"
"sub
%k1, %%eax
\n\t
"
"cltd
\n\t
"
"and
%%edx, %k1
\n\t
"
"add
%k1, %%eax
\n\t
"
"xor
%%edx, %%ecx
\n\t
"
"sub
%%edx, %%ecx
\n\t
"
"test
%%ax, %%ax
\n\t
"
"
jnz 1f
\n\t
"
"mov
%a4(%2), %1
\n\t
"
"subl
$0xFFFF, %%eax
\n\t
"
"movzwl
(%1), %%edx
\n\t
"
"bswap
%%edx
\n\t
"
"shrl
$15, %%edx
\n\t
"
"add
$2, %1
\n\t
"
"addl
%%edx, %%eax
\n\t
"
"mov
%1, %a4(%2)
\n\t
"
"1:
\n\t
"
"movl
%%eax, %a3(%2)
\n\t
"
"movl
%a5(%2), %k1
\n\t
"
"movl
%a3(%2), %%eax
\n\t
"
"shl
$17, %k1
\n\t
"
"add
%%eax, %%eax
\n\t
"
"sub
%k1, %%eax
\n\t
"
"cltd
\n\t
"
"and
%%edx, %k1
\n\t
"
"add
%k1, %%eax
\n\t
"
"xor
%%edx, %%ecx
\n\t
"
"sub
%%edx, %%ecx
\n\t
"
"test
%%ax, %%ax
\n\t
"
"
jnz 1f
\n\t
"
"mov
%a4(%2), %1
\n\t
"
"subl
$0xFFFF, %%eax
\n\t
"
"movzwl
(%1), %%edx
\n\t
"
"bswap
%%edx
\n\t
"
"shrl
$15, %%edx
\n\t
"
"add
$2, %1
\n\t
"
"addl
%%edx, %%eax
\n\t
"
"mov
%1, %a4(%2)
\n\t
"
"1:
\n\t
"
"movl
%%eax, %a3(%2)
\n\t
"
:
"+c"
(
val
),
"=&r"
(
tmp
)
:
"r"
(
c
),
...
...
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