|
FFmpeg
|
H.261 decoder. More...
#include "libavutil/mem_internal.h"#include "libavutil/thread.h"#include "avcodec.h"#include "codec_internal.h"#include "decode.h"#include "get_bits.h"#include "mpeg_er.h"#include "mpegutils.h"#include "mpegvideo.h"#include "mpegvideodec.h"#include "h261.h"Go to the source code of this file.
Data Structures | |
| struct | H261DecContext |
Macros | |
| #define | SLICE_OK 0 |
| #define | SLICE_ERROR -1 |
| #define | SLICE_END -2 |
| end marker found | |
| #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 void | h261_init_dest (MpegEncContext *s) |
| static int | h261_decode_gob_header (H261DecContext *h) |
| Decode the group of blocks header or slice header. | |
| static void | h261_decode_mb_skipped (H261DecContext *h, int mba1, int mba2) |
| Decode skipped macroblocks. | |
| static int | decode_mv_component (GetBitContext *gb, int v) |
| static int | h261_decode_block (H261DecContext *h, int16_t *block, int n, int coded) |
| Decode a macroblock. | |
| static int | h261_decode_mb (H261DecContext *h) |
| static int | h261_decode_picture_header (H261DecContext *h, int *is_key) |
| Decode the H.261 picture header. | |
| static int | h261_decode_gob (H261DecContext *h) |
| static int | h261_decode_frame (AVCodecContext *avctx, AVFrame *pict, int *got_frame, AVPacket *avpkt) |
Variables | |
| static VLCElem | h261_mba_vlc [540] |
| static VLCElem | h261_mtype_vlc [80] |
| static VLCElem | h261_mv_vlc [144] |
| static VLCElem | h261_cbp_vlc [512] |
| const FFCodec | ff_h261_decoder |
H.261 decoder.
Definition in file h261dec.c.
| #define SLICE_OK 0 |
Definition at line 40 of file h261dec.c.
Referenced by ff_h263_decode_mb(), h261_decode_mb(), mpeg4_decode_mb(), mpeg4_decode_partitioned_mb(), mpeg4_decode_studio_mb(), and rv10_decode_packet().
| #define SLICE_ERROR -1 |
Definition at line 41 of file h261dec.c.
Referenced by ff_h263_decode_mb(), h261_decode_mb(), and rv10_decode_packet().
| #define SLICE_END -2 |
end marker found
Definition at line 42 of file h261dec.c.
Referenced by decode_slice(), ff_h263_decode_mb(), h261_decode_gob(), h261_decode_mb(), mpeg4_decode_mb(), mpeg4_decode_partitioned_mb(), mpeg4_decode_studio_mb(), and rv10_decode_packet().
| #define H261_MBA_VLC_BITS 8 |
Definition at line 44 of file h261dec.c.
Referenced by h261_decode_init_static(), and h261_decode_mb().
| #define H261_MTYPE_VLC_BITS 6 |
Definition at line 45 of file h261dec.c.
Referenced by h261_decode_init_static(), and h261_decode_mb().
| #define H261_MV_VLC_BITS 7 |
Definition at line 46 of file h261dec.c.
Referenced by decode_mv_component(), and h261_decode_init_static().
| #define H261_CBP_VLC_BITS 9 |
Definition at line 47 of file h261dec.c.
Referenced by h261_decode_init_static(), and h261_decode_mb().
| #define TCOEFF_VLC_BITS 9 |
Definition at line 48 of file h261dec.c.
Referenced by h261_decode_block().
| #define MBA_STUFFING 33 |
Definition at line 49 of file h261dec.c.
Referenced by h261_decode_gob(), and h261_decode_mb().
| #define MBA_STARTCODE 34 |
Definition at line 50 of file h261dec.c.
Referenced by h261_decode_mb().
|
static |
Definition at line 72 of file h261dec.c.
Referenced by h261_decode_init().
|
static |
|
inlinestatic |
Definition at line 119 of file h261dec.c.
Referenced by h261_decode_mb(), and h261_decode_mb_skipped().
|
static |
Decode the group of blocks header or slice header.
Definition at line 132 of file h261dec.c.
Referenced by h261_decode_frame().
|
static |
Decode skipped macroblocks.
Definition at line 186 of file h261dec.c.
Referenced by h261_decode_gob().
|
static |
Definition at line 223 of file h261dec.c.
Referenced by h261_decode_mb().
|
static |
Decode a macroblock.
Definition at line 247 of file h261dec.c.
Referenced by h261_decode_mb().
|
static |
Definition at line 346 of file h261dec.c.
Referenced by h261_decode_gob().
|
static |
Decode the H.261 picture header.
Definition at line 469 of file h261dec.c.
Referenced by h261_decode_frame().
|
static |
Definition at line 516 of file h261dec.c.
Referenced by h261_decode_frame().
|
static |
|
static |
Definition at line 52 of file h261dec.c.
Referenced by h261_decode_init_static(), and h261_decode_mb().
|
static |
Definition at line 53 of file h261dec.c.
Referenced by h261_decode_init_static(), and h261_decode_mb().
|
static |
Definition at line 54 of file h261dec.c.
Referenced by decode_mv_component(), and h261_decode_init_static().
|
static |
Definition at line 55 of file h261dec.c.
Referenced by h261_decode_init_static(), and h261_decode_mb().
| const FFCodec ff_h261_decoder |