hvirtual/libmpeg3/video/motion.c File Reference

#include "mpeg3private.h"
#include "mpeg3protos.h"
#include "vlc.h"
#include <stdio.h>

Include dependency graph for motion.c:

Go to the source code of this file.

Functions

void mpeg3video_calc_mv (int *pred, int r_size, int motion_code, int motion_r, int full_pel_vector)
void mpeg3video_calc_dmv (mpeg3video_t *video, int DMV[][2], int *dmvector, int mvx, int mvy)
int mpeg3video_get_mv (mpeg3_slice_t *slice)
int mpeg3video_get_dmv (mpeg3_slice_t *slice)
void mpeg3video_motion_vector (mpeg3_slice_t *slice, mpeg3video_t *video, int *PMV, int *dmvector, int h_r_size, int v_r_size, int dmv, int mvscale, int full_pel_vector)
int mpeg3video_motion_vectors (mpeg3_slice_t *slice, mpeg3video_t *video, int PMV[2][2][2], int dmvector[2], int mv_field_sel[2][2], int s, int mv_count, int mv_format, int h_r_size, int v_r_size, int dmv, int mvscale)


Function Documentation

void mpeg3video_calc_dmv ( mpeg3video_t video,
int  DMV[][2],
int *  dmvector,
int  mvx,
int  mvy 
)

Definition at line 34 of file motion.c.

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

Referenced by mpeg3video_reconstruct().

void mpeg3video_calc_mv ( int *  pred,
int  r_size,
int  motion_code,
int  motion_r,
int  full_pel_vector 
)

Definition at line 10 of file motion.c.

Referenced by mpeg3video_motion_vector().

int mpeg3video_get_dmv ( mpeg3_slice_t slice  ) 

Definition at line 114 of file motion.c.

References mpeg3slice_getbit(), and mpeg3_slice_t::slice_buffer.

Referenced by mpeg3video_motion_vector().

Here is the call graph for this function:

int mpeg3video_get_mv ( mpeg3_slice_t slice  ) 

void mpeg3video_motion_vector ( mpeg3_slice_t slice,
mpeg3video_t video,
int *  PMV,
int *  dmvector,
int  h_r_size,
int  v_r_size,
int  dmv,
int  mvscale,
int  full_pel_vector 
)

int mpeg3video_motion_vectors ( mpeg3_slice_t slice,
mpeg3video_t video,
int  PMV[2][2][2],
int  dmvector[2],
int  mv_field_sel[2][2],
int  s,
int  mv_count,
int  mv_format,
int  h_r_size,
int  v_r_size,
int  dmv,
int  mvscale 
)

Definition at line 165 of file motion.c.

References mpeg3_slice_t::fault, mpeg3slice_getbit(), mpeg3video_motion_vector(), MV_FIELD, and mpeg3_slice_t::slice_buffer.

Referenced by mpeg3_decode_slice().

Here is the call graph for this function:


Generated on Mon Apr 28 13:59:59 2008 for Cinelerra by  doxygen 1.5.5