errdo_mc_prediction.c File Reference

Functions for motion compensated prediction. More...

#include "global.h"
#include "mbuffer.h"
#include "mb_access.h"
#include "macroblock.h"
#include "errdo.h"
#include "errdo_mc_prediction.h"

Include dependency graph for errdo_mc_prediction.c:

Go to the source code of this file.

Functions

static void mc_prediction (imgpel **mb_pred, int ver_block_size, int hor_block_size, int ioff, imgpel block[MB_BLOCK_SIZE][MB_BLOCK_SIZE])
static void weighted_mc_prediction (imgpel **mb_pred, int ver_block_size, int hor_block_size, int ioff, imgpel block[MB_BLOCK_SIZE][MB_BLOCK_SIZE], int wp_scale, int wp_offset, int weight_denom, int color_clip)
static void bi_prediction (imgpel **mb_pred, imgpel block_l0[MB_BLOCK_SIZE][MB_BLOCK_SIZE], imgpel block_l1[MB_BLOCK_SIZE][MB_BLOCK_SIZE], int ver_block_size, int hor_block_size, int ioff)
static void weighted_bi_prediction (imgpel **mb_pred, imgpel block_l0[MB_BLOCK_SIZE][MB_BLOCK_SIZE], imgpel block_l1[MB_BLOCK_SIZE][MB_BLOCK_SIZE], int ver_block_size, int hor_block_size, int ioff, int wp_scale_l0, int wp_scale_l1, int wp_offset, int weight_denom, int color_clip)
void get_block_luma (int decoder, ColorPlane pl, StorablePicture *dec_picture, StorablePicture *curr_ref, int x_pos, int y_pos, int hor_block_size, int ver_block_size, ImageParameters *img, imgpel block[MB_BLOCK_SIZE][MB_BLOCK_SIZE])
void get_block_chroma (int decoder, int uv, StorablePicture *dec_picture, StorablePicture *curr_ref, int x_pos, int y_pos, int hor_block_size, int ver_block_size, ImageParameters *img, imgpel block[MB_BLOCK_SIZE][MB_BLOCK_SIZE])
void perform_mc (int decoder, ColorPlane pl, StorablePicture *dec_picture, ImageParameters *img, Macroblock *currMB, int pred_dir, int l0_mode, int l1_mode, char ***ref_idx_buf, int i, int j, int block_size_x, int block_size_y, short bipred_me)
void perform_mc_concealment (int decoder, ColorPlane pl, StorablePicture *dec_picture, ImageParameters *img, Macroblock *currMB, int pred_dir, int l0_mode, int l1_mode, char ***ref_idx_buf, int i, int j, int block_size_x, int block_size_y)

Variables

imgpel tmp_block_l0 [MB_BLOCK_SIZE][MB_BLOCK_SIZE]
imgpel tmp_block_l1 [MB_BLOCK_SIZE][MB_BLOCK_SIZE]
static const int COEF [6] = { 1, -5, 20, 20, -5, 1 }


Detailed Description

Functions for motion compensated prediction.

Author:
Main contributors (see contributors.h for copyright, address and affiliation details)

Definition in file errdo_mc_prediction.c.


Function Documentation

static void bi_prediction ( imgpel **  mb_pred,
imgpel  block_l0[MB_BLOCK_SIZE][MB_BLOCK_SIZE],
imgpel  block_l1[MB_BLOCK_SIZE][MB_BLOCK_SIZE],
int  ver_block_size,
int  hor_block_size,
int  ioff 
) [inline, static]

block biprediction

Definition at line 102 of file errdo_mc_prediction.c.

static void mc_prediction ( imgpel **  mb_pred,
int  ver_block_size,
int  hor_block_size,
int  ioff,
imgpel  block[MB_BLOCK_SIZE][MB_BLOCK_SIZE] 
) [inline, static]

block single list prediction

Definition at line 46 of file errdo_mc_prediction.c.

static void weighted_bi_prediction ( imgpel **  mb_pred,
imgpel  block_l0[MB_BLOCK_SIZE][MB_BLOCK_SIZE],
imgpel  block_l1[MB_BLOCK_SIZE][MB_BLOCK_SIZE],
int  ver_block_size,
int  hor_block_size,
int  ioff,
int  wp_scale_l0,
int  wp_scale_l1,
int  wp_offset,
int  weight_denom,
int  color_clip 
) [inline, static]

block weighted biprediction

Definition at line 128 of file errdo_mc_prediction.c.

static void weighted_mc_prediction ( imgpel **  mb_pred,
int  ver_block_size,
int  hor_block_size,
int  ioff,
imgpel  block[MB_BLOCK_SIZE][MB_BLOCK_SIZE],
int  wp_scale,
int  wp_offset,
int  weight_denom,
int  color_clip 
) [inline, static]

block single list weighted prediction

Definition at line 73 of file errdo_mc_prediction.c.


Variable Documentation

imgpel tmp_block_l0[MB_BLOCK_SIZE][MB_BLOCK_SIZE]

l0 prediction

Definition at line 34 of file errdo_mc_prediction.c.

imgpel tmp_block_l1[MB_BLOCK_SIZE][MB_BLOCK_SIZE]

l1 prediction

Definition at line 35 of file errdo_mc_prediction.c.


Documentation generated with DoxyGen