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
81ef892c
Commit
81ef892c
authored
Jun 22, 2011
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use HAVE_TEN_OPERANDS for new decode_significance* functions.
parent
c956907e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
h264_cabac.c
libavcodec/h264_cabac.c
+1
-1
h264_i386.h
libavcodec/x86/h264_i386.h
+1
-1
No files found.
libavcodec/h264_cabac.c
View file @
81ef892c
...
...
@@ -1647,7 +1647,7 @@ static av_always_inline void decode_cabac_residual_internal( H264Context *h, DCT
index[coeff_count++] = last;\
}
const
uint8_t
*
sig_off
=
significant_coeff_flag_offset_8x8
[
MB_FIELD
];
#if ARCH_X86 && HAVE_7REGS && HAVE_EBX_AVAILABLE && !defined(BROKEN_RELOCATIONS)
#if ARCH_X86 && HAVE_7REGS && HAVE_EBX_AVAILABLE && !defined(BROKEN_RELOCATIONS)
&& HAVE_TEN_OPERANDS
coeff_count
=
decode_significance_8x8_x86
(
CC
,
significant_coeff_ctx_base
,
index
,
last_coeff_ctx_base
-
significant_coeff_ctx_base
,
sig_off
);
}
else
{
...
...
libavcodec/x86/h264_i386.h
View file @
81ef892c
...
...
@@ -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 ARCH_X86 && HAVE_7REGS && !defined(BROKEN_RELOCATIONS)
&& HAVE_TEN_OPERANDS
static
int
decode_significance_x86
(
CABACContext
*
c
,
int
max_coeff
,
uint8_t
*
significant_coeff_ctx_base
,
int
*
index
,
x86_reg
last_off
){
...
...
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