Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Strogin
flac
Commits
ace63cc8
Commit
ace63cc8
authored
Feb 25, 2014
by
Erik de Castro Lopo
Browse files
stream_encoder.c : ifdef cleanup.
Patch-from: lvqcl <lvqcl.mail@gmail.com>
parent
b334fb2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libFLAC/stream_encoder.c
View file @
ace63cc8
...
...
@@ -968,22 +968,22 @@ static FLAC__StreamEncoderInitStatus init_stream_internal_(
#if !defined FLAC__NO_ASM && defined FLAC__HAS_X86INTRIN
if
(
encoder
->
private_
->
cpuinfo
.
use_asm
)
{
# if defined FLAC__CPU_IA32
# ifdef FLAC__SSSE3_SUPPORTED
# ifdef FLAC__SSE2_SUPPORTED
# ifdef FLAC__SSSE3_SUPPORTED
if
(
encoder
->
private_
->
cpuinfo
.
ia32
.
ssse3
)
encoder
->
private_
->
local_precompute_partition_info_sums
=
FLAC__precompute_partition_info_sums_intrin_ssse3
;
else
# endif
# ifdef FLAC__SSE2_SUPPORTED
# endif
if
(
encoder
->
private_
->
cpuinfo
.
ia32
.
sse2
)
encoder
->
private_
->
local_precompute_partition_info_sums
=
FLAC__precompute_partition_info_sums_intrin_sse2
;
# endif
# elif defined FLAC__CPU_X86_64
# ifdef FLAC__SSSE3_SUPPORTED
# ifdef FLAC__SSE2_SUPPORTED
# ifdef FLAC__SSSE3_SUPPORTED
if
(
encoder
->
private_
->
cpuinfo
.
x86_64
.
ssse3
)
encoder
->
private_
->
local_precompute_partition_info_sums
=
FLAC__precompute_partition_info_sums_intrin_ssse3
;
else
# endif
# ifdef FLAC__SSE2_SUPPORTED
# endif
encoder
->
private_
->
local_precompute_partition_info_sums
=
FLAC__precompute_partition_info_sums_intrin_sse2
;
# endif
# endif
/* FLAC__CPU_... */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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