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
8728b381
Commit
8728b381
authored
Jul 31, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: h264dsp: Adjust YASM #ifdefs
This fixes compilation with YASM disabled.
parent
d1505db0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
h264dsp_mmx.c
libavcodec/x86/h264dsp_mmx.c
+1
-3
No files found.
libavcodec/x86/h264dsp_mmx.c
View file @
8728b381
...
...
@@ -194,9 +194,9 @@ H264_BIWEIGHT_10_SSE( 4, 10)
void
ff_h264dsp_init_x86
(
H264DSPContext
*
c
,
const
int
bit_depth
,
const
int
chroma_format_idc
)
{
#if HAVE_YASM
int
mm_flags
=
av_get_cpu_flags
();
#if HAVE_YASM
if
(
chroma_format_idc
==
1
&&
mm_flags
&
AV_CPU_FLAG_MMX2
)
{
c
->
h264_loop_filter_strength
=
ff_h264_loop_filter_strength_mmx2
;
}
...
...
@@ -282,9 +282,7 @@ void ff_h264dsp_init_x86(H264DSPContext *c, const int bit_depth, const int chrom
}
}
}
#endif
}
else
if
(
bit_depth
==
10
)
{
#if HAVE_YASM
if
(
mm_flags
&
AV_CPU_FLAG_MMX
)
{
if
(
mm_flags
&
AV_CPU_FLAG_MMX2
)
{
#if ARCH_X86_32
...
...
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