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
814208a7
Commit
814208a7
authored
Apr 30, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: Mark some file-internal symbols as static.
parent
b5a3c603
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
rotozoom.c
tests/rotozoom.c
+7
-7
videogen.c
tests/videogen.c
+4
-4
No files found.
tests/rotozoom.c
View file @
814208a7
...
...
@@ -160,8 +160,8 @@ static void pgmyuv_save(const char *filename, int w, int h,
free
(
cr_tab
);
}
unsigned
char
*
rgb_tab
;
int
width
,
height
,
wrap
;
static
unsigned
char
*
rgb_tab
;
static
int
width
,
height
,
wrap
;
static
void
put_pixel
(
int
x
,
int
y
,
int
r
,
int
g
,
int
b
)
{
...
...
@@ -177,12 +177,12 @@ static void put_pixel(int x, int y, int r, int g, int b)
p
[
2
]
=
b
;
}
unsigned
char
tab_r
[
256
*
256
];
unsigned
char
tab_g
[
256
*
256
];
unsigned
char
tab_b
[
256
*
256
];
static
unsigned
char
tab_r
[
256
*
256
];
static
unsigned
char
tab_g
[
256
*
256
];
static
unsigned
char
tab_b
[
256
*
256
];
int
h_cos
[
360
];
int
h_sin
[
360
];
static
int
h_cos
[
360
];
static
int
h_sin
[
360
];
static
int
ipol
(
uint8_t
*
src
,
int
x
,
int
y
)
{
...
...
tests/videogen.c
View file @
814208a7
...
...
@@ -137,8 +137,8 @@ static void pgmyuv_save(const char *filename, int w, int h,
free
(
cr_tab
);
}
unsigned
char
*
rgb_tab
;
int
width
,
height
,
wrap
;
static
unsigned
char
*
rgb_tab
;
static
int
width
,
height
,
wrap
;
static
void
put_pixel
(
int
x
,
int
y
,
int
r
,
int
g
,
int
b
)
{
...
...
@@ -200,9 +200,9 @@ typedef struct VObj {
int
r
,
g
,
b
;
}
VObj
;
VObj
objs
[
NB_OBJS
];
static
VObj
objs
[
NB_OBJS
];
unsigned
int
seed
=
1
;
static
unsigned
int
seed
=
1
;
static
void
gen_image
(
int
num
,
int
w
,
int
h
)
{
...
...
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