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
0dea0114
Commit
0dea0114
authored
May 15, 2017
by
James Darnley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/x86/idctdsp_init: reindent
parent
8e89f6fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
idctdsp_init.c
libavcodec/x86/idctdsp_init.c
+19
-19
No files found.
libavcodec/x86/idctdsp_init.c
View file @
0dea0114
...
...
@@ -68,16 +68,16 @@ av_cold void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx,
c
->
put_pixels_clamped
=
ff_put_pixels_clamped_mmx
;
c
->
add_pixels_clamped
=
ff_add_pixels_clamped_mmx
;
if
(
!
high_bit_depth
&&
avctx
->
lowres
==
0
&&
(
avctx
->
idct_algo
==
FF_IDCT_AUTO
||
avctx
->
idct_algo
==
FF_IDCT_SIMPLEAUTO
||
avctx
->
idct_algo
==
FF_IDCT_SIMPLEMMX
))
{
c
->
idct_put
=
ff_simple_idct_put_mmx
;
c
->
idct_add
=
ff_simple_idct_add_mmx
;
c
->
idct
=
ff_simple_idct_mmx
;
c
->
perm_type
=
FF_IDCT_PERM_SIMPLE
;
}
if
(
!
high_bit_depth
&&
avctx
->
lowres
==
0
&&
(
avctx
->
idct_algo
==
FF_IDCT_AUTO
||
avctx
->
idct_algo
==
FF_IDCT_SIMPLEAUTO
||
avctx
->
idct_algo
==
FF_IDCT_SIMPLEMMX
))
{
c
->
idct_put
=
ff_simple_idct_put_mmx
;
c
->
idct_add
=
ff_simple_idct_add_mmx
;
c
->
idct
=
ff_simple_idct_mmx
;
c
->
perm_type
=
FF_IDCT_PERM_SIMPLE
;
}
}
if
(
EXTERNAL_SSE2
(
cpu_flags
))
{
...
...
@@ -85,15 +85,15 @@ av_cold void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx,
c
->
put_pixels_clamped
=
ff_put_pixels_clamped_sse2
;
c
->
add_pixels_clamped
=
ff_add_pixels_clamped_sse2
;
if
(
!
high_bit_depth
&&
avctx
->
lowres
==
0
&&
(
avctx
->
idct_algo
==
FF_IDCT_AUTO
||
avctx
->
idct_algo
==
FF_IDCT_SIMPLEAUTO
||
avctx
->
idct_algo
==
FF_IDCT_SIMPLEMMX
))
{
c
->
idct_put
=
ff_simple_idct_put_sse2
;
c
->
idct_add
=
ff_simple_idct_add_sse2
;
c
->
perm_type
=
FF_IDCT_PERM_SIMPLE
;
}
if
(
!
high_bit_depth
&&
avctx
->
lowres
==
0
&&
(
avctx
->
idct_algo
==
FF_IDCT_AUTO
||
avctx
->
idct_algo
==
FF_IDCT_SIMPLEAUTO
||
avctx
->
idct_algo
==
FF_IDCT_SIMPLEMMX
))
{
c
->
idct_put
=
ff_simple_idct_put_sse2
;
c
->
idct_add
=
ff_simple_idct_add_sse2
;
c
->
perm_type
=
FF_IDCT_PERM_SIMPLE
;
}
}
if
(
ARCH_X86_64
&&
avctx
->
lowres
==
0
)
{
...
...
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