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
ce080f47
Commit
ce080f47
authored
May 04, 2017
by
Alexandra Hájková
Committed by
Martin Storsjö
May 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hevc: Add NEON 32x32 IDCT
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
118dd4a3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
294 additions
and
21 deletions
+294
-21
hevc_idct.S
libavcodec/arm/hevc_idct.S
+290
-21
hevcdsp_init_arm.c
libavcodec/arm/hevcdsp_init_arm.c
+4
-0
No files found.
libavcodec/arm/hevc_idct.S
View file @
ce080f47
This diff is collapsed.
Click to expand it.
libavcodec/arm/hevcdsp_init_arm.c
View file @
ce080f47
...
@@ -55,9 +55,11 @@ void ff_hevc_idct_32x32_dc_10_neon(int16_t *coeffs);
...
@@ -55,9 +55,11 @@ void ff_hevc_idct_32x32_dc_10_neon(int16_t *coeffs);
void
ff_hevc_idct_4x4_8_neon
(
int16_t
*
coeffs
,
int
col_limit
);
void
ff_hevc_idct_4x4_8_neon
(
int16_t
*
coeffs
,
int
col_limit
);
void
ff_hevc_idct_8x8_8_neon
(
int16_t
*
coeffs
,
int
col_limit
);
void
ff_hevc_idct_8x8_8_neon
(
int16_t
*
coeffs
,
int
col_limit
);
void
ff_hevc_idct_16x16_8_neon
(
int16_t
*
coeffs
,
int
col_limit
);
void
ff_hevc_idct_16x16_8_neon
(
int16_t
*
coeffs
,
int
col_limit
);
void
ff_hevc_idct_32x32_8_neon
(
int16_t
*
coeffs
,
int
col_limit
);
void
ff_hevc_idct_4x4_10_neon
(
int16_t
*
coeffs
,
int
col_limit
);
void
ff_hevc_idct_4x4_10_neon
(
int16_t
*
coeffs
,
int
col_limit
);
void
ff_hevc_idct_8x8_10_neon
(
int16_t
*
coeffs
,
int
col_limit
);
void
ff_hevc_idct_8x8_10_neon
(
int16_t
*
coeffs
,
int
col_limit
);
void
ff_hevc_idct_16x16_10_neon
(
int16_t
*
coeffs
,
int
col_limit
);
void
ff_hevc_idct_16x16_10_neon
(
int16_t
*
coeffs
,
int
col_limit
);
void
ff_hevc_idct_32x32_10_neon
(
int16_t
*
coeffs
,
int
col_limit
);
av_cold
void
ff_hevc_dsp_init_arm
(
HEVCDSPContext
*
c
,
int
bit_depth
)
av_cold
void
ff_hevc_dsp_init_arm
(
HEVCDSPContext
*
c
,
int
bit_depth
)
{
{
...
@@ -78,6 +80,7 @@ av_cold void ff_hevc_dsp_init_arm(HEVCDSPContext *c, int bit_depth)
...
@@ -78,6 +80,7 @@ av_cold void ff_hevc_dsp_init_arm(HEVCDSPContext *c, int bit_depth)
c
->
idct
[
0
]
=
ff_hevc_idct_4x4_8_neon
;
c
->
idct
[
0
]
=
ff_hevc_idct_4x4_8_neon
;
c
->
idct
[
1
]
=
ff_hevc_idct_8x8_8_neon
;
c
->
idct
[
1
]
=
ff_hevc_idct_8x8_8_neon
;
c
->
idct
[
2
]
=
ff_hevc_idct_16x16_8_neon
;
c
->
idct
[
2
]
=
ff_hevc_idct_16x16_8_neon
;
c
->
idct
[
3
]
=
ff_hevc_idct_32x32_8_neon
;
}
}
if
(
bit_depth
==
10
)
{
if
(
bit_depth
==
10
)
{
c
->
add_residual
[
0
]
=
ff_hevc_add_residual_4x4_10_neon
;
c
->
add_residual
[
0
]
=
ff_hevc_add_residual_4x4_10_neon
;
...
@@ -93,6 +96,7 @@ av_cold void ff_hevc_dsp_init_arm(HEVCDSPContext *c, int bit_depth)
...
@@ -93,6 +96,7 @@ av_cold void ff_hevc_dsp_init_arm(HEVCDSPContext *c, int bit_depth)
c
->
idct
[
0
]
=
ff_hevc_idct_4x4_10_neon
;
c
->
idct
[
0
]
=
ff_hevc_idct_4x4_10_neon
;
c
->
idct
[
1
]
=
ff_hevc_idct_8x8_10_neon
;
c
->
idct
[
1
]
=
ff_hevc_idct_8x8_10_neon
;
c
->
idct
[
2
]
=
ff_hevc_idct_16x16_10_neon
;
c
->
idct
[
2
]
=
ff_hevc_idct_16x16_10_neon
;
c
->
idct
[
3
]
=
ff_hevc_idct_32x32_10_neon
;
}
}
}
}
}
}
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