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
245b76a1
Commit
245b76a1
authored
May 07, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: dsputil: Split inline assembly from init code
Also remove some pointless comments.
parent
46bb4568
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
759 additions
and
727 deletions
+759
-727
Makefile
libavcodec/x86/Makefile
+2
-1
dsputil_init.c
libavcodec/x86/dsputil_init.c
+718
-0
dsputil_mmx.c
libavcodec/x86/dsputil_mmx.c
+18
-726
dsputil_mmx.h
libavcodec/x86/dsputil_mmx.h
+21
-0
No files found.
libavcodec/x86/Makefile
View file @
245b76a1
...
...
@@ -31,7 +31,8 @@ OBJS-$(CONFIG_VP6_DECODER) += x86/vp56dsp_init.o
OBJS-$(CONFIG_VP8_DECODER)
+=
x86/vp8dsp_init.o
OBJS-$(CONFIG_XMM_CLOBBER_TEST)
+=
x86/w64xmmtest.o
MMX-OBJS-$(CONFIG_DSPUTIL)
+=
x86/dsputil_mmx.o
\
MMX-OBJS-$(CONFIG_DSPUTIL)
+=
x86/dsputil_init.o
\
x86/dsputil_mmx.o
\
x86/fdct.o
\
x86/fpel_mmx.o
\
x86/idct_mmx_xvid.o
\
...
...
libavcodec/x86/dsputil_init.c
0 → 100644
View file @
245b76a1
This diff is collapsed.
Click to expand it.
libavcodec/x86/dsputil_mmx.c
View file @
245b76a1
This diff is collapsed.
Click to expand it.
libavcodec/x86/dsputil_mmx.h
View file @
245b76a1
...
...
@@ -110,6 +110,27 @@ void ff_add_pixels_clamped_mmx(const int16_t *block, uint8_t *pixels, int line_s
void
ff_put_pixels_clamped_mmx
(
const
int16_t
*
block
,
uint8_t
*
pixels
,
int
line_size
);
void
ff_put_signed_pixels_clamped_mmx
(
const
int16_t
*
block
,
uint8_t
*
pixels
,
int
line_size
);
void
ff_clear_block_mmx
(
int16_t
*
block
);
void
ff_clear_block_sse
(
int16_t
*
block
);
void
ff_clear_blocks_mmx
(
int16_t
*
blocks
);
void
ff_clear_blocks_sse
(
int16_t
*
blocks
);
void
ff_add_bytes_mmx
(
uint8_t
*
dst
,
uint8_t
*
src
,
int
w
);
void
ff_add_hfyu_median_prediction_cmov
(
uint8_t
*
dst
,
const
uint8_t
*
top
,
const
uint8_t
*
diff
,
int
w
,
int
*
left
,
int
*
left_top
);
void
ff_draw_edges_mmx
(
uint8_t
*
buf
,
int
wrap
,
int
width
,
int
height
,
int
w
,
int
h
,
int
sides
);
void
ff_gmc_mmx
(
uint8_t
*
dst
,
uint8_t
*
src
,
int
stride
,
int
h
,
int
ox
,
int
oy
,
int
dxx
,
int
dxy
,
int
dyx
,
int
dyy
,
int
shift
,
int
r
,
int
width
,
int
height
);
void
ff_vector_clipf_sse
(
float
*
dst
,
const
float
*
src
,
float
min
,
float
max
,
int
len
);
void
ff_avg_pixels8_mmx
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
ptrdiff_t
line_size
,
int
h
);
...
...
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