70d9f116fd
Adds an experiment that codes an end-of-orientation symbol for every eligible zero encountered in scan order. This cleans out various other sub-experiments that were part of the origiinal patch, which will be later included if found useful. Results are slightly positive on all sets (0.1 - 0.2% range). Change-Id: I57765c605fefc7fb9d1b57f1b356843602abefaf
38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
/*
|
|
* Copyright (c) 2010 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_COEFUPDATEPROBS_H_
|
|
#define VP9_COMMON_VP9_COEFUPDATEPROBS_H_
|
|
|
|
/* Update probabilities for the nodes in the token entropy tree.
|
|
Generated file included by vp9_entropy.c */
|
|
|
|
static const vp9_prob vp9_coef_update_prob[ENTROPY_NODES] = {
|
|
252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252
|
|
};
|
|
|
|
#if CONFIG_CODE_NONZEROCOUNT
|
|
#define NZC_UPDATE_PROB_4X4 252
|
|
#define NZC_UPDATE_PROB_8X8 252
|
|
#define NZC_UPDATE_PROB_16X16 252
|
|
#define NZC_UPDATE_PROB_32X32 252
|
|
#define NZC_UPDATE_PROB_PCAT 252
|
|
#endif
|
|
|
|
#if CONFIG_CODE_ZEROGROUP
|
|
#define ZPC_UPDATE_PROB 248
|
|
#endif
|
|
|
|
#if CONFIG_MODELCOEFPROB
|
|
#define COEF_MODEL_UPDATE_PROB 16
|
|
#endif
|
|
|
|
#endif // VP9_COMMON_VP9_COEFUPDATEPROBS_H__
|