Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
ed880050
Commit
ed880050
authored
May 06, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: dsputil: Group all assembly constants together in constants.c
parent
87614667
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
15 deletions
+11
-15
constants.c
libavcodec/x86/constants.c
+11
-0
dsputil_mmx.c
libavcodec/x86/dsputil_mmx.c
+0
-15
No files found.
libavcodec/x86/constants.c
View file @
ed880050
...
@@ -30,12 +30,23 @@ DECLARE_ALIGNED(16, const xmm_reg, ff_pw_4) = { 0x0004000400040004ULL, 0x000
...
@@ -30,12 +30,23 @@ DECLARE_ALIGNED(16, const xmm_reg, ff_pw_4) = { 0x0004000400040004ULL, 0x000
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_5
)
=
{
0x0005000500050005ULL
,
0x0005000500050005ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_5
)
=
{
0x0005000500050005ULL
,
0x0005000500050005ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_8
)
=
{
0x0008000800080008ULL
,
0x0008000800080008ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_8
)
=
{
0x0008000800080008ULL
,
0x0008000800080008ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_9
)
=
{
0x0009000900090009ULL
,
0x0009000900090009ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_9
)
=
{
0x0009000900090009ULL
,
0x0009000900090009ULL
};
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pw_15
)
=
0x000F000F000F000FULL
;
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_16
)
=
{
0x0010001000100010ULL
,
0x0010001000100010ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_16
)
=
{
0x0010001000100010ULL
,
0x0010001000100010ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_17
)
=
{
0x0011001100110011ULL
,
0x0011001100110011ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_18
)
=
{
0x0012001200120012ULL
,
0x0012001200120012ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_18
)
=
{
0x0012001200120012ULL
,
0x0012001200120012ULL
};
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pw_20
)
=
0x0014001400140014ULL
;
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_32
)
=
{
0x0020002000200020ULL
,
0x0020002000200020ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_32
)
=
{
0x0020002000200020ULL
,
0x0020002000200020ULL
};
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pw_42
)
=
0x002A002A002A002AULL
;
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pw_53
)
=
0x0035003500350035ULL
;
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_64
)
=
{
0x0040004000400040ULL
,
0x0040004000400040ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_64
)
=
{
0x0040004000400040ULL
,
0x0040004000400040ULL
};
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pw_96
)
=
0x0060006000600060ULL
;
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pw_128
)
=
0x0080008000800080ULL
;
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pw_255
)
=
0x00ff00ff00ff00ffULL
;
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_512
)
=
{
0x0200020002000200ULL
,
0x0200020002000200ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_1019
)
=
{
0x03FB03FB03FB03FBULL
,
0x03FB03FB03FB03FBULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pb_0
)
=
{
0x0000000000000000ULL
,
0x0000000000000000ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pb_0
)
=
{
0x0000000000000000ULL
,
0x0000000000000000ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pb_1
)
=
{
0x0101010101010101ULL
,
0x0101010101010101ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pb_1
)
=
{
0x0101010101010101ULL
,
0x0101010101010101ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pb_3
)
=
{
0x0303030303030303ULL
,
0x0303030303030303ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pb_3
)
=
{
0x0303030303030303ULL
,
0x0303030303030303ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pb_80
)
=
{
0x8080808080808080ULL
,
0x8080808080808080ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pb_80
)
=
{
0x8080808080808080ULL
,
0x8080808080808080ULL
};
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pb_FC
)
=
0xFCFCFCFCFCFCFCFCULL
;
libavcodec/x86/dsputil_mmx.c
View file @
ed880050
...
@@ -35,21 +35,6 @@
...
@@ -35,21 +35,6 @@
//#undef NDEBUG
//#undef NDEBUG
//#include <assert.h>
//#include <assert.h>
/* pixel operations */
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pw_15
)
=
0x000F000F000F000FULL
;
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_17
)
=
{
0x0011001100110011ULL
,
0x0011001100110011ULL
};
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pw_20
)
=
0x0014001400140014ULL
;
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pw_42
)
=
0x002A002A002A002AULL
;
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pw_53
)
=
0x0035003500350035ULL
;
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pw_96
)
=
0x0060006000600060ULL
;
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pw_128
)
=
0x0080008000800080ULL
;
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pw_255
)
=
0x00ff00ff00ff00ffULL
;
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_512
)
=
{
0x0200020002000200ULL
,
0x0200020002000200ULL
};
DECLARE_ALIGNED
(
16
,
const
xmm_reg
,
ff_pw_1019
)
=
{
0x03FB03FB03FB03FBULL
,
0x03FB03FB03FB03FBULL
};
DECLARE_ALIGNED
(
8
,
const
uint64_t
,
ff_pb_FC
)
=
0xFCFCFCFCFCFCFCFCULL
;
void
ff_put_pixels8_l2_mmxext
(
uint8_t
*
dst
,
uint8_t
*
src1
,
uint8_t
*
src2
,
void
ff_put_pixels8_l2_mmxext
(
uint8_t
*
dst
,
uint8_t
*
src1
,
uint8_t
*
src2
,
int
dstStride
,
int
src1Stride
,
int
h
);
int
dstStride
,
int
src1Stride
,
int
h
);
void
ff_put_no_rnd_pixels8_l2_mmxext
(
uint8_t
*
dst
,
uint8_t
*
src1
,
void
ff_put_no_rnd_pixels8_l2_mmxext
(
uint8_t
*
dst
,
uint8_t
*
src1
,
...
...
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