libavcodec/wmv2enc.c File Reference

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

Go to the source code of this file.

Functions

static int encode_ext_header (Wmv2Context *w)
static av_cold int wmv2_encode_init (AVCodecContext *avctx)
int ff_wmv2_encode_picture_header (MpegEncContext *s, int picture_number)
void ff_wmv2_encode_mb (MpegEncContext *s, DCTELEM block[6][64], int motion_x, int motion_y)

Variables

AVCodec ff_wmv2_encoder


Function Documentation

static int encode_ext_header ( Wmv2Context w  )  [static]

Definition at line 30 of file wmv2enc.c.

Referenced by wmv2_encode_init().

void ff_wmv2_encode_mb ( MpegEncContext s,
DCTELEM  block[6][64],
int  motion_x,
int  motion_y 
)

Definition at line 150 of file wmv2enc.c.

Referenced by encode_mb_internal().

int ff_wmv2_encode_picture_header ( MpegEncContext s,
int  picture_number 
)

Definition at line 70 of file wmv2enc.c.

Referenced by encode_picture().

static av_cold int wmv2_encode_init ( AVCodecContext avctx  )  [static]

Definition at line 55 of file wmv2enc.c.


Variable Documentation

Initial value:

 {
    .name           = "wmv2",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = AV_CODEC_ID_WMV2,
    .priv_data_size = sizeof(Wmv2Context),
    .init           = wmv2_encode_init,
    .encode2        = ff_MPV_encode_picture,
    .close          = ff_MPV_encode_end,
    .pix_fmts       = (const enum PixelFormat[]){ PIX_FMT_YUV420P, PIX_FMT_NONE },
    .long_name      = NULL_IF_CONFIG_SMALL("Windows Media Video 8"),
}

Definition at line 214 of file wmv2enc.c.


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