hvirtual/mpeg2enc/predict.c File Reference

#include "config.h"
#include <stdio.h>
#include "global.h"
#include "cpu_accel.h"
#include "simd.h"

Include dependency graph for predict.c:

Go to the source code of this file.

Functions

static void predict_mb (pict_data_s *picture, uint8_t *oldref[], uint8_t *newref[], uint8_t *cur[], int lx, int bx, int by, mbinfo_s *mbi, int secondfield)
static void pred (pict_data_s *picture, uint8_t *src[], int sfield, uint8_t *dst[], int dfield, int lx, int w, int h, int x, int y, int dx, int dy, int addflag)
static void pred_comp (pict_data_s *picture, uint8_t *src, uint8_t *dst, int lx, int w, int h, int x, int y, int dx, int dy, int addflag)
static void calc_DMV (pict_data_s *picture, int DMV[][2], int *dmvector, int mvx, int mvy)
static void clearblock (pict_data_s *picture, uint8_t *cur[], int i0, int j0)
void init_predict_hv ()
void predict (pict_data_s *picture, uint8_t *reff[], uint8_t *refb[], uint8_t *cur[3], int secondfield)

Variables

static void(* ppred_comp )(pict_data_s *picture, uint8_t *src, uint8_t *dst, int lx, int w, int h, int x, int y, int dx, int dy, int addflag)


Function Documentation

static void calc_DMV ( pict_data_s picture,
int  DMV[][2],
int *  dmvector,
int  mvx,
int  mvy 
) [static]

Definition at line 627 of file predict.c.

References FRAME_PICTURE, pict_data::pict_struct, TOP_FIELD, and pict_data::topfirst.

Referenced by predict_mb().

static void clearblock ( pict_data_s picture,
uint8_t *  cur[],
int  i0,
int  j0 
) [static]

void init_predict_hv (  ) 

Definition at line 81 of file predict.c.

References ACCEL_X86_MMX, ACCEL_X86_MMXEXT, cpu_accel(), fprintf, ppred_comp, pred_comp(), and verbose.

Referenced by init().

Here is the call graph for this function:

static void pred ( pict_data_s picture,
uint8_t *  src[],
int  sfield,
uint8_t *  dst[],
int  dfield,
int  lx,
int  w,
int  h,
int  x,
int  y,
int  dx,
int  dy,
int  addflag 
) [static]

static void pred_comp ( pict_data_s picture,
uint8_t *  src,
uint8_t *  dst,
int  lx,
int  w,
int  h,
int  x,
int  y,
int  dx,
int  dy,
int  addflag 
) [static]

Definition at line 439 of file predict.c.

References s.

Referenced by init_predict_hv().

void predict ( pict_data_s picture,
uint8_t *  reff[],
uint8_t *  refb[],
uint8_t *  cur[3],
int  secondfield 
)

Definition at line 120 of file predict.c.

References height2, pict_data::mbinfo, predict_mb(), and width.

Referenced by decode_line(), encode_line(), and putseq().

Here is the call graph for this function:

static void predict_mb ( pict_data_s picture,
uint8_t *  oldref[],
uint8_t *  newref[],
uint8_t *  cur[],
int  lx,
int  bx,
int  by,
mbinfo_s mbi,
int  secondfield 
) [static]


Variable Documentation

void(* ppred_comp)(pict_data_s *picture, uint8_t *src, uint8_t *dst, int lx, int w, int h, int x, int y, int dx, int dy, int addflag) [static]

Referenced by init_predict_hv().


Generated on Mon Apr 28 14:00:17 2008 for Cinelerra by  doxygen 1.5.5