chromium/third_party/libvpx/source/libvpx/vp9/common/vp9_entropymode.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.
 */

#include "vpx_mem/vpx_mem.h"

#include "vp9/common/vp9_onyxc_int.h"
#include "vp9/common/vp9_seg_common.h"

const vpx_prob vp9_kf_y_mode_prob[INTRA_MODES][INTRA_MODES][INTRA_MODES - 1] =;

const vpx_prob vp9_kf_uv_mode_prob[INTRA_MODES][INTRA_MODES - 1] =;

static const vpx_prob default_if_y_probs[BLOCK_SIZE_GROUPS][INTRA_MODES - 1] =;

static const vpx_prob default_if_uv_probs[INTRA_MODES][INTRA_MODES - 1] =;

const vpx_prob vp9_kf_partition_probs[PARTITION_CONTEXTS]
                                     [PARTITION_TYPES - 1] =;

static const vpx_prob
    default_partition_probs[PARTITION_CONTEXTS][PARTITION_TYPES - 1] =;

static const vpx_prob
    default_inter_mode_probs[INTER_MODE_CONTEXTS][INTER_MODES - 1] =;

/* Array indices are identical to previously-existing INTRAMODECONTEXTNODES. */
const vpx_tree_index vp9_intra_mode_tree[TREE_SIZE(INTRA_MODES)] =;

const vpx_tree_index vp9_inter_mode_tree[TREE_SIZE(INTER_MODES)] =;

const vpx_tree_index vp9_partition_tree[TREE_SIZE(PARTITION_TYPES)] =;

static const vpx_prob default_intra_inter_p[INTRA_INTER_CONTEXTS] =;

static const vpx_prob default_comp_inter_p[COMP_INTER_CONTEXTS] =;

static const vpx_prob default_comp_ref_p[REF_CONTEXTS] =;

static const vpx_prob default_single_ref_p[REF_CONTEXTS][2] =;

static const struct tx_probs default_tx_probs =;

void tx_counts_to_branch_counts_32x32(const unsigned int *tx_count_32x32p,
                                      unsigned int (*ct_32x32p)[2]) {}

void tx_counts_to_branch_counts_16x16(const unsigned int *tx_count_16x16p,
                                      unsigned int (*ct_16x16p)[2]) {}

void tx_counts_to_branch_counts_8x8(const unsigned int *tx_count_8x8p,
                                    unsigned int (*ct_8x8p)[2]) {}

static const vpx_prob default_skip_probs[SKIP_CONTEXTS] =;

static const vpx_prob default_switchable_interp_prob[SWITCHABLE_FILTER_CONTEXTS]
                                                    [SWITCHABLE_FILTERS - 1] =;

static void init_mode_probs(FRAME_CONTEXT *fc) {}

const vpx_tree_index vp9_switchable_interp_tree[TREE_SIZE(
    SWITCHABLE_FILTERS)] =;

void vp9_adapt_mode_probs(VP9_COMMON *cm) {}

static void set_default_lf_deltas(struct loopfilter *lf) {}

void vp9_setup_past_independence(VP9_COMMON *cm) {}