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
0e699676
Commit
0e699676
authored
Feb 27, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/snow: mark dwt init as av_cold
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
22a80272
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
snow_dwt.c
libavcodec/snow_dwt.c
+2
-2
snowdsp.c
libavcodec/x86/snowdsp.c
+1
-1
No files found.
libavcodec/snow_dwt.c
View file @
0e699676
...
...
@@ -839,7 +839,7 @@ int ff_w97_32_c(struct MpegEncContext *v, uint8_t *pix1, uint8_t *pix2, ptrdiff_
return
w_c
(
v
,
pix1
,
pix2
,
line_size
,
32
,
h
,
0
);
}
void
ff_dsputil_init_dwt
(
MECmpContext
*
c
)
av_cold
void
ff_dsputil_init_dwt
(
MECmpContext
*
c
)
{
c
->
w53
[
0
]
=
w53_16_c
;
c
->
w53
[
1
]
=
w53_8_c
;
...
...
@@ -847,7 +847,7 @@ void ff_dsputil_init_dwt(MECmpContext *c)
c
->
w97
[
1
]
=
w97_8_c
;
}
void
ff_dwt_init
(
SnowDWTContext
*
c
)
av_cold
void
ff_dwt_init
(
SnowDWTContext
*
c
)
{
c
->
vertical_compose97i
=
ff_snow_vertical_compose97i
;
c
->
horizontal_compose97i
=
ff_snow_horizontal_compose97i
;
...
...
libavcodec/x86/snowdsp.c
View file @
0e699676
...
...
@@ -877,7 +877,7 @@ static void ff_snow_inner_add_yblock_mmx(const uint8_t *obmc, const int obmc_str
#endif
/* HAVE_INLINE_ASM */
void
ff_dwt_init_x86
(
SnowDWTContext
*
c
)
av_cold
void
ff_dwt_init_x86
(
SnowDWTContext
*
c
)
{
#if HAVE_INLINE_ASM
int
mm_flags
=
av_get_cpu_flags
();
...
...
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