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
/
arith_qm.h
blob
23316c95f017e6a1befa167ca5ec03786d7c565d
1
2
#ifndef _ARITH_QM_H_
3
#define _ARITH_QM_H_
4
5
typedef
struct
_ArithQM ArithQM
;
6
struct
_ArithQM
{
7
int
a
;
8
int
c
;
9
int
st
;
10
int
ct
;
11
int
bp
;
12
unsigned char
*
data
;
13
14
int
contexts_mps
[
10
];
15
int
contexts_state
[
10
];
16
};
17
18
void
arith_qm_init
(
ArithQM
*
arith
);
19
void
arith_qm_encode
(
ArithQM
*
arith
,
int
context
,
int
value
);
20
void
arith_qm_flush
(
ArithQM
*
coder
);
21
22
#endif
23