FFmpeg
|
huffyuv decoder More...
#include "avcodec.h"
#include "dsputil.h"
#include "get_bits.h"
#include "huffyuv.h"
#include "thread.h"
Go to the source code of this file.
Macros | |
#define | classic_shift_luma_table_size 42 |
#define | classic_shift_chroma_table_size 59 |
#define | READ_2PIX(dst0, dst1, plane1) |
Functions | |
static int | read_len_table (uint8_t *dst, GetBitContext *gb) |
static void | generate_joint_tables (HYuvContext *s) |
static int | read_huffman_tables (HYuvContext *s, const uint8_t *src, int length) |
static int | read_old_huffman_tables (HYuvContext *s) |
static av_cold int | decode_init (AVCodecContext *avctx) |
static av_cold int | decode_init_thread_copy (AVCodecContext *avctx) |
static void | decode_422_bitstream (HYuvContext *s, int count) |
static void | decode_gray_bitstream (HYuvContext *s, int count) |
static av_always_inline void | decode_bgr_1 (HYuvContext *s, int count, int decorrelate, int alpha) |
static void | decode_bgr_bitstream (HYuvContext *s, int count) |
static void | draw_slice (HYuvContext *s, int y) |
static int | decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | decode_end (AVCodecContext *avctx) |
Variables | |
static const unsigned char | classic_shift_luma [classic_shift_luma_table_size+FF_INPUT_BUFFER_PADDING_SIZE] |
static const unsigned char | classic_shift_chroma [classic_shift_chroma_table_size+FF_INPUT_BUFFER_PADDING_SIZE] |
static const unsigned char | classic_add_luma [256] |
static const unsigned char | classic_add_chroma [256] |
huffyuv decoder
Definition in file huffyuvdec.c.
#define classic_shift_luma_table_size 42 |
Definition at line 37 of file huffyuvdec.c.
Referenced by read_old_huffman_tables().
#define classic_shift_chroma_table_size 59 |
Definition at line 45 of file huffyuvdec.c.
Referenced by read_old_huffman_tables().
#define READ_2PIX | ( | dst0, | |
dst1, | |||
plane1 | |||
) |
Definition at line 384 of file huffyuvdec.c.
Referenced by decode_422_bitstream(), and decode_gray_bitstream().
|
static |
Definition at line 91 of file huffyuvdec.c.
Referenced by read_huffman_tables(), and read_old_huffman_tables().
|
static |
Definition at line 110 of file huffyuvdec.c.
Referenced by read_huffman_tables(), and read_old_huffman_tables().
|
static |
Definition at line 183 of file huffyuvdec.c.
Referenced by decode_frame(), decode_init(), and decode_init_thread_copy().
|
static |
Definition at line 208 of file huffyuvdec.c.
Referenced by decode_init(), and decode_init_thread_copy().
|
static |
Definition at line 246 of file huffyuvdec.c.
|
static |
Definition at line 356 of file huffyuvdec.c.
|
static |
Definition at line 395 of file huffyuvdec.c.
Referenced by decode_frame().
|
static |
Definition at line 414 of file huffyuvdec.c.
Referenced by decode_frame().
|
static |
Definition at line 431 of file huffyuvdec.c.
Referenced by decode_bgr_bitstream().
|
static |
Definition at line 455 of file huffyuvdec.c.
Referenced by decode_frame().
|
static |
Definition at line 470 of file huffyuvdec.c.
Referenced by decode_frame().
|
static |
Definition at line 499 of file huffyuvdec.c.
|
static |
Definition at line 756 of file huffyuvdec.c.
|
static |
Definition at line 38 of file huffyuvdec.c.
Referenced by read_old_huffman_tables().
|
static |
Definition at line 46 of file huffyuvdec.c.
Referenced by read_old_huffman_tables().
|
static |
Definition at line 53 of file huffyuvdec.c.
Referenced by read_old_huffman_tables().
|
static |
Definition at line 72 of file huffyuvdec.c.
Referenced by read_old_huffman_tables().