2010-05-18 17:58:33 +02:00
|
|
|
/*
|
2010-09-09 14:16:39 +02:00
|
|
|
* Copyright (c) 2010 The WebM project authors. All Rights Reserved.
|
2010-05-18 17:58:33 +02:00
|
|
|
*
|
2010-06-18 18:39:21 +02:00
|
|
|
* Use of this source code is governed by a BSD-style license
|
2010-06-04 22:19:40 +02:00
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
2010-06-18 18:39:21 +02:00
|
|
|
* in the file PATENTS. All contributing project authors may
|
2010-06-04 22:19:40 +02:00
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
2010-05-18 17:58:33 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include "entropymv.h"
|
|
|
|
|
2012-02-16 18:29:54 +01:00
|
|
|
#if CONFIG_HIGH_PRECISION_MV
|
|
|
|
const MV_CONTEXT vp8_mv_update_probs[2] =
|
|
|
|
{
|
|
|
|
{{
|
|
|
|
237,
|
|
|
|
246,
|
|
|
|
253, 253, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254,
|
|
|
|
254, 254, 254, 254, 254, 250, 250, 252, 254, 254, 254
|
|
|
|
}},
|
|
|
|
{{
|
|
|
|
231,
|
|
|
|
243,
|
|
|
|
245, 253, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254,
|
|
|
|
254, 254, 254, 254, 254, 251, 251, 254, 254, 254, 254
|
|
|
|
}}
|
|
|
|
};
|
|
|
|
const MV_CONTEXT vp8_default_mv_context[2] =
|
|
|
|
{
|
|
|
|
{{
|
|
|
|
/* row */
|
|
|
|
162, /* is short */
|
|
|
|
128, /* sign */
|
2012-02-23 20:47:18 +01:00
|
|
|
220, 204, 180, 192, 192, 119, 192, 192, 180, 140, 192, 192, 224, 224, 224, /* short tree */
|
2012-02-16 18:29:54 +01:00
|
|
|
128, 129, 132, 75, 145, 178, 206, 239, 254, 254, 254 /* long bits */
|
|
|
|
}},
|
|
|
|
{{
|
|
|
|
/* same for column */
|
|
|
|
164, /* is short */
|
|
|
|
128,
|
2012-02-23 20:47:18 +01:00
|
|
|
220, 204, 180, 192, 192, 119, 192, 192, 180, 140, 192, 192, 224, 224, 224, /* short tree */
|
2012-02-16 18:29:54 +01:00
|
|
|
128, 130, 130, 74, 148, 180, 203, 236, 254, 254, 254 /* long bits */
|
|
|
|
}}
|
|
|
|
};
|
|
|
|
#else
|
2010-05-18 17:58:33 +02:00
|
|
|
const MV_CONTEXT vp8_mv_update_probs[2] =
|
|
|
|
{
|
|
|
|
{{
|
|
|
|
237,
|
|
|
|
246,
|
|
|
|
253, 253, 254, 254, 254, 254, 254,
|
|
|
|
254, 254, 254, 254, 254, 250, 250, 252, 254, 254
|
|
|
|
}},
|
|
|
|
{{
|
|
|
|
231,
|
|
|
|
243,
|
|
|
|
245, 253, 254, 254, 254, 254, 254,
|
|
|
|
254, 254, 254, 254, 254, 251, 251, 254, 254, 254
|
|
|
|
}}
|
|
|
|
};
|
|
|
|
const MV_CONTEXT vp8_default_mv_context[2] =
|
|
|
|
{
|
|
|
|
{{
|
2010-10-28 01:04:02 +02:00
|
|
|
/* row */
|
|
|
|
162, /* is short */
|
|
|
|
128, /* sign */
|
|
|
|
225, 146, 172, 147, 214, 39, 156, /* short tree */
|
|
|
|
128, 129, 132, 75, 145, 178, 206, 239, 254, 254 /* long bits */
|
2010-05-18 17:58:33 +02:00
|
|
|
}},
|
|
|
|
{{
|
2010-10-28 01:04:02 +02:00
|
|
|
/* same for column */
|
|
|
|
164, /* is short */
|
2010-05-18 17:58:33 +02:00
|
|
|
128,
|
|
|
|
204, 170, 119, 235, 140, 230, 228,
|
2010-10-28 01:04:02 +02:00
|
|
|
128, 130, 130, 74, 148, 180, 203, 236, 254, 254 /* long bits */
|
2010-05-18 17:58:33 +02:00
|
|
|
}}
|
|
|
|
};
|
2012-02-16 18:29:54 +01:00
|
|
|
#endif /* CONFIG_HIGH_PRECISION_MV */
|