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
1f156af4
Commit
1f156af4
authored
Aug 27, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: xvid_idct: Drop unused definitions
parent
404731bd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
20 deletions
+0
-20
idct_mmx_xvid.c
libavcodec/x86/idct_mmx_xvid.c
+0
-17
idct_sse2_xvid.c
libavcodec/x86/idct_sse2_xvid.c
+0
-3
No files found.
libavcodec/x86/idct_mmx_xvid.c
View file @
1f156af4
...
...
@@ -49,23 +49,6 @@
#if HAVE_MMX_INLINE
//=============================================================================
// Macros and other preprocessor constants
//=============================================================================
#define BITS_INV_ACC 5 // 4 or 5 for IEEE
#define SHIFT_INV_ROW (16 - BITS_INV_ACC) //11
#define SHIFT_INV_COL (1 + BITS_INV_ACC) //6
#define RND_INV_ROW (1024 * (6 - BITS_INV_ACC))
#define RND_INV_COL (16 * (BITS_INV_ACC - 3))
#define RND_INV_CORR (RND_INV_COL - 1)
#define BITS_FRW_ACC 3 // 2 or 3 for accuracy
#define SHIFT_FRW_COL BITS_FRW_ACC
#define SHIFT_FRW_ROW (BITS_FRW_ACC + 17)
#define RND_FRW_ROW (262144*(BITS_FRW_ACC - 1))
//-----------------------------------------------------------------------------
// Various memory constants (trigonometric values or rounding values)
//-----------------------------------------------------------------------------
...
...
libavcodec/x86/idct_sse2_xvid.c
View file @
1f156af4
...
...
@@ -53,9 +53,6 @@
#define X8(x) x,x,x,x,x,x,x,x
#define ROW_SHIFT 11
#define COL_SHIFT 6
DECLARE_ASM_CONST
(
16
,
int16_t
,
tan1
)[]
=
{
X8
(
13036
)};
// tan( pi/16)
DECLARE_ASM_CONST
(
16
,
int16_t
,
tan2
)[]
=
{
X8
(
27146
)};
// tan(2pi/16) = sqrt(2)-1
DECLARE_ASM_CONST
(
16
,
int16_t
,
tan3
)[]
=
{
X8
(
43790
)};
// tan(3pi/16)-1
...
...
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