vpx/vp9/common/vp9_qctx_token_probs.h
hui su 5963fd35dd Add q-index as context for initial token probs
There are 4 entropy tables to select for initial entropy table,
depending on the frame base q-index. The entropy tables are
trained with derf, yt, and stdhd sets. About 0.2% gain on
the following test sets:

derflr       0.227%
yt           0.277%
stdhd        0.233%
hevclr       0.221%
hevcmr       0.155%
hevchr       0.182%

Change-Id: I3fde846c47fc020e80c814897690b4cda1da569c

Change-Id: I460408372586c823974f945ed9fd8dcb0360fbaf
2015-06-21 13:09:57 -07:00

23 lines
769 B
C

/*
* Copyright (c) 2015 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef VP9_COMMON_VP9_QCTX_TOKEN_PROBS_H_
#define VP9_COMMON_VP9_QCTX_TOKEN_PROBS_H_
#include "vp9/common/vp9_entropymode.h"
#if CONFIG_QCTX_TPROBS
#define QCTX_BINS_BITS 2
extern const vp9_coeff_probs_model
default_qctx_coef_probs[1 << QCTX_BINS_BITS][TX_SIZES][PLANE_TYPES];
#endif // CONFIG_QCTX_TPROBS
#endif // VP9_COMMON_VP9_QCTX_TOKEN_PROBS_H_