FFmpeg
|
#include "libavutil/attributes.h"
#include "libavutil/mem_internal.h"
#include "avcodec.h"
#include "blockdsp.h"
#include "codec_internal.h"
#include "decode.h"
#include "get_bits.h"
#include "idctdsp.h"
#include "libavutil/thread.h"
#include "mathops.h"
#include "mpeg12data.h"
#include "mpeg12vlc.h"
#include "speedhq.h"
Go to the source code of this file.
Data Structures | |
struct | SHQContext |
Macros | |
#define | BITSTREAM_READER_LE |
#define | MAX_INDEX (64 - 1) |
#define | ALPHA_VLC_BITS 5 |
Functions | |
static int | decode_dc_le (GetBitContext *gb, int component) |
static int | decode_alpha_block (const SHQContext *s, GetBitContext *gb, uint8_t last_alpha[16], uint8_t *dest, int linesize) |
static int | decode_dct_block (const SHQContext *s, GetBitContext *gb, int last_dc[4], int component, uint8_t *dest, int linesize) |
static int | decode_speedhq_border (const SHQContext *s, GetBitContext *gb, AVFrame *frame, int field_number, int line_stride) |
static int | decode_speedhq_field (const SHQContext *s, const uint8_t *buf, int buf_size, AVFrame *frame, int field_number, int start, int end, int line_stride) |
static void | compute_quant_matrix (int *output, int qscale) |
static int | speedhq_decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt) |
static av_cold void | compute_alpha_vlcs (void) |
static av_cold void | speedhq_static_init (void) |
static av_cold int | speedhq_decode_init (AVCodecContext *avctx) |
Variables | |
static const uint8_t | unscaled_quant_matrix [64] |
static VLC | dc_lum_vlc_le |
static VLC | dc_chroma_vlc_le |
static VLC | dc_alpha_run_vlc_le |
static VLC | dc_alpha_level_vlc_le |
static RL_VLC_ELEM | speedhq_rl_vlc [674] |
const FFCodec | ff_speedhq_decoder |
NewTek SpeedHQ decoder.
Definition in file speedhqdec.c.
#define BITSTREAM_READER_LE |
Definition at line 27 of file speedhqdec.c.
#define MAX_INDEX (64 - 1) |
Definition at line 44 of file speedhqdec.c.
#define ALPHA_VLC_BITS 5 |
Definition at line 50 of file speedhqdec.c.
|
inlinestatic |
Definition at line 81 of file speedhqdec.c.
Referenced by decode_dct_block().
|
inlinestatic |
Definition at line 98 of file speedhqdec.c.
Referenced by decode_speedhq_border(), and decode_speedhq_field().
|
inlinestatic |
Definition at line 138 of file speedhqdec.c.
Referenced by decode_speedhq_border(), and decode_speedhq_field().
|
static |
Definition at line 195 of file speedhqdec.c.
Referenced by decode_speedhq_field().
|
static |
Definition at line 268 of file speedhqdec.c.
Referenced by speedhq_decode_frame().
Definition at line 400 of file speedhqdec.c.
Referenced by speedhq_decode_frame().
|
static |
Definition at line 406 of file speedhqdec.c.
|
static |
Definition at line 469 of file speedhqdec.c.
Referenced by speedhq_static_init().
|
static |
Definition at line 556 of file speedhqdec.c.
Referenced by speedhq_decode_init().
|
static |
Definition at line 575 of file speedhqdec.c.
|
static |
Definition at line 63 of file speedhqdec.c.
Referenced by compute_quant_matrix().
|
static |
Definition at line 74 of file speedhqdec.c.
Referenced by decode_dc_le(), and speedhq_static_init().
|
static |
Definition at line 75 of file speedhqdec.c.
Referenced by decode_dc_le(), and speedhq_static_init().
|
static |
Definition at line 76 of file speedhqdec.c.
Referenced by compute_alpha_vlcs(), and decode_alpha_block().
|
static |
Definition at line 77 of file speedhqdec.c.
Referenced by compute_alpha_vlcs(), and decode_alpha_block().
|
static |
Definition at line 79 of file speedhqdec.c.
Referenced by decode_dct_block(), and speedhq_static_init().
const FFCodec ff_speedhq_decoder |
Definition at line 644 of file speedhqdec.c.