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
f827a170
Commit
f827a170
authored
Sep 28, 2015
by
Christophe Gisquet
Committed by
Michael Niedermayer
Oct 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
blockdsp: reindent after parameter removal
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
c4c389aa
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
24 deletions
+23
-24
blockdsp_alpha.c
libavcodec/alpha/blockdsp_alpha.c
+1
-1
blockdsp_init_neon.c
libavcodec/arm/blockdsp_init_neon.c
+2
-2
blockdsp.h
libavcodec/blockdsp.h
+1
-2
blockdsp.c
libavcodec/ppc/blockdsp.c
+11
-11
blockdsp_init.c
libavcodec/x86/blockdsp_init.c
+8
-8
No files found.
libavcodec/alpha/blockdsp_alpha.c
View file @
f827a170
...
...
@@ -45,5 +45,5 @@ static void clear_blocks_axp(int16_t *blocks) {
av_cold
void
ff_blockdsp_init_alpha
(
BlockDSPContext
*
c
)
{
c
->
clear_blocks
=
clear_blocks_axp
;
c
->
clear_blocks
=
clear_blocks_axp
;
}
libavcodec/arm/blockdsp_init_neon.c
View file @
f827a170
...
...
@@ -30,6 +30,6 @@ void ff_clear_blocks_neon(int16_t *blocks);
av_cold
void
ff_blockdsp_init_neon
(
BlockDSPContext
*
c
)
{
c
->
clear_block
=
ff_clear_block_neon
;
c
->
clear_blocks
=
ff_clear_blocks_neon
;
c
->
clear_block
=
ff_clear_block_neon
;
c
->
clear_blocks
=
ff_clear_blocks_neon
;
}
libavcodec/blockdsp.h
View file @
f827a170
...
...
@@ -43,8 +43,7 @@ void ff_blockdsp_init(BlockDSPContext *c, AVCodecContext *avctx);
void
ff_blockdsp_init_alpha
(
BlockDSPContext
*
c
);
void
ff_blockdsp_init_arm
(
BlockDSPContext
*
c
);
void
ff_blockdsp_init_ppc
(
BlockDSPContext
*
c
);
void
ff_blockdsp_init_x86
(
BlockDSPContext
*
c
,
AVCodecContext
*
avctx
);
void
ff_blockdsp_init_x86
(
BlockDSPContext
*
c
,
AVCodecContext
*
avctx
);
void
ff_blockdsp_init_mips
(
BlockDSPContext
*
c
);
#endif
/* AVCODEC_BLOCKDSP_H */
libavcodec/ppc/blockdsp.c
View file @
f827a170
...
...
@@ -146,21 +146,21 @@ static void clear_block_altivec(int16_t *block)
av_cold
void
ff_blockdsp_init_ppc
(
BlockDSPContext
*
c
)
{
// common optimizations whether AltiVec is available or not
switch
(
check_dcbzl_effect
())
{
case
32
:
c
->
clear_blocks
=
clear_blocks_dcbz32_ppc
;
break
;
case
128
:
c
->
clear_blocks
=
clear_blocks_dcbz128_ppc
;
break
;
default:
break
;
}
switch
(
check_dcbzl_effect
())
{
case
32
:
c
->
clear_blocks
=
clear_blocks_dcbz32_ppc
;
break
;
case
128
:
c
->
clear_blocks
=
clear_blocks_dcbz128_ppc
;
break
;
default:
break
;
}
#if HAVE_ALTIVEC
if
(
!
PPC_ALTIVEC
(
av_get_cpu_flags
()))
return
;
c
->
clear_block
=
clear_block_altivec
;
c
->
clear_block
=
clear_block_altivec
;
#endif
/* HAVE_ALTIVEC */
}
libavcodec/x86/blockdsp_init.c
View file @
f827a170
...
...
@@ -37,18 +37,18 @@ av_cold void ff_blockdsp_init_x86(BlockDSPContext *c,
#if HAVE_YASM
int
cpu_flags
=
av_get_cpu_flags
();
if
(
EXTERNAL_MMX
(
cpu_flags
))
{
c
->
clear_block
=
ff_clear_block_mmx
;
c
->
clear_blocks
=
ff_clear_blocks_mmx
;
}
if
(
EXTERNAL_MMX
(
cpu_flags
))
{
c
->
clear_block
=
ff_clear_block_mmx
;
c
->
clear_blocks
=
ff_clear_blocks_mmx
;
}
/* XvMCCreateBlocks() may not allocate 16-byte aligned blocks */
if
(
CONFIG_XVMC
&&
avctx
->
hwaccel
&&
avctx
->
hwaccel
->
decode_mb
)
return
;
if
(
EXTERNAL_SSE
(
cpu_flags
))
{
c
->
clear_block
=
ff_clear_block_sse
;
c
->
clear_blocks
=
ff_clear_blocks_sse
;
}
if
(
EXTERNAL_SSE
(
cpu_flags
))
{
c
->
clear_block
=
ff_clear_block_sse
;
c
->
clear_blocks
=
ff_clear_blocks_sse
;
}
#endif
/* HAVE_YASM */
}
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