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
add40b7b
Commit
add40b7b
authored
Mar 15, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests/rotozoom: make some things const.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
a04a97bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rotozoom.c
tests/rotozoom.c
+2
-2
No files found.
tests/rotozoom.c
View file @
add40b7b
...
@@ -58,12 +58,12 @@ static int64_t int_sin(int64_t a)
...
@@ -58,12 +58,12 @@ static int64_t int_sin(int64_t a)
#define FIX(x) ((int) ((x) * (1L << SCALEBITS) + 0.5))
#define FIX(x) ((int) ((x) * (1L << SCALEBITS) + 0.5))
static
void
rgb24_to_yuv420p
(
unsigned
char
*
lum
,
unsigned
char
*
cb
,
static
void
rgb24_to_yuv420p
(
unsigned
char
*
lum
,
unsigned
char
*
cb
,
unsigned
char
*
cr
,
unsigned
char
*
src
,
unsigned
char
*
cr
,
const
unsigned
char
*
src
,
int
width
,
int
height
)
int
width
,
int
height
)
{
{
int
wrap
,
wrap3
,
x
,
y
;
int
wrap
,
wrap3
,
x
,
y
;
int
r
,
g
,
b
,
r1
,
g1
,
b1
;
int
r
,
g
,
b
,
r1
,
g1
,
b1
;
unsigned
char
*
p
;
const
unsigned
char
*
p
;
wrap
=
width
;
wrap
=
width
;
wrap3
=
width
*
3
;
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