Logo Search packages:      
Sourcecode: blender version File versions

h263.c File Reference

Detailed Description

h263/mpeg4 codec.

Definition in file h263.c.

#include <limits.h>
#include "common.h"
#include "dsputil.h"
#include "avcodec.h"
#include "mpegvideo.h"
#include "h263data.h"
#include "mpeg4data.h"

Go to the source code of this file.


#define CBPC_B_VLC_BITS   3
#define CBPY_VLC_BITS   6
#define DC_VLC_BITS   9
#define H263_MBTYPE_B_VLC_BITS   6
#define IS_3IV1   0
#define MB_TYPE_B_VLC_BITS   4
#define MV_VLC_BITS   9
#define tab_bias   (tab_size/2)
#define tab_size   ((signed)(sizeof(s->direct_scale_mv[0])/sizeof(int16_t)))
#define TEX_VLC_BITS   9


static int decode_user_data (MpegEncContext *s, GetBitContext *gb)
static int decode_vol_header (MpegEncContext *s, GetBitContext *gb)
static int decode_vop_header (MpegEncContext *s, GetBitContext *gb)
int ff_h263_decode_mb (MpegEncContext *s, DCTELEM block[6][64])
int ff_h263_decode_mba (MpegEncContext *s)
void ff_h263_encode_mba (MpegEncContext *s)
int ff_h263_get_gob_height (MpegEncContext *s)
void ff_h263_loop_filter (MpegEncContext *s)
int ff_h263_resync (MpegEncContext *s)
void ff_h263_update_motion_val (MpegEncContext *s)
void ff_mpeg4_clean_buffers (MpegEncContext *s)
int ff_mpeg4_decode_mb (MpegEncContext *s, DCTELEM block[6][64])
int ff_mpeg4_decode_partitions (MpegEncContext *s)
int ff_mpeg4_decode_picture_header (MpegEncContext *s, GetBitContext *gb)
int ff_mpeg4_get_video_packet_prefix_length (MpegEncContext *s)
static void ff_mpeg4_init_direct_mv (MpegEncContext *s)
static int ff_mpeg4_pred_dc (MpegEncContext *s, int n, int level, int *dir_ptr, int encoding)
int ff_mpeg4_set_direct_mv (MpegEncContext *s, int mx, int my)
static void ff_mpeg4_set_one_direct_mv (MpegEncContext *s, int mx, int my, int i)
void ff_set_qscale (MpegEncContext *s, int qscale)
int flv_h263_decode_picture_header (MpegEncContext *s)
static int get_amv (MpegEncContext *s, int n)
static int h263_decode_block (MpegEncContext *s, DCTELEM *block, int n, int coded)
static void h263_decode_dquant (MpegEncContext *s)
static int h263_decode_gob_header (MpegEncContext *s)
void h263_decode_init_vlc (MpegEncContext *s)
static int h263_decode_motion (MpegEncContext *s, int pred, int fcode)
int h263_decode_picture_header (MpegEncContext *s)
int h263_get_picture_format (int width, int height)
static void h263_pred_acdc (MpegEncContext *s, DCTELEM *block, int n)
static int h263_pred_dc (MpegEncContext *s, int n, uint16_t **dc_val_ptr)
int16_t * h263_pred_motion (MpegEncContext *s, int block, int dir, int *px, int *py)
static int h263p_decode_umotion (MpegEncContext *s, int pred)
void init_vlc_rl (RLTable *rl, int use_static)
int intel_h263_decode_picture_header (MpegEncContext *s)
static void memsetw (short *tab, int val, int n)
static int mpeg4_decode_block (MpegEncContext *s, DCTELEM *block, int n, int coded, int intra, int rvlc)
static int mpeg4_decode_dc (MpegEncContext *s, int n, int *dir_ptr)
static int mpeg4_decode_gop_header (MpegEncContext *s, GetBitContext *gb)
static int mpeg4_decode_partition_a (MpegEncContext *s)
static int mpeg4_decode_partition_b (MpegEncContext *s, int mb_count)
static int mpeg4_decode_partitioned_mb (MpegEncContext *s, DCTELEM block[6][64])
static void mpeg4_decode_sprite_trajectory (MpegEncContext *s, GetBitContext *gb)
static int mpeg4_decode_video_packet_header (MpegEncContext *s)
static int mpeg4_get_block_length (MpegEncContext *s, DCTELEM *block, int n, int intra_dc, uint8_t *scan_table)
static int mpeg4_is_resync (MpegEncContext *s)
void mpeg4_pred_ac (MpegEncContext *s, DCTELEM *block, int n, int dir)
static void preview_obmc (MpegEncContext *s)


static VLC cbpc_b_vlc
static VLC cbpy_vlc
static VLC dc_chrom
static VLC dc_lum
static VLC h263_mbtype_b_vlc
static VLC inter_MCBPC_vlc
static VLC intra_MCBPC_vlc
static VLC mb_type_b_vlc
static VLC mv_vlc
static VLC sprite_trajectory

Generated by  Doxygen 1.6.0   Back to index