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
83ae7e63
Commit
83ae7e63
authored
Apr 05, 2017
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86/idctdsp_init: reindent.
parent
32baeafe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
idctdsp_init.c
libavcodec/x86/idctdsp_init.c
+15
-15
No files found.
libavcodec/x86/idctdsp_init.c
View file @
83ae7e63
...
...
@@ -102,22 +102,22 @@ av_cold void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx,
if
(
ARCH_X86_64
&&
avctx
->
lowres
==
0
)
{
if
(
avctx
->
bits_per_raw_sample
==
10
&&
(
avctx
->
idct_algo
==
FF_IDCT_AUTO
||
avctx
->
idct_algo
==
FF_IDCT_SIMPLEAUTO
||
avctx
->
idct_algo
==
FF_IDCT_SIMPLE
))
{
if
(
EXTERNAL_SSE2
(
cpu_flags
))
{
c
->
idct_put
=
ff_simple_idct10_put_sse2
;
c
->
idct_add
=
NULL
;
c
->
idct
=
ff_simple_idct10_sse2
;
c
->
perm_type
=
FF_IDCT_PERM_TRANSPOSE
;
(
avctx
->
idct_algo
==
FF_IDCT_AUTO
||
avctx
->
idct_algo
==
FF_IDCT_SIMPLEAUTO
||
avctx
->
idct_algo
==
FF_IDCT_SIMPLE
))
{
if
(
EXTERNAL_SSE2
(
cpu_flags
))
{
c
->
idct_put
=
ff_simple_idct10_put_sse2
;
c
->
idct_add
=
NULL
;
c
->
idct
=
ff_simple_idct10_sse2
;
c
->
perm_type
=
FF_IDCT_PERM_TRANSPOSE
;
}
if
(
EXTERNAL_AVX
(
cpu_flags
))
{
c
->
idct_put
=
ff_simple_idct10_put_avx
;
c
->
idct_add
=
NULL
;
c
->
idct
=
ff_simple_idct10_avx
;
c
->
perm_type
=
FF_IDCT_PERM_TRANSPOSE
;
}
}
if
(
EXTERNAL_AVX
(
cpu_flags
))
{
c
->
idct_put
=
ff_simple_idct10_put_avx
;
c
->
idct_add
=
NULL
;
c
->
idct
=
ff_simple_idct10_avx
;
c
->
perm_type
=
FF_IDCT_PERM_TRANSPOSE
;
}
}
if
(
avctx
->
bits_per_raw_sample
==
12
&&
...
...
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