FFmpeg
|
#include "config_components.h"
#include "libavutil/attributes.h"
#include "libavutil/imgutils.h"
#include "libavutil/internal.h"
#include "libavutil/mathematics.h"
#include "libavutil/mem_internal.h"
#include "libavutil/thread.h"
#include "avcodec.h"
#include "mpegvideo.h"
#include "h263.h"
#include "h263data.h"
#include "h263dec.h"
#include "mathops.h"
#include "mpegutils.h"
#include "unary.h"
#include "rv10dec.h"
#include "mpeg4video.h"
#include "mpegvideodata.h"
#include "mpegvideodec.h"
#include "mpeg4videodec.h"
#include "mpeg4videodefs.h"
Go to the source code of this file.
Macros | |
#define | UNCHECKED_BITSTREAM_READER 1 |
#define | H263_MBTYPE_B_VLC_BITS 6 |
#define | CBPC_B_VLC_BITS 3 |
#define | tab_size ((signed)FF_ARRAY_ELEMS(s->direct_scale_mv[0])) |
#define | tab_bias (tab_size / 2) |
Variables | |
static const int16_t | h263_mb_type_b_map [15] |
VLCElem | ff_h263_intra_MCBPC_vlc [72] |
VLCElem | ff_h263_inter_MCBPC_vlc [198] |
VLCElem | ff_h263_cbpy_vlc [64] |
VLCElem | ff_h263_mv_vlc [538] |
static VLCElem | h263_mbtype_b_vlc [80] |
static VLCElem | cbpc_b_vlc [8] |
H.263 decoder.
Definition in file ituh263dec.c.
#define UNCHECKED_BITSTREAM_READER 1 |
Definition at line 30 of file ituh263dec.c.
#define H263_MBTYPE_B_VLC_BITS 6 |
Definition at line 59 of file ituh263dec.c.
#define CBPC_B_VLC_BITS 3 |
Definition at line 60 of file ituh263dec.c.
#define tab_size ((signed)FF_ARRAY_ELEMS(s->direct_scale_mv[0])) |
Definition at line 721 of file ituh263dec.c.
#define tab_bias (tab_size / 2) |
Definition at line 722 of file ituh263dec.c.
void ff_h263_show_pict_info | ( | MpegEncContext * | s | ) |
Print picture info if FF_DEBUG_PICT_INFO is set.
Definition at line 80 of file ituh263dec.c.
Referenced by ff_h263_decode_picture_header(), and ff_intel_h263_decode_picture_header().
|
static |
Definition at line 111 of file ituh263dec.c.
Referenced by ff_h263_decode_init_vlc().
av_cold void ff_h263_decode_init_vlc | ( | void | ) |
Definition at line 137 of file ituh263dec.c.
Referenced by ff_h263_decode_init().
int ff_h263_decode_mba | ( | MpegEncContext * | s | ) |
Definition at line 143 of file ituh263dec.c.
Referenced by ff_h263_decode_picture_header(), h263_decode_gob_header(), and rv20_decode_picture_header().
|
static |
Decode the group of blocks header or slice header.
Definition at line 161 of file ituh263dec.c.
Referenced by ff_h263_resync().
int ff_h263_resync | ( | MpegEncContext * | s | ) |
Decode the group of blocks / video packet header / slice header (MPEG-4 Studio).
Definition at line 217 of file ituh263dec.c.
Referenced by ff_h263_decode_frame().
int ff_h263_decode_motion | ( | MpegEncContext * | s, |
int | pred, | ||
int | f_code | ||
) |
Definition at line 274 of file ituh263dec.c.
Referenced by ff_h263_decode_mb(), mpeg4_decode_mb(), mpeg4_decode_partition_a(), and preview_obmc().
|
static |
Definition at line 312 of file ituh263dec.c.
Referenced by ff_h263_decode_mb(), and preview_obmc().
|
static |
read the next MVs for OBMC.
yes this is an ugly hack, feel free to send a patch :)
Definition at line 342 of file ituh263dec.c.
Referenced by ff_h263_decode_mb().
|
static |
Definition at line 434 of file ituh263dec.c.
Referenced by ff_h263_decode_mb().
|
static |
Definition at line 447 of file ituh263dec.c.
Referenced by h263_decode_block().
|
static |
Definition at line 534 of file ituh263dec.c.
Referenced by ff_h263_decode_mb(), and h263_skip_b_part().
|
static |
Definition at line 681 of file ituh263dec.c.
Referenced by ff_h263_decode_mb().
|
static |
Definition at line 703 of file ituh263dec.c.
Referenced by ff_h263_decode_mb().
|
inlinestatic |
Definition at line 723 of file ituh263dec.c.
Referenced by set_direct_mv().
|
static |
int ff_h263_decode_mb | ( | MpegEncContext * | s, |
int16_t | block[6][64] | ||
) |
Definition at line 788 of file ituh263dec.c.
Referenced by ff_h263_decode_init(), and rv10_decode_packet().
int ff_h263_decode_picture_header | ( | MpegEncContext * | s | ) |
Definition at line 1089 of file ituh263dec.c.
Referenced by ff_h263_decode_frame().
|
static |
Definition at line 62 of file ituh263dec.c.
Referenced by h263_decode_init_vlc().
VLCElem ff_h263_intra_MCBPC_vlc[72] |
Definition at line 102 of file ituh263dec.c.
Referenced by ff_h263_decode_mb(), h263_decode_init_vlc(), mpeg4_decode_mb(), mpeg4_decode_partition_a(), and msmpeg4v12_decode_mb().
VLCElem ff_h263_inter_MCBPC_vlc[198] |
Definition at line 103 of file ituh263dec.c.
Referenced by ff_h263_decode_mb(), h263_decode_init_vlc(), mpeg4_decode_mb(), mpeg4_decode_partition_a(), msmpeg4v12_decode_mb(), and preview_obmc().
VLCElem ff_h263_cbpy_vlc[64] |
Definition at line 104 of file ituh263dec.c.
Referenced by ff_h263_decode_mb(), h263_decode_init_vlc(), mpeg4_decode_mb(), mpeg4_decode_partition_b(), msmpeg4v12_decode_mb(), and preview_obmc().
VLCElem ff_h263_mv_vlc[538] |
Definition at line 105 of file ituh263dec.c.
Referenced by ff_h263_decode_motion(), h263_decode_init_vlc(), and msmpeg4v2_decode_motion().
|
static |
Definition at line 106 of file ituh263dec.c.
Referenced by ff_h263_decode_mb(), and h263_decode_init_vlc().
|
static |
Definition at line 107 of file ituh263dec.c.
Referenced by ff_h263_decode_mb(), and h263_decode_init_vlc().