8 #define UNUSED(x) { x = x; } 10 template<
typename Sample =
unsigned char>
14 static int predict(
int x,
int y,
int xy) {
25 template<
typename Sample =
unsigned char>
29 static int predict(
int x,
int y,
int xy) {
34 template<
typename Sample =
unsigned char>
38 static int predict(
int x,
int y,
int xy) {
43 template<
typename Sample =
unsigned char>
47 static int predict(
int x,
int y,
int xy) {
48 return (3 * x + 3 * y - 2 * xy + 2) >> 2;
52 template<
typename Sample =
unsigned char>
56 static int predict(
int x,
int y,
int xy) {
58 return (x + y + 1) >> 1;
62 template<
typename Sample =
unsigned char>
66 static int predict(
int x,
int y,
int xy) {
73 template<
typename Sample =
unsigned char>
77 static int predict(
int x,
int y,
int xy) {
84 template<
typename Sample =
unsigned char>
88 static int predict(
int x,
int y,
int xy) {
static int predict(int x, int y, int xy)
static int selectVal(int s, int v0, int v1)
static int predict(int x, int y, int xy)
static int predict(int x, int y, int xy)
static int predict(int x, int y, int xy)
static int predict(int x, int y, int xy)
static int oppositeSign(int v1, int v2)
static int clampMax(int v, int max)
static int predict(int x, int y, int xy)
static int predict(int x, int y, int xy)
static int predict(int x, int y, int xy)