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 "block.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 (Macroblock *currMB, int decoder, ColorPlane pl, StorablePicture *dec_picture, StorablePicture *curr_ref, int x_pos, int y_pos, int hor_block_size, int ver_block_size, imgpel block[MB_BLOCK_SIZE][MB_BLOCK_SIZE])
void get_block_chroma (Macroblock *currMB, int decoder, int uv, StorablePicture *dec_picture, StorablePicture *curr_ref, int x_pos, int y_pos, int hor_block_size, int ver_block_size, imgpel block[MB_BLOCK_SIZE][MB_BLOCK_SIZE])
void perform_mc (Macroblock *currMB, int decoder, ColorPlane pl, StorablePicture *dec_picture, 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 (Macroblock *currMB, int decoder, ColorPlane pl, StorablePicture *dec_picture, 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

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 87 of file errdo_mc_prediction.c.

Referenced by perform_mc(), and perform_mc_concealment().

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 31 of file errdo_mc_prediction.c.

Referenced by perform_mc(), and perform_mc_concealment().

void perform_mc ( Macroblock currMB,
int  decoder,
ColorPlane  pl,
StorablePicture dec_picture,
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 ( Macroblock currMB,
int  decoder,
ColorPlane  pl,
StorablePicture dec_picture,
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 
)

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 113 of file errdo_mc_prediction.c.

Referenced by perform_mc(), and perform_mc_concealment().

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 58 of file errdo_mc_prediction.c.

Referenced by perform_mc(), and perform_mc_concealment().


Documentation generated with DoxyGen