#include "libavutil/cpu.h"
#include "internal.h"
#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"
#include "h263.h"
#include "h263_parser.h"
#include "mpeg4video_parser.h"
#include "msmpeg4.h"
#include "vdpau_internal.h"
#include "thread.h"
#include "flv.h"
#include "mpeg4video.h"
Go to the source code of this file.
Defines | |
#define | UNCHECKED_BITSTREAM_READER 1 |
#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) |
Return 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, AVPacket *avpkt) |
Variables | |
AVCodec | ff_h263_decoder |
Definition in file h263dec.c.
#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().
static int decode_slice | ( | MpegEncContext * | s | ) | [static] |
av_cold int ff_h263_decode_end | ( | AVCodecContext * | avctx | ) |
int ff_h263_decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) |
av_cold int ff_h263_decode_init | ( | AVCodecContext * | avctx | ) |
static int get_consumed_bytes | ( | MpegEncContext * | s, | |
int | buf_size | |||
) | [static] |
Initial value:
{ .name = "h263", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_H263, .priv_data_size = sizeof(MpegEncContext), .init = ff_h263_decode_init, .close = ff_h263_decode_end, .decode = ff_h263_decode_frame, .capabilities = CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, .flush = ff_mpeg_flush, .max_lowres = 3, .long_name = NULL_IF_CONFIG_SMALL("H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2"), .pix_fmts = ff_hwaccel_pixfmt_list_420, }