Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
external
ffmpeg
Commits
81afa5a2
Commit
81afa5a2
authored
Apr 27, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simple_idct_alpha: Drop some useless casts.
parent
3fd3632f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
libavcodec/alpha/simple_idct_alpha.c
libavcodec/alpha/simple_idct_alpha.c
+7
-7
No files found.
libavcodec/alpha/simple_idct_alpha.c
View file @
81afa5a2
...
...
@@ -33,13 +33,13 @@
// cos(i * M_PI / 16) * sqrt(2) * (1 << 14)
// W4 is actually exactly 16384, but using 16383 works around
// accumulating rounding errors for some encoders
#define W1
((int_fast32_t)
22725
)
#define W2
((int_fast32_t)
21407
)
#define W3
((int_fast32_t)
19266
)
#define W4
((int_fast32_t)
16383
)
#define W5
((int_fast32_t)
12873
)
#define W6
((int_fast32_t)
8867
)
#define W7
((int_fast32_t)
4520
)
#define W1 22725
#define W2 21407
#define W3 19266
#define W4 16383
#define W5 12873
#define W6 8867
#define W7 4520
#define ROW_SHIFT 11
#define COL_SHIFT 20
...
...
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