FFmpeg
|
NewTek SpeedHQ decoder. More...
#include "libavutil/attributes.h"
#include "avcodec.h"
#include "get_bits.h"
#include "internal.h"
#include "libavutil/thread.h"
#include "mathops.h"
#include "mpeg12.h"
#include "mpeg12data.h"
#include "mpeg12vlc.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_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, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold void | compute_alpha_vlcs (void) |
static uint32_t | reverse (uint32_t num, int bits) |
static void | reverse_code (const uint16_t *code, const uint8_t *bits, uint16_t *reversed_code, int num_entries) |
static av_cold void | speedhq_static_init (void) |
static av_cold int | speedhq_decode_init (AVCodecContext *avctx) |
Variables | |
static uint16_t | speedhq_vlc [123][2] |
static const uint8_t | speedhq_level [121] |
static const uint8_t | speedhq_run [121] |
static RLTable | ff_rl_speedhq |
static const uint8_t | unscaled_quant_matrix [64] |
static uint8_t | ff_speedhq_static_rl_table_store [2][2 *MAX_RUN+MAX_LEVEL+3] |
static VLC | ff_dc_lum_vlc_le |
static VLC | ff_dc_chroma_vlc_le |
static VLC | ff_dc_alpha_run_vlc_le |
static VLC | ff_dc_alpha_level_vlc_le |
AVCodec | ff_speedhq_decoder |
NewTek SpeedHQ decoder.
Definition in file speedhq.c.
#define MAX_INDEX (64 - 1) |
Definition at line 40 of file speedhq.c.
Referenced by decode_dct_block().
#define ALPHA_VLC_BITS 5 |
Definition at line 46 of file speedhq.c.
Referenced by compute_alpha_vlcs(), and decode_alpha_block().
|
inlinestatic |
Definition at line 162 of file speedhq.c.
Referenced by decode_dct_block().
|
inlinestatic |
Definition at line 183 of file speedhq.c.
Referenced by decode_speedhq_field().
|
inlinestatic |
Definition at line 223 of file speedhq.c.
Referenced by decode_speedhq_field().
|
static |
Definition at line 280 of file speedhq.c.
Referenced by speedhq_decode_frame().
Definition at line 409 of file speedhq.c.
Referenced by speedhq_decode_frame().
|
static |
Definition at line 478 of file speedhq.c.
Referenced by speedhq_static_init().
|
static |
Definition at line 565 of file speedhq.c.
Referenced by ff_vector_fmul_window_altivec(), ff_vector_fmul_window_vsx(), filter_color2(), hybrid2_re(), reverse_code(), and speedhq_static_init().
|
static |
Definition at line 570 of file speedhq.c.
Referenced by speedhq_static_init().
Definition at line 579 of file speedhq.c.
Referenced by speedhq_decode_init().
|
static |
|
static |
Definition at line 61 of file speedhq.c.
Referenced by speedhq_static_init().
|
static |
|
static |
|
static |
|
static |
AVCodec ff_speedhq_decoder |