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
276b995d
Commit
276b995d
authored
Nov 08, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: drop pointless ARCH_X86 #ifdef from files in x86 subdirectory
parent
f9324d5a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
cabac.h
libavcodec/x86/cabac.h
+2
-2
h264_i386.h
libavcodec/x86/h264_i386.h
+2
-2
No files found.
libavcodec/x86/cabac.h
View file @
276b995d
...
...
@@ -82,7 +82,7 @@
"add "tmp" , "low" \n\t"\
"1: \n\t"
#if
ARCH_X86 &&
HAVE_7REGS && !defined(BROKEN_RELOCATIONS)
#if HAVE_7REGS && !defined(BROKEN_RELOCATIONS)
#define get_cabac_inline get_cabac_inline_x86
static
av_always_inline
int
get_cabac_inline_x86
(
CABACContext
*
c
,
uint8_t
*
const
state
)
...
...
@@ -99,7 +99,7 @@ static av_always_inline int get_cabac_inline_x86(CABACContext *c,
);
return
bit
&
1
;
}
#endif
/*
ARCH_X86 &&
HAVE_7REGS && !defined(BROKEN_RELOCATIONS) */
#endif
/* HAVE_7REGS && !defined(BROKEN_RELOCATIONS) */
#define get_cabac_bypass_sign get_cabac_bypass_sign_x86
static
av_always_inline
int
get_cabac_bypass_sign_x86
(
CABACContext
*
c
,
int
val
)
...
...
libavcodec/x86/h264_i386.h
View file @
276b995d
...
...
@@ -36,7 +36,7 @@
//FIXME use some macros to avoid duplicating get_cabac (cannot be done yet
//as that would make optimization work hard)
#if
ARCH_X86 &&
HAVE_7REGS && !defined(BROKEN_RELOCATIONS)
#if HAVE_7REGS && !defined(BROKEN_RELOCATIONS)
static
int
decode_significance_x86
(
CABACContext
*
c
,
int
max_coeff
,
uint8_t
*
significant_coeff_ctx_base
,
int
*
index
,
x86_reg
last_off
){
...
...
@@ -145,6 +145,6 @@ static int decode_significance_8x8_x86(CABACContext *c,
);
return
coeff_count
;
}
#endif
/*
ARCH_X86 &&
HAVE_7REGS && !defined(BROKEN_RELOCATIONS) */
#endif
/* HAVE_7REGS && !defined(BROKEN_RELOCATIONS) */
#endif
/* AVCODEC_X86_H264_I386_H */
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