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
67e6a9f5
Commit
67e6a9f5
authored
Aug 20, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics: Place arch initialization calls in alphabetical order
parent
f0389eb7
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
23 deletions
+30
-23
dsputil.c
libavcodec/dsputil.c
+14
-7
rv40dsp.c
libavcodec/rv40dsp.c
+2
-2
vc1dsp.c
libavcodec/vc1dsp.c
+2
-2
vorbisdsp.c
libavcodec/vorbisdsp.c
+4
-4
vp8dsp.c
libavcodec/vp8dsp.c
+2
-2
yuv2rgb.c
libswscale/yuv2rgb.c
+6
-6
No files found.
libavcodec/dsputil.c
View file @
67e6a9f5
...
@@ -2745,13 +2745,20 @@ av_cold void ff_dsputil_init(DSPContext* c, AVCodecContext *avctx)
...
@@ -2745,13 +2745,20 @@ av_cold void ff_dsputil_init(DSPContext* c, AVCodecContext *avctx)
}
}
if
(
ARCH_X86
)
ff_dsputil_init_x86
(
c
,
avctx
);
if
(
ARCH_ALPHA
)
if
(
ARCH_ARM
)
ff_dsputil_init_arm
(
c
,
avctx
);
ff_dsputil_init_alpha
(
c
,
avctx
);
if
(
HAVE_VIS
)
ff_dsputil_init_vis
(
c
,
avctx
);
if
(
ARCH_ARM
)
if
(
ARCH_ALPHA
)
ff_dsputil_init_alpha
(
c
,
avctx
);
ff_dsputil_init_arm
(
c
,
avctx
);
if
(
ARCH_PPC
)
ff_dsputil_init_ppc
(
c
,
avctx
);
if
(
ARCH_BFIN
)
if
(
ARCH_SH4
)
ff_dsputil_init_sh4
(
c
,
avctx
);
ff_dsputil_init_bfin
(
c
,
avctx
);
if
(
ARCH_BFIN
)
ff_dsputil_init_bfin
(
c
,
avctx
);
if
(
ARCH_PPC
)
ff_dsputil_init_ppc
(
c
,
avctx
);
if
(
ARCH_SH4
)
ff_dsputil_init_sh4
(
c
,
avctx
);
if
(
HAVE_VIS
)
ff_dsputil_init_vis
(
c
,
avctx
);
if
(
ARCH_X86
)
ff_dsputil_init_x86
(
c
,
avctx
);
ff_init_scantable_permutation
(
c
->
idct_permutation
,
ff_init_scantable_permutation
(
c
->
idct_permutation
,
c
->
idct_permutation_type
);
c
->
idct_permutation_type
);
...
...
libavcodec/rv40dsp.c
View file @
67e6a9f5
...
@@ -618,8 +618,8 @@ av_cold void ff_rv40dsp_init(RV34DSPContext *c)
...
@@ -618,8 +618,8 @@ av_cold void ff_rv40dsp_init(RV34DSPContext *c)
c
->
rv40_loop_filter_strength
[
0
]
=
rv40_h_loop_filter_strength
;
c
->
rv40_loop_filter_strength
[
0
]
=
rv40_h_loop_filter_strength
;
c
->
rv40_loop_filter_strength
[
1
]
=
rv40_v_loop_filter_strength
;
c
->
rv40_loop_filter_strength
[
1
]
=
rv40_v_loop_filter_strength
;
if
(
ARCH_X86
)
ff_rv40dsp_init_x86
(
c
);
if
(
ARCH_ARM
)
if
(
ARCH_ARM
)
ff_rv40dsp_init_arm
(
c
);
ff_rv40dsp_init_arm
(
c
);
if
(
ARCH_X86
)
ff_rv40dsp_init_x86
(
c
);
}
}
libavcodec/vc1dsp.c
View file @
67e6a9f5
...
@@ -854,8 +854,8 @@ av_cold void ff_vc1dsp_init(VC1DSPContext* dsp) {
...
@@ -854,8 +854,8 @@ av_cold void ff_vc1dsp_init(VC1DSPContext* dsp) {
dsp
->
sprite_v_double_twoscale
=
sprite_v_double_twoscale_c
;
dsp
->
sprite_v_double_twoscale
=
sprite_v_double_twoscale_c
;
#endif
#endif
if
(
ARCH_X86
)
ff_vc1dsp_init_x86
(
dsp
);
if
(
ARCH_PPC
)
if
(
ARCH_PPC
)
ff_vc1dsp_init_ppc
(
dsp
);
ff_vc1dsp_init_ppc
(
dsp
);
if
(
ARCH_X86
)
ff_vc1dsp_init_x86
(
dsp
);
}
}
libavcodec/vorbisdsp.c
View file @
67e6a9f5
...
@@ -25,10 +25,10 @@ av_cold void ff_vorbisdsp_init(VorbisDSPContext *dsp)
...
@@ -25,10 +25,10 @@ av_cold void ff_vorbisdsp_init(VorbisDSPContext *dsp)
{
{
dsp
->
vorbis_inverse_coupling
=
ff_vorbis_inverse_coupling
;
dsp
->
vorbis_inverse_coupling
=
ff_vorbis_inverse_coupling
;
if
(
ARCH_X86
)
ff_vorbisdsp_init_x86
(
dsp
);
if
(
ARCH_PPC
)
ff_vorbisdsp_init_ppc
(
dsp
);
if
(
ARCH_ARM
)
if
(
ARCH_ARM
)
ff_vorbisdsp_init_arm
(
dsp
);
ff_vorbisdsp_init_arm
(
dsp
);
if
(
ARCH_PPC
)
ff_vorbisdsp_init_ppc
(
dsp
);
if
(
ARCH_X86
)
ff_vorbisdsp_init_x86
(
dsp
);
}
}
libavcodec/vp8dsp.c
View file @
67e6a9f5
...
@@ -521,10 +521,10 @@ av_cold void ff_vp8dsp_init(VP8DSPContext *dsp)
...
@@ -521,10 +521,10 @@ av_cold void ff_vp8dsp_init(VP8DSPContext *dsp)
VP8_BILINEAR_MC_FUNC
(
1
,
8
);
VP8_BILINEAR_MC_FUNC
(
1
,
8
);
VP8_BILINEAR_MC_FUNC
(
2
,
4
);
VP8_BILINEAR_MC_FUNC
(
2
,
4
);
if
(
ARCH_X86
)
ff_vp8dsp_init_x86
(
dsp
);
if
(
ARCH_ARM
)
if
(
ARCH_ARM
)
ff_vp8dsp_init_arm
(
dsp
);
ff_vp8dsp_init_arm
(
dsp
);
if
(
ARCH_PPC
)
if
(
ARCH_PPC
)
ff_vp8dsp_init_ppc
(
dsp
);
ff_vp8dsp_init_ppc
(
dsp
);
if
(
ARCH_X86
)
ff_vp8dsp_init_x86
(
dsp
);
}
}
libswscale/yuv2rgb.c
View file @
67e6a9f5
...
@@ -560,14 +560,14 @@ SwsFunc ff_yuv2rgb_get_func_ptr(SwsContext *c)
...
@@ -560,14 +560,14 @@ SwsFunc ff_yuv2rgb_get_func_ptr(SwsContext *c)
{
{
SwsFunc
t
=
NULL
;
SwsFunc
t
=
NULL
;
if
(
ARCH_X86
)
if
(
ARCH_BFIN
)
t
=
ff_yuv2rgb_init_x86
(
c
);
else
if
(
HAVE_VIS
)
t
=
ff_yuv2rgb_init_vis
(
c
);
else
if
(
ARCH_BFIN
)
t
=
ff_yuv2rgb_init_bfin
(
c
);
t
=
ff_yuv2rgb_init_bfin
(
c
);
else
if
(
ARCH_PPC
)
if
(
ARCH_PPC
)
t
=
ff_yuv2rgb_init_ppc
(
c
);
t
=
ff_yuv2rgb_init_ppc
(
c
);
if
(
HAVE_VIS
)
t
=
ff_yuv2rgb_init_vis
(
c
);
if
(
ARCH_X86
)
t
=
ff_yuv2rgb_init_x86
(
c
);
if
(
t
)
if
(
t
)
return
t
;
return
t
;
...
...
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