godot/thirdparty/libwebp/src/enc/tree_enc.c

// Copyright 2011 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING 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.
// -----------------------------------------------------------------------------
//
// Coding of token probabilities, intra modes and segments.
//
// Author: Skal ([email protected])

#include "src/enc/vp8i_enc.h"

//------------------------------------------------------------------------------
// Default probabilities

// Paragraph 13.5
const uint8_t
  VP8CoeffsProba0[NUM_TYPES][NUM_BANDS][NUM_CTX][NUM_PROBAS] =;

void VP8DefaultProbas(VP8Encoder* const enc) {}

// Paragraph 11.5.  900bytes.
static const uint8_t kBModesProba[NUM_BMODES][NUM_BMODES][NUM_BMODES - 1] =;

static int PutI4Mode(VP8BitWriter* const bw, int mode,
                     const uint8_t* const prob) {}

static void PutI16Mode(VP8BitWriter* const bw, int mode) {}

static void PutUVMode(VP8BitWriter* const bw, int uv_mode) {}

static void PutSegment(VP8BitWriter* const bw, int s, const uint8_t* p) {}

void VP8CodeIntraModes(VP8Encoder* const enc) {}

//------------------------------------------------------------------------------
// Paragraph 13

const uint8_t
    VP8CoeffsUpdateProba[NUM_TYPES][NUM_BANDS][NUM_CTX][NUM_PROBAS] =;

void VP8WriteProbas(VP8BitWriter* const bw, const VP8EncProba* const probas) {}