chromium/third_party/libvpx/source/libvpx/vp8/encoder/encodemb.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_dsp_rtcd.h"

#include "vpx_config.h"
#include "vp8_rtcd.h"
#include "encodemb.h"
#include "vp8/common/reconinter.h"
#include "vp8/encoder/quantize.h"
#include "tokenize.h"
#include "vp8/common/invtrans.h"
#include "vpx_mem/vpx_mem.h"
#include "rdopt.h"

void vp8_subtract_b(BLOCK *be, BLOCKD *bd, int pitch) {}

void vp8_subtract_mbuv(short *diff, unsigned char *usrc, unsigned char *vsrc,
                       int src_stride, unsigned char *upred,
                       unsigned char *vpred, int pred_stride) {}

void vp8_subtract_mby(short *diff, unsigned char *src, int src_stride,
                      unsigned char *pred, int pred_stride) {}

static void vp8_subtract_mb(MACROBLOCK *x) {}

static void build_dcblock(MACROBLOCK *x) {}

void vp8_transform_mbuv(MACROBLOCK *x) {}

void vp8_transform_intra_mby(MACROBLOCK *x) {}

static void transform_mb(MACROBLOCK *x) {}

static void transform_mby(MACROBLOCK *x) {}

#define RDTRUNC(RM, DM, R, D)

vp8_token_state;

struct vp8_token_state {};

/* TODO: experiments to find optimal multiple numbers */
#define Y1_RD_MULT
#define UV_RD_MULT
#define Y2_RD_MULT

static const int plane_rd_mult[4] =;

static void optimize_b(MACROBLOCK *mb, int ib, int type, ENTROPY_CONTEXT *a,
                       ENTROPY_CONTEXT *l) {}
static void check_reset_2nd_coeffs(MACROBLOCKD *x, int type, ENTROPY_CONTEXT *a,
                                   ENTROPY_CONTEXT *l) {}

static void optimize_mb(MACROBLOCK *x) {}

void vp8_optimize_mby(MACROBLOCK *x) {}

void vp8_optimize_mbuv(MACROBLOCK *x) {}

void vp8_encode_inter16x16(MACROBLOCK *x) {}

/* this funciton is used by first pass only */
void vp8_encode_inter16x16y(MACROBLOCK *x) {}