FFmpeg
|
#include <string.h>
#include "libavutil/mem.h"
#include "libavutil/mem_internal.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "copy_block.h"
#include "decode.h"
#include "get_bits.h"
#include "idctdsp.h"
#include "jpegquanttables.h"
Go to the source code of this file.
Data Structures | |
struct | MotionVector |
struct | AGMContext |
struct | Node |
Macros | |
#define | BITSTREAM_READER_LE |
Functions | |
static int | read_code (GetBitContext *gb, int *oskip, int *level, int *map, int mode) |
static int | decode_intra_blocks (AGMContext *s, GetBitContext *gb, const int *quant_matrix, int *skip, int *dc_level) |
static int | decode_inter_blocks (AGMContext *s, GetBitContext *gb, const int *quant_matrix, int *skip, int *map) |
static int | decode_intra_block (AGMContext *s, GetBitContext *gb, const int *quant_matrix, int *skip, int *dc_level) |
static int | decode_intra_plane (AGMContext *s, GetBitContext *gb, int size, const int *quant_matrix, AVFrame *frame, int plane) |
static int | decode_inter_block (AGMContext *s, GetBitContext *gb, const int *quant_matrix, int *skip, int *map) |
static int | decode_inter_plane (AGMContext *s, GetBitContext *gb, int size, const int *quant_matrix, AVFrame *frame, AVFrame *prev, int plane) |
static void | compute_quant_matrix (AGMContext *s, double qscale) |
static int | decode_raw_intra_rgb (AVCodecContext *avctx, GetByteContext *gbyte, AVFrame *frame) |
static av_always_inline int | fill_pixels (uint8_t **y0, uint8_t **y1, uint8_t **u, uint8_t **v, int ylinesize, int ulinesize, int vlinesize, uint8_t *fill, int *nx, int *ny, int *np, int w, int h) |
static int | decode_runlen_rgb (AVCodecContext *avctx, GetByteContext *gbyte, AVFrame *frame) |
static int | decode_runlen (AVCodecContext *avctx, GetByteContext *gbyte, AVFrame *frame) |
static int | decode_raw_intra (AVCodecContext *avctx, GetByteContext *gbyte, AVFrame *frame) |
static int | decode_intra (AVCodecContext *avctx, GetBitContext *gb, AVFrame *frame) |
static int | decode_motion_vectors (AVCodecContext *avctx, GetBitContext *gb) |
static int | decode_inter (AVCodecContext *avctx, GetBitContext *gb, AVFrame *frame, AVFrame *prev) |
static void | get_tree_codes (uint32_t *codes, Node *nodes, int idx, uint32_t pfx, int bitpos) |
static int | make_new_tree (const uint8_t *bitlens, uint32_t *codes) |
static int | build_huff (const uint8_t *bitlen, VLC *vlc) |
static int | decode_huffman2 (AVCodecContext *avctx, int header, int size) |
static int | decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt) |
static av_cold int | decode_init (AVCodecContext *avctx) |
static void | decode_flush (AVCodecContext *avctx) |
static av_cold int | decode_close (AVCodecContext *avctx) |
Variables | |
const FFCodec | ff_agm_decoder |
|
static |
Definition at line 87 of file agm.c.
Referenced by decode_inter_block(), decode_inter_blocks(), decode_intra_block(), decode_intra_blocks(), and decode_motion_vectors().
|
static |
Definition at line 179 of file agm.c.
Referenced by decode_intra_plane().
|
static |
Definition at line 220 of file agm.c.
Referenced by decode_inter_plane().
|
static |
Definition at line 256 of file agm.c.
Referenced by decode_intra_plane().
|
static |
Definition at line 296 of file agm.c.
Referenced by decode_intra().
|
static |
Definition at line 345 of file agm.c.
Referenced by decode_inter_plane().
|
static |
Definition at line 375 of file agm.c.
Referenced by decode_inter().
|
static |
Definition at line 517 of file agm.c.
Referenced by decode_inter(), and decode_intra().
|
static |
Definition at line 556 of file agm.c.
Referenced by decode_frame().
|
static |
Definition at line 579 of file agm.c.
Referenced by decode_runlen().
|
static |
Definition at line 644 of file agm.c.
Referenced by decode_frame().
|
static |
Definition at line 697 of file agm.c.
Referenced by decode_frame().
|
static |
Definition at line 747 of file agm.c.
Referenced by decode_frame().
|
static |
Definition at line 780 of file agm.c.
Referenced by decode_frame().
|
static |
Definition at line 815 of file agm.c.
Referenced by decode_inter().
|
static |
Definition at line 856 of file agm.c.
Referenced by decode_frame().
|
static |
Definition at line 903 of file agm.c.
Referenced by make_new_tree().
|
static |
Definition at line 913 of file agm.c.
Referenced by build_huff().
|
static |
Definition at line 998 of file agm.c.
Referenced by decode_huffman2().
|
static |
Definition at line 1027 of file agm.c.
Referenced by decode_frame().
|
static |
|
static |
|
static |
|
static |
const FFCodec ff_agm_decoder |