libavcodec/h263dec.c File Reference

H.263 decoder. More...

#include "internal.h"
#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"
#include "h263_parser.h"
#include "mpeg4video_parser.h"
#include "msmpeg4.h"

Go to the source code of this file.

Defines

#define SET_QPEL_FUNC(postfix1, postfix2)

Functions

av_cold int ff_h263_decode_init (AVCodecContext *avctx)
av_cold int ff_h263_decode_end (AVCodecContext *avctx)
static int get_consumed_bytes (MpegEncContext *s, int buf_size)
 returns the number of bytes consumed for building the current frame
static int decode_slice (MpegEncContext *s)
int ff_h263_decode_frame (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)

Variables

AVCodec mpeg4_decoder
AVCodec h263_decoder
AVCodec msmpeg4v1_decoder
AVCodec msmpeg4v2_decoder
AVCodec msmpeg4v3_decoder
AVCodec wmv1_decoder
AVCodec h263i_decoder
AVCodec flv_decoder


Detailed Description

H.263 decoder.

Definition in file h263dec.c.


Define Documentation

#define SET_QPEL_FUNC ( postfix1,
postfix2   ) 

Value:

s->dsp.put_ ## postfix1 = ff_put_ ## postfix2;\
    s->dsp.put_no_rnd_ ## postfix1 = ff_put_no_rnd_ ## postfix2;\
    s->dsp.avg_ ## postfix1 = ff_avg_ ## postfix2;

Referenced by ff_h263_decode_frame().


Function Documentation

static int decode_slice ( MpegEncContext s  )  [static]

Definition at line 153 of file h263dec.c.

Referenced by execute_decode_slices(), and ff_h263_decode_frame().

av_cold int ff_h263_decode_end ( AVCodecContext avctx  ) 

Definition at line 124 of file h263dec.c.

Referenced by wmv2_decode_end().

int ff_h263_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
const uint8_t *  buf,
int  buf_size 
)

Definition at line 332 of file h263dec.c.

av_cold int ff_h263_decode_init ( AVCodecContext avctx  ) 

Definition at line 39 of file h263dec.c.

Referenced by vc1_decode_init(), and wmv2_decode_init().

static int get_consumed_bytes ( MpegEncContext s,
int  buf_size 
) [static]

returns the number of bytes consumed for building the current frame

Definition at line 135 of file h263dec.c.


Variable Documentation

Initial value:

Definition at line 831 of file h263dec.c.

Initial value:

Definition at line 746 of file h263dec.c.

Initial value:

Definition at line 817 of file h263dec.c.

Initial value:

 {
    "msmpeg4v1",
    CODEC_TYPE_VIDEO,
    CODEC_ID_MSMPEG4V1,
    sizeof(MpegEncContext),
    ff_h263_decode_init,
    NULL,
    ff_h263_decode_end,
    ff_h263_decode_frame,
    CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
    .long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 1"),
    .pix_fmts= ff_pixfmt_list_420,
}

Definition at line 761 of file h263dec.c.

Initial value:

 {
    "msmpeg4v2",
    CODEC_TYPE_VIDEO,
    CODEC_ID_MSMPEG4V2,
    sizeof(MpegEncContext),
    ff_h263_decode_init,
    NULL,
    ff_h263_decode_end,
    ff_h263_decode_frame,
    CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
    .long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2 Microsoft variant version 2"),
    .pix_fmts= ff_pixfmt_list_420,
}

Definition at line 775 of file h263dec.c.

Initial value:

Definition at line 789 of file h263dec.c.

Initial value:

Definition at line 803 of file h263dec.c.


Generated on Fri Oct 26 02:35:43 2012 for FFmpeg by  doxygen 1.5.8