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
d1e6e5c8
Commit
d1e6e5c8
authored
Apr 10, 2014
by
Matt Oliver
Committed by
Michael Niedermayer
Apr 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/x86: Exclude broken get_cabac under icl.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
47647149
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
cabac.h
libavcodec/x86/cabac.h
+3
-2
h264_i386.h
libavcodec/x86/h264_i386.h
+2
-2
No files found.
libavcodec/x86/cabac.h
View file @
d1e6e5c8
...
...
@@ -28,7 +28,8 @@
#include "config.h"
#if (defined(__i386) && defined(__clang__) && (__clang_major__<2 || (__clang_major__==2 && __clang_minor__<10)))\
|| ( !defined(__clang__) && defined(__llvm__) && __GNUC__==4 && __GNUC_MINOR__==2 && __GNUC_PATCHLEVEL__<=1)
|| ( !defined(__clang__) && defined(__llvm__) && __GNUC__==4 && __GNUC_MINOR__==2 && __GNUC_PATCHLEVEL__<=1)\
|| (defined(__INTEL_COMPILER) && defined(_MSC_VER))
# define BROKEN_COMPILER 1
#else
# define BROKEN_COMPILER 0
...
...
@@ -206,7 +207,7 @@ static av_always_inline int get_cabac_inline_x86(CABACContext *c,
);
return
bit
&
1
;
}
#endif
/* HAVE_7REGS */
#endif
/* HAVE_7REGS
&& !BROKEN_COMPILER
*/
#if !BROKEN_COMPILER
#define get_cabac_bypass_sign get_cabac_bypass_sign_x86
...
...
libavcodec/x86/h264_i386.h
View file @
d1e6e5c8
...
...
@@ -38,7 +38,7 @@
//FIXME use some macros to avoid duplicating get_cabac (cannot be done yet
//as that would make optimization work hard)
#if HAVE_7REGS
#if HAVE_7REGS
&& !BROKEN_COMPILER
#define decode_significance decode_significance_x86
static
int
decode_significance_x86
(
CABACContext
*
c
,
int
max_coeff
,
uint8_t
*
significant_coeff_ctx_base
,
...
...
@@ -200,7 +200,7 @@ static int decode_significance_8x8_x86(CABACContext *c,
);
return
coeff_count
;
}
#endif
/* HAVE_7REGS &&
!defined(BROKEN_RELOCATIONS)
*/
#endif
/* HAVE_7REGS &&
BROKEN_COMPILER
*/
#endif
/* HAVE_INLINE_ASM */
#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