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"
#include "thread.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, int slice_number) |
static int | decode_slice_progressive (AVCodecContext *avctx, void *arg, int jobnr, int threadnr) |
static int | decode_slice_interlaced (AVCodecContext *avctx, void *arg, int jobnr, int threadnr) |
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 VLCElem | dc_lum_vlc_le [512] |
static VLCElem | dc_chroma_vlc_le [514] |
static VLCElem | dc_alpha_run_vlc_le [160] |
static VLCElem | dc_alpha_level_vlc_le [288] |
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 45 of file speedhqdec.c.
#define ALPHA_VLC_BITS 5 |
Definition at line 51 of file speedhqdec.c.
|
inlinestatic |
Definition at line 84 of file speedhqdec.c.
Referenced by decode_dct_block().
|
inlinestatic |
Definition at line 101 of file speedhqdec.c.
Referenced by decode_speedhq_border(), and decode_speedhq_field().
|
inlinestatic |
Definition at line 141 of file speedhqdec.c.
Referenced by decode_speedhq_border(), and decode_speedhq_field().
|
static |
Definition at line 198 of file speedhqdec.c.
Referenced by decode_speedhq_field().
|
static |
Definition at line 271 of file speedhqdec.c.
Referenced by decode_slice_interlaced(), and decode_slice_progressive().
|
static |
Definition at line 399 of file speedhqdec.c.
Referenced by speedhq_decode_frame().
|
static |
Definition at line 407 of file speedhqdec.c.
Referenced by speedhq_decode_frame().
|
static |
Definition at line 420 of file speedhqdec.c.
Referenced by speedhq_decode_frame().
|
static |
Definition at line 426 of file speedhqdec.c.
|
static |
Definition at line 490 of file speedhqdec.c.
Referenced by speedhq_static_init().
|
static |
Definition at line 577 of file speedhqdec.c.
Referenced by speedhq_decode_init().
|
static |
Definition at line 596 of file speedhqdec.c.
|
static |
Definition at line 66 of file speedhqdec.c.
Referenced by compute_quant_matrix().
|
static |
Definition at line 77 of file speedhqdec.c.
Referenced by decode_dc_le(), and speedhq_static_init().
|
static |
Definition at line 78 of file speedhqdec.c.
Referenced by decode_dc_le(), and speedhq_static_init().
|
static |
Definition at line 79 of file speedhqdec.c.
Referenced by compute_alpha_vlcs(), and decode_alpha_block().
|
static |
Definition at line 80 of file speedhqdec.c.
Referenced by compute_alpha_vlcs(), and decode_alpha_block().
|
static |
Definition at line 82 of file speedhqdec.c.
Referenced by decode_dct_block(), and speedhq_static_init().
const FFCodec ff_speedhq_decoder |
Definition at line 665 of file speedhqdec.c.