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
03acaa4a
Commit
03acaa4a
authored
Apr 26, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: Remove disabled code.
parent
045dd4b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
23 deletions
+0
-23
rotozoom.c
tests/rotozoom.c
+0
-8
tiny_psnr.c
tests/tiny_psnr.c
+0
-15
No files found.
tests/rotozoom.c
View file @
03acaa4a
...
...
@@ -222,15 +222,7 @@ static void gen_image(int num, int w, int h)
for
(
i
=
0
;
i
<
w
;
i
++
)
{
x
+=
c
;
y
-=
s
;
#if 1
put_pixel
(
i
,
j
,
ipol
(
tab_r
,
x
,
y
),
ipol
(
tab_g
,
x
,
y
),
ipol
(
tab_b
,
x
,
y
));
#else
{
unsigned
dep
;
dep
=
((
x
>>
16
)
&
255
)
+
(((
y
>>
16
)
&
255
)
<<
8
);
put_pixel
(
i
,
j
,
tab_r
[
dep
],
tab_g
[
dep
],
tab_b
[
dep
]);
}
#endif
}
}
}
...
...
tests/tiny_psnr.c
View file @
03acaa4a
...
...
@@ -52,21 +52,6 @@ uint64_t exp16_table[21]={
582360139072LL
,
};
#if 0
// 16.16 fixpoint exp()
static unsigned int exp16(unsigned int a){
int i;
int out= 1<<16;
for(i=19;i>=0;i--){
if(a&(1<<i))
out= (out*exp16_table[i] + (1<<15))>>16;
}
return out;
}
#endif
// 16.16 fixpoint log()
static
int64_t
log16
(
uint64_t
a
){
int
i
;
...
...
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