libavcodec/wmv2dec.c File Reference

#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"
#include "h263.h"
#include "mathops.h"
#include "msmpeg4.h"
#include "msmpeg4data.h"
#include "intrax8.h"
#include "wmv2.h"

Go to the source code of this file.

Functions

static void parse_mb_skip (Wmv2Context *w)
static int decode_ext_header (Wmv2Context *w)
int ff_wmv2_decode_picture_header (MpegEncContext *s)
int ff_wmv2_decode_secondary_picture_header (MpegEncContext *s)
static int wmv2_decode_motion (Wmv2Context *w, int *mx_ptr, int *my_ptr)
static int16_twmv2_pred_motion (Wmv2Context *w, int *px, int *py)
static int wmv2_decode_inter_block (Wmv2Context *w, DCTELEM *block, int n, int cbp)
int ff_wmv2_decode_mb (MpegEncContext *s, DCTELEM block[6][64])
static av_cold int wmv2_decode_init (AVCodecContext *avctx)
static av_cold int wmv2_decode_end (AVCodecContext *avctx)

Variables

AVCodec ff_wmv2_decoder


Function Documentation

static int decode_ext_header ( Wmv2Context w  )  [static]

Definition at line 82 of file wmv2dec.c.

Referenced by ff_wmv2_decode_picture_header().

int ff_wmv2_decode_mb ( MpegEncContext s,
DCTELEM  block[6][64] 
)

Definition at line 337 of file wmv2dec.c.

Referenced by ff_msmpeg4_decode_init().

int ff_wmv2_decode_picture_header ( MpegEncContext s  ) 

Definition at line 114 of file wmv2dec.c.

Referenced by ff_h263_decode_frame().

int ff_wmv2_decode_secondary_picture_header ( MpegEncContext s  ) 

Definition at line 134 of file wmv2dec.c.

Referenced by ff_h263_decode_frame().

static void parse_mb_skip ( Wmv2Context w  )  [static]

Definition at line 32 of file wmv2dec.c.

Referenced by ff_wmv2_decode_secondary_picture_header().

static av_cold int wmv2_decode_end ( AVCodecContext avctx  )  [static]

Definition at line 465 of file wmv2dec.c.

static av_cold int wmv2_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 448 of file wmv2dec.c.

static int wmv2_decode_inter_block ( Wmv2Context w,
DCTELEM block,
int  n,
int  cbp 
) [inline, static]

Definition at line 296 of file wmv2dec.c.

Referenced by ff_wmv2_decode_mb().

static int wmv2_decode_motion ( Wmv2Context w,
int mx_ptr,
int my_ptr 
) [inline, static]

Definition at line 234 of file wmv2dec.c.

Referenced by ff_wmv2_decode_mb().

static int16_t* wmv2_pred_motion ( Wmv2Context w,
int px,
int py 
) [static]

Definition at line 252 of file wmv2dec.c.

Referenced by ff_wmv2_decode_mb().


Variable Documentation

Initial value:

 {
    .name           = "wmv2",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = AV_CODEC_ID_WMV2,
    .priv_data_size = sizeof(Wmv2Context),
    .init           = wmv2_decode_init,
    .close          = wmv2_decode_end,
    .decode         = ff_h263_decode_frame,
    .capabilities   = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
    .long_name      = NULL_IF_CONFIG_SMALL("Windows Media Video 8"),
    .pix_fmts       = ff_pixfmt_list_420,
}

Definition at line 473 of file wmv2dec.c.


Generated on Fri Oct 26 02:50:08 2012 for FFmpeg by  doxygen 1.5.8