FFmpeg
|
h263 decoder. More...
#include <limits.h>
#include "libavutil/internal.h"
#include "libavutil/mathematics.h"
#include "avcodec.h"
#include "mpegvideo.h"
#include "h263.h"
#include "mathops.h"
#include "unary.h"
#include "flv.h"
#include "mpeg4video.h"
Go to the source code of this file.
Macros | |
#define | UNCHECKED_BITSTREAM_READER 1 |
#define | MV_VLC_BITS 9 |
#define | H263_MBTYPE_B_VLC_BITS 6 |
#define | CBPC_B_VLC_BITS 3 |
Variables | |
static const int | h263_mb_type_b_map [15] |
VLC | ff_h263_intra_MCBPC_vlc |
VLC | ff_h263_inter_MCBPC_vlc |
VLC | ff_h263_cbpy_vlc |
static VLC | mv_vlc |
static VLC | h263_mbtype_b_vlc |
static VLC | cbpc_b_vlc |
Detailed Description
h263 decoder.
Definition in file ituh263dec.c.
Macro Definition Documentation
#define CBPC_B_VLC_BITS 3 |
Definition at line 51 of file ituh263dec.c.
Referenced by ff_h263_decode_init_vlc(), and ff_h263_decode_mb().
#define H263_MBTYPE_B_VLC_BITS 6 |
Definition at line 50 of file ituh263dec.c.
Referenced by ff_h263_decode_init_vlc(), and ff_h263_decode_mb().
#define MV_VLC_BITS 9 |
Definition at line 49 of file ituh263dec.c.
Referenced by ff_h263_decode_init_vlc(), ff_h263_decode_motion(), ff_mpeg12_init_vlcs(), and mpeg_decode_motion().
#define UNCHECKED_BITSTREAM_READER 1 |
Definition at line 30 of file ituh263dec.c.
Function Documentation
Definition at line 103 of file ituh263dec.c.
Referenced by ff_h263_decode_init(), and rv10_decode_init().
int ff_h263_decode_mb | ( | MpegEncContext * | s, |
int16_t | block[6][64] | ||
) |
Definition at line 605 of file ituh263dec.c.
Referenced by ff_h263_decode_init(), and rv10_decode_packet().
int ff_h263_decode_mba | ( | MpegEncContext * | s | ) |
Definition at line 134 of file ituh263dec.c.
Referenced by ff_h263_decode_picture_header(), h263_decode_gob_header(), and rv20_decode_picture_header().
int ff_h263_decode_motion | ( | MpegEncContext * | s, |
int | pred, | ||
int | f_code | ||
) |
Definition at line 273 of file ituh263dec.c.
Referenced by ff_h263_decode_mb(), mpeg4_decode_mb(), mpeg4_decode_partition_a(), and preview_obmc().
int ff_h263_decode_picture_header | ( | MpegEncContext * | s | ) |
Definition at line 871 of file ituh263dec.c.
Referenced by ff_h263_decode_frame().
const uint8_t* ff_h263_find_resync_marker | ( | MpegEncContext * | s, |
const uint8_t *av_restrict | p, | ||
const uint8_t *av_restrict | end | ||
) |
Find the next resync_marker.
- Parameters
-
p pointer to buffer to scan end pointer to the end of the buffer
- Returns
- pointer to the next resync_marker, or end if none was found
Definition at line 209 of file ituh263dec.c.
int ff_h263_resync | ( | MpegEncContext * | s | ) |
Decode the group of blocks / video packet header.
- Returns
- bit position of the resync_marker, or <0 if none was found
Definition at line 231 of file ituh263dec.c.
Referenced by ff_h263_decode_frame().
void ff_h263_show_pict_info | ( | MpegEncContext * | s | ) |
Print picture info if FF_DEBUG_PICT_INFO is set.
Definition at line 71 of file ituh263dec.c.
Referenced by ff_h263_decode_picture_header(), and ff_intel_h263_decode_picture_header().
|
static |
Definition at line 442 of file ituh263dec.c.
Referenced by ff_h263_decode_mb(), and h263_skip_b_part().
|
static |
Definition at line 429 of file ituh263dec.c.
Referenced by ff_h263_decode_mb().
|
static |
Decode the group of blocks header or slice header.
- Returns
- <0 if an error occurred
Definition at line 152 of file ituh263dec.c.
Referenced by ff_h263_resync().
|
static |
Definition at line 587 of file ituh263dec.c.
Referenced by ff_h263_decode_mb().
|
static |
Definition at line 565 of file ituh263dec.c.
Referenced by ff_h263_decode_mb().
|
static |
Definition at line 311 of file ituh263dec.c.
Referenced by ff_h263_decode_mb(), and preview_obmc().
|
static |
read the next MVs for OBMC.
yes this is a ugly hack, feel free to send a patch :)
Definition at line 337 of file ituh263dec.c.
Referenced by ff_h263_decode_mb().
Variable Documentation
|
static |
Definition at line 98 of file ituh263dec.c.
VLC ff_h263_cbpy_vlc |
Definition at line 95 of file ituh263dec.c.
Referenced by mpeg4_decode_mb(), mpeg4_decode_partition_b(), and msmpeg4v12_decode_mb().
VLC ff_h263_inter_MCBPC_vlc |
Definition at line 94 of file ituh263dec.c.
Referenced by mpeg4_decode_mb(), mpeg4_decode_partition_a(), and msmpeg4v12_decode_mb().
VLC ff_h263_intra_MCBPC_vlc |
Definition at line 93 of file ituh263dec.c.
Referenced by mpeg4_decode_mb(), mpeg4_decode_partition_a(), and msmpeg4v12_decode_mb().
|
static |
Definition at line 53 of file ituh263dec.c.
Referenced by ff_h263_decode_mb().
|
static |
Definition at line 97 of file ituh263dec.c.
|
static |
Definition at line 96 of file ituh263dec.c.
Generated on Mon Nov 18 2024 06:52:07 for FFmpeg by 1.8.11