FFmpeg
|
#include "libavutil/avassert.h"
#include "libavutil/thread.h"
#include "avcodec.h"
#include "mpeg_er.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "h263.h"
#include "h261.h"
#include "internal.h"
Go to the source code of this file.
Macros | |
#define | H261_MBA_VLC_BITS 8 |
#define | H261_MTYPE_VLC_BITS 6 |
#define | H261_MV_VLC_BITS 7 |
#define | H261_CBP_VLC_BITS 9 |
#define | TCOEFF_VLC_BITS 9 |
#define | MBA_STUFFING 33 |
#define | MBA_STARTCODE 34 |
Functions | |
static av_cold void | h261_decode_init_static (void) |
static av_cold int | h261_decode_init (AVCodecContext *avctx) |
static int | h261_decode_gob_header (H261Context *h) |
Decode the group of blocks header or slice header. More... | |
static int | h261_resync (H261Context *h) |
Decode the group of blocks / video packet header. More... | |
static int | h261_decode_mb_skipped (H261Context *h, int mba1, int mba2) |
Decode skipped macroblocks. More... | |
static int | decode_mv_component (GetBitContext *gb, int v) |
static int | h261_decode_block (H261Context *h, int16_t *block, int n, int coded) |
Decode a macroblock. More... | |
static int | h261_decode_mb (H261Context *h) |
static int | h261_decode_picture_header (H261Context *h) |
Decode the H.261 picture header. More... | |
static int | h261_decode_gob (H261Context *h) |
static int | get_consumed_bytes (MpegEncContext *s, int buf_size) |
returns the number of bytes consumed for building the current frame More... | |
static int | h261_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | h261_decode_end (AVCodecContext *avctx) |
Variables | |
static VLC | h261_mba_vlc |
static VLC | h261_mtype_vlc |
static VLC | h261_mv_vlc |
static VLC | h261_cbp_vlc |
static const int | mvmap [17] |
const AVCodec | ff_h261_decoder |
H.261 decoder.
Definition in file h261dec.c.
|
static |
Definition at line 51 of file h261dec.c.
Referenced by h261_decode_init().
|
static |
|
static |
Decode the group of blocks header or slice header.
Definition at line 93 of file h261dec.c.
Referenced by h261_resync().
|
static |
Decode the group of blocks / video packet header.
Definition at line 147 of file h261dec.c.
Referenced by h261_decode_frame().
|
static |
Decode skipped macroblocks.
Definition at line 188 of file h261dec.c.
Referenced by h261_decode_gob().
|
static |
Definition at line 232 of file h261dec.c.
Referenced by h261_decode_mb().
|
static |
Decode a macroblock.
Definition at line 258 of file h261dec.c.
Referenced by h261_decode_mb().
|
static |
Definition at line 350 of file h261dec.c.
Referenced by h261_decode_gob().
|
static |
Decode the H.261 picture header.
Definition at line 474 of file h261dec.c.
Referenced by h261_decode_frame().
|
static |
Definition at line 538 of file h261dec.c.
Referenced by h261_decode_frame().
|
static |
returns the number of bytes consumed for building the current frame
Definition at line 570 of file h261dec.c.
Referenced by h261_decode_frame().
|
static |
|
static |
|
static |
Definition at line 46 of file h261dec.c.
Referenced by h261_decode_init_static(), and h261_decode_mb().
|
static |
Definition at line 47 of file h261dec.c.
Referenced by h261_decode_init_static(), and h261_decode_mb().
|
static |
Definition at line 48 of file h261dec.c.
Referenced by decode_mv_component(), and h261_decode_init_static().
|
static |
Definition at line 49 of file h261dec.c.
Referenced by h261_decode_init_static(), and h261_decode_mb().
|
static |
Definition at line 228 of file h261dec.c.
Referenced by decode_mv_component().
const AVCodec ff_h261_decoder |