All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
wmv2enc.c File Reference
#include "avcodec.h"
#include "h263.h"
#include "mpegvideo.h"
#include "msmpeg4.h"
#include "msmpeg4data.h"
#include "wmv2.h"

Go to the source code of this file.


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, int16_t block[6][64], int motion_x, int motion_y)


static const AVClass wmv2_class
AVCodec ff_wmv2_encoder

Function Documentation

static int encode_ext_header ( Wmv2Context w)

Definition at line 29 of file wmv2enc.c.

Referenced by wmv2_encode_init().

static av_cold int wmv2_encode_init ( AVCodecContext avctx)

Definition at line 55 of file wmv2enc.c.

int ff_wmv2_encode_picture_header ( MpegEncContext s,
int  picture_number 

Definition at line 74 of file wmv2enc.c.

Referenced by encode_picture().

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

Definition at line 147 of file wmv2enc.c.

Referenced by encode_mb_internal().

Variable Documentation

const AVClass wmv2_class
Initial value:
= {
.class_name = "wmv2 encoder",
.item_name = av_default_item_name,
Definition: version.h:70
const AVOption ff_mpv_generic_options[]
Definition: mpegvideo_enc.c:84

Definition at line 217 of file wmv2enc.c.

AVCodec ff_wmv2_encoder
Initial value:
= {
.name = "wmv2",
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 8"),
.priv_data_size = sizeof(Wmv2Context),
.priv_class = &wmv2_class,
static av_cold int init(AVCodecContext *avctx)
Definition: avrndec.c:35
static const AVClass wmv2_class
Definition: wmv2enc.c:217
static av_cold int wmv2_encode_init(AVCodecContext *avctx)
Definition: wmv2enc.c:55
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:176
static enum AVPixelFormat pix_fmts[]
Definition: libkvazaar.c:262
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Definition: pixfmt.h:62
int ff_mpv_encode_end(AVCodecContext *avctx)
int ff_mpv_encode_picture(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet)
Pixel format.
Definition: pixfmt.h:60

Definition at line 224 of file wmv2enc.c.