xvmcvideo.c File Reference

Go to the source code of this file.

Functions

static xvmc_render_state_trender_state (const MpegEncContext *s)
static int calc_cbp (MpegEncContext *s)
static void set_block_pattern (const MpegEncContext *, XvMCMacroBlock *)
static void setup_pmv (MpegEncContext *, XvMCMacroBlock *)
static void setup_pmv_frame (MpegEncContext *, XvMCMacroBlock *)
static void setup_pmv_field (MpegEncContext *, XvMCMacroBlock *)
static XvMCMacroBlock * macroblock (const xvmc_render_state_t *, int x, int y, int dct)
static void setup_context (MpegEncContext *s)
static void DBG_printPictureStructureChanges (int picture_structure)
static void handle_intra_block (const MpegEncContext *, const XvMCMacroBlock *, xvmc_render_state_t *render)
static void handle_p_b_block (const MpegEncContext *, const XvMCMacroBlock *, xvmc_render_state_t *render)
void XVMC_init_block (MpegEncContext *s)
void XVMC_pack_pblocks (MpegEncContext *s, int cbp)
int XVMC_field_start (MpegEncContext *s, AVCodecContext *avctx)
void XVMC_field_end (MpegEncContext *s)
void XVMC_decode_mb (MpegEncContext *s)
static void pack_flip_block (const MpegEncContext *s, xvmc_render_state_t *render, int blocks_per_mb, int pack, int flip)
static void pack_flip_idct_block (const MpegEncContext *s, xvmc_render_state_t *render, int blocks_per_mb, int pack, int flip)
static void clear_chroma (MpegEncContext *s, int blocks_per_mb, int flip)

Variables

static const int chromaBits [4] = { 6, 6, 4+1<<CHROMA_422, 4+1<<CHROMA_444 }
static const int mv_ffmpeg_to_xvmc [8]
static const char * mv_ffmpeg_to_string [8]


Function Documentation

static xvmc_render_state_t * render_state ( const MpegEncContext s  )  [inline, static]

Definition at line 195 of file xvmcvideo.c.

Referenced by XVMC_decode_mb(), XVMC_field_end(), and XVMC_init_block().

static int calc_cbp ( MpegEncContext s  )  [inline, static]

Definition at line 204 of file xvmcvideo.c.

Referenced by set_block_pattern().

static void set_block_pattern ( const MpegEncContext s,
XvMCMacroBlock *  mv_block 
) [static]

Definition at line 240 of file xvmcvideo.c.

Referenced by handle_intra_block(), and handle_p_b_block().

static void setup_pmv ( MpegEncContext s,
XvMCMacroBlock *  mv_block 
) [static]

Definition at line 438 of file xvmcvideo.c.

Referenced by setup_pmv_field(), and setup_pmv_frame().

static void setup_pmv_frame ( MpegEncContext s,
XvMCMacroBlock *  mv_block 
) [static]

Definition at line 457 of file xvmcvideo.c.

Referenced by XVMC_decode_mb().

static void setup_pmv_field ( MpegEncContext s,
XvMCMacroBlock *  mv_block 
) [static]

Definition at line 538 of file xvmcvideo.c.

Referenced by XVMC_decode_mb().

static XvMCMacroBlock * macroblock ( const xvmc_render_state_t render,
int  x,
int  y,
int  dct 
) [inline, static]

Definition at line 260 of file xvmcvideo.c.

Referenced by XVMC_decode_mb().

static void setup_context ( MpegEncContext s  )  [inline, static]

Definition at line 247 of file xvmcvideo.c.

Referenced by XVMC_decode_mb().

static void DBG_printPictureStructureChanges ( int  picture_structure  )  [inline, static]

Definition at line 277 of file xvmcvideo.c.

Referenced by XVMC_decode_mb().

static void handle_intra_block ( const MpegEncContext s,
const XvMCMacroBlock *  mv_block,
xvmc_render_state_t render 
) [inline, static]

Definition at line 404 of file xvmcvideo.c.

Referenced by XVMC_decode_mb().

static void handle_p_b_block ( const MpegEncContext s,
const XvMCMacroBlock *  mv_block,
xvmc_render_state_t render 
) [inline, static]

Definition at line 423 of file xvmcvideo.c.

Referenced by XVMC_decode_mb().

void XVMC_init_block ( MpegEncContext s  ) 

Definition at line 74 of file xvmcvideo.c.

Referenced by mpeg_decode_slice().

void XVMC_pack_pblocks ( MpegEncContext s,
int  cbp 
)

Definition at line 79 of file xvmcvideo.c.

Referenced by mpeg_decode_mb().

int XVMC_field_start ( MpegEncContext s,
AVCodecContext avctx 
)

Definition at line 98 of file xvmcvideo.c.

Referenced by mpeg_field_start(), and XVMC_VLD_field_start().

void XVMC_field_end ( MpegEncContext s  ) 

Definition at line 151 of file xvmcvideo.c.

Referenced by MPV_frame_end(), and slice_end().

void XVMC_decode_mb ( MpegEncContext s  ) 

Definition at line 157 of file xvmcvideo.c.

Referenced by MPV_decode_mb_internal().

static void pack_flip_block ( const MpegEncContext s,
xvmc_render_state_t render,
int  blocks_per_mb,
int  pack,
int  flip 
) [inline, static]

Definition at line 293 of file xvmcvideo.c.

Referenced by handle_intra_block(), and handle_p_b_block().

static void pack_flip_idct_block ( const MpegEncContext s,
xvmc_render_state_t render,
int  blocks_per_mb,
int  pack,
int  flip 
) [inline, static]

Definition at line 346 of file xvmcvideo.c.

Referenced by handle_intra_block(), and handle_p_b_block().

static void clear_chroma ( MpegEncContext s,
int  blocks_per_mb,
int  flip 
) [inline, static]

Definition at line 387 of file xvmcvideo.c.

Referenced by handle_intra_block().


Variable Documentation

const int chromaBits[4] = { 6, 6, 4+1<<CHROMA_422, 4+1<<CHROMA_444 } [static]

Definition at line 52 of file xvmcvideo.c.

Referenced by handle_intra_block(), and handle_p_b_block().

static const int mv_ffmpeg_to_xvmc [static]

Initial value:

{
    XVMC_PREDICTION_FRAME,      
    -1,                         
    XVMC_PREDICTION_16x8,       
    XVMC_PREDICTION_FIELD,      
    XVMC_PREDICTION_DUAL_PRIME, 
    -1,
    -1,
    -1
}

Definition at line 53 of file xvmcvideo.c.

Referenced by setup_pmv_field(), and setup_pmv_frame().

static const char * mv_ffmpeg_to_string [static]

Initial value:

{
    "XVMC_PREDICTION_FRAME",      
    "MV_TYPE_8x8 -- unsupported", 
    "XVMC_PREDICTION_16x8",       
    "XVMC_PREDICTION_FIELD",      
    "XVMC_PREDICTION_DUAL_PRIME", 
    "MV_??? 5 unknown",
    "MV_??? 6 unknown",
    "MV_??? 7 unknown"
}

Definition at line 54 of file xvmcvideo.c.


Generated on Sat Dec 18 05:15:56 2010 for MythTV by  doxygen 1.5.5