Logo Search packages:      
Sourcecode: blender version File versions

h261.c File Reference

Detailed Description


Definition in file h261.c.

#include "common.h"
#include "dsputil.h"
#include "avcodec.h"
#include "mpegvideo.h"
#include "h261data.h"

Go to the source code of this file.


struct  H261Context


#define H261_CBP_VLC_BITS   9
#define H261_MBA_VLC_BITS   9
#define H261_MTYPE_VLC_BITS   6
#define H261_MV_VLC_BITS   7
#define IS_FIL(a)   ((a)&MB_TYPE_H261_FIL)
#define MBA_STARTCODE   34
#define MBA_STUFFING   33
#define TCOEFF_VLC_BITS   9


static int decode_mv_component (GetBitContext *gb, int v)
void ff_h261_encode_init (MpegEncContext *s)
void ff_h261_encode_mb (MpegEncContext *s, DCTELEM block[6][64], int motion_x, int motion_y)
void ff_h261_encode_picture_header (MpegEncContext *s, int picture_number)
static int ff_h261_get_picture_format (int width, int height)
void ff_h261_loop_filter (MpegEncContext *s)
void ff_h261_reorder_mb_index (MpegEncContext *s)
static int ff_h261_resync (H261Context *h)
static int get_cbp (MpegEncContext *s, DCTELEM block[6][64])
static int get_consumed_bytes (MpegEncContext *s, int buf_size)
static int h261_decode_block (H261Context *h, DCTELEM *block, int n, int coded)
static int h261_decode_end (AVCodecContext *avctx)
static int h261_decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
static int h261_decode_gob (H261Context *h)
static int h261_decode_gob_header (H261Context *h)
static int h261_decode_init (AVCodecContext *avctx)
static void h261_decode_init_vlc (H261Context *h)
static int h261_decode_mb (H261Context *h)
static int h261_decode_mb_skipped (H261Context *h, int mba1, int mba2)
static int h261_decode_picture_header (H261Context *h)
static void h261_encode_block (H261Context *h, DCTELEM *block, int n)
static void h261_encode_gob_header (MpegEncContext *s, int mb_line)
static void h261_encode_motion (H261Context *h, int val)
static int h261_find_frame_end (ParseContext *pc, AVCodecContext *avctx, const uint8_t *buf, int buf_size)
static int h261_parse (AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
void init_vlc_rl (RLTable *rl, int use_static)


static VLC h261_cbp_vlc
AVCodec h261_decoder
static VLC h261_mba_vlc
static VLC h261_mtype_vlc
static VLC h261_mv_vlc
AVCodecParser h261_parser

Generated by  Doxygen 1.6.0   Back to index