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
73404a44
Commit
73404a44
authored
Jun 01, 2010
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: NEON clear_block[s]
Originally committed as revision 23412 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
522d3930
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
dsputil_init_neon.c
libavcodec/arm/dsputil_init_neon.c
+6
-0
dsputil_neon.S
libavcodec/arm/dsputil_neon.S
+16
-0
No files found.
libavcodec/arm/dsputil_init_neon.c
View file @
73404a44
...
...
@@ -34,6 +34,9 @@ void ff_vp3_idct_put_neon(uint8_t *dest, int line_size, DCTELEM *data);
void
ff_vp3_idct_add_neon
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
data
);
void
ff_vp3_idct_dc_add_neon
(
uint8_t
*
dest
,
int
line_size
,
const
DCTELEM
*
data
);
void
ff_clear_block_neon
(
DCTELEM
*
block
);
void
ff_clear_blocks_neon
(
DCTELEM
*
blocks
);
void
ff_put_pixels16_neon
(
uint8_t
*
,
const
uint8_t
*
,
int
,
int
);
void
ff_put_pixels16_x2_neon
(
uint8_t
*
,
const
uint8_t
*
,
int
,
int
);
void
ff_put_pixels16_y2_neon
(
uint8_t
*
,
const
uint8_t
*
,
int
,
int
);
...
...
@@ -189,6 +192,9 @@ void ff_dsputil_init_neon(DSPContext *c, AVCodecContext *avctx)
}
}
c
->
clear_block
=
ff_clear_block_neon
;
c
->
clear_blocks
=
ff_clear_blocks_neon
;
c
->
put_pixels_tab
[
0
][
0
]
=
ff_put_pixels16_neon
;
c
->
put_pixels_tab
[
0
][
1
]
=
ff_put_pixels16_x2_neon
;
c
->
put_pixels_tab
[
0
][
2
]
=
ff_put_pixels16_y2_neon
;
...
...
libavcodec/arm/dsputil_neon.S
View file @
73404a44
...
...
@@ -25,6 +25,22 @@
preserve8
.text
function ff_clear_block_neon, export=1
vmov.i16 q0, #0
.rept 8
vst1.16 {q0}, [r0,:128]!
.endr
bx lr
endfunc
function ff_clear_blocks_neon, export=1
vmov.i16 q0, #0
.rept 8*6
vst1.16 {q0}, [r0,:128]!
.endr
bx lr
endfunc
.macro pixels16 avg=0
.if \avg
mov ip, r0
...
...
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