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
5a37c12c
Commit
5a37c12c
authored
May 09, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rotozoom: Drop silly UINT8 typedef.
parent
e9c10459
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
rotozoom.c
tests/rotozoom.c
+4
-4
No files found.
tests/rotozoom.c
View file @
5a37c12c
...
...
@@ -56,14 +56,14 @@ static int64_t int_sin(int64_t a)
#define SCALEBITS 8
#define ONE_HALF (1 << (SCALEBITS - 1))
#define FIX(x) ((int) ((x) * (1L << SCALEBITS) + 0.5))
typedef
unsigned
char
UINT8
;
static
void
rgb24_to_yuv420p
(
UINT8
*
lum
,
UINT8
*
cb
,
UINT8
*
cr
,
UINT8
*
src
,
int
width
,
int
height
)
static
void
rgb24_to_yuv420p
(
unsigned
char
*
lum
,
unsigned
char
*
cb
,
unsigned
char
*
cr
,
unsigned
char
*
src
,
int
width
,
int
height
)
{
int
wrap
,
wrap3
,
x
,
y
;
int
r
,
g
,
b
,
r1
,
g1
,
b1
;
UINT8
*
p
;
unsigned
char
*
p
;
wrap
=
width
;
wrap3
=
width
*
3
;
...
...
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