repo.or.cz
/
schroedinger
/
research-port.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[encoder] Added 1/8th pel MV refinement
[schroedinger/research-port.git]
/
testsuite
/
utils.c
blob
27d6a4d75ad147b8847de2da230231ede585f745
1
2
#include <stdio.h>
3
#include <stdlib.h>
4
#include <time.h>
5
#include <string.h>
6
7
#include <schroedinger/schro.h>
8
#include <schroedinger/schrounpack.h>
9
10
int
11
main
(
int
argc
,
char
*
argv
[])
12
{
13
int
i
;
14
double
x
;
15
int
j
,
k
;
16
17
schro_init
();
18
19
for
(
i
=
0
;
i
<
100
;
i
++){
20
x
=
i
*
1
;
21
j
=
schro_utils_multiplier_to_quant_index
(
x
);
22
k
=
schro_table_quant
[
j
];
23
printf
(
"%g %d %d
\n
"
,
x
,
j
,
k
);
24
}
25
26
exit
(
0
);
27
}
28
29
30