Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
03acaa4a
Commit
03acaa4a
authored
14 years ago
by
Diego Biurrun
Browse files
Options
Downloads
Patches
Plain Diff
tests: Remove disabled code.
parent
045dd4b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/rotozoom.c
+0
-8
0 additions, 8 deletions
tests/rotozoom.c
tests/tiny_psnr.c
+0
-15
0 additions, 15 deletions
tests/tiny_psnr.c
with
0 additions
and
23 deletions
tests/rotozoom.c
+
0
−
8
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
}
}
}
...
...
This diff is collapsed.
Click to expand it.
tests/tiny_psnr.c
+
0
−
15
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment