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
118c0421
Commit
118c0421
authored
Jun 07, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/tscc2: fix macro ()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
925bd174
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tscc2.c
libavcodec/tscc2.c
+2
-2
No files found.
libavcodec/tscc2.c
View file @
118c0421
...
...
@@ -90,14 +90,14 @@ static av_cold int init_vlcs(TSCC2Context *c)
return
0
;
}
#define DEQUANT(val, q) ((
q * val
+ 0x80) >> 8)
#define DEQUANT(val, q) ((
(q) * (val)
+ 0x80) >> 8)
#define DCT1D(d0, d1, d2, d3, s0, s1, s2, s3, OP) \
OP(d0, 5 * ((s0) + (s1) + (s2)) + 2 * (s3)); \
OP(d1, 5 * ((s0) - (s2) - (s3)) + 2 * (s1)); \
OP(d2, 5 * ((s0) - (s2) + (s3)) - 2 * (s1)); \
OP(d3, 5 * ((s0) - (s1) + (s2)) - 2 * (s3)); \
#define COL_OP(a, b) a =
b
#define COL_OP(a, b) a =
(b)
#define ROW_OP(a, b) a = ((b) + 0x20) >> 6
static
void
tscc2_idct4_put
(
int
*
in
,
int
q
[
3
],
uint8_t
*
dst
,
int
stride
)
...
...
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