FFmpeg
|
#include <inttypes.h>
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "get_bits.h"
#include "internal.h"
#include "hqx.h"
Go to the source code of this file.
Macros | |
#define | HQX_HEADER_SIZE 59 |
Typedefs | |
typedef int(* | mb_decode_func )(HQXContext *ctx, AVFrame *pic, GetBitContext *gb, int x, int y) |
Enumerations | |
enum | HQXFormat { HQX_422 = 0, HQX_444, HQX_422A, HQX_444A } |
Functions | |
static void | idct_col (int16_t *blk, const uint8_t *quant) |
static void | idct_row (int16_t *blk) |
static void | hqx_idct (int16_t *block, const uint8_t *quant) |
static void | hqx_idct_put (uint16_t *dst, ptrdiff_t stride, int16_t *block, const uint8_t *quant) |
static void | put_blocks (AVFrame *pic, int plane, int x, int y, int ilace, int16_t *block0, int16_t *block1, const uint8_t *quant) |
static void | hqx_get_ac (GetBitContext *gb, const HQXAC *ac, int *run, int *lev) |
static int | decode_block (GetBitContext *gb, VLC *vlc, const int *quants, int dcb, int16_t block[64], int *last_dc) |
static int | hqx_decode_422 (HQXContext *ctx, AVFrame *pic, GetBitContext *gb, int x, int y) |
static int | hqx_decode_422a (HQXContext *ctx, AVFrame *pic, GetBitContext *gb, int x, int y) |
static int | hqx_decode_444 (HQXContext *ctx, AVFrame *pic, GetBitContext *gb, int x, int y) |
static int | hqx_decode_444a (HQXContext *ctx, AVFrame *pic, GetBitContext *gb, int x, int y) |
static int | decode_slice (HQXContext *ctx, AVFrame *pic, GetBitContext *gb, int slice_no, mb_decode_func decode_func) |
static int | hqx_decode_frame (AVCodecContext *avctx, void *data, int *got_picture_ptr, AVPacket *avpkt) |
static av_cold int | hqx_decode_close (AVCodecContext *avctx) |
static av_cold int | hqx_decode_init (AVCodecContext *avctx) |
Variables | |
static const int | hqx_quants [16][4] |
static const uint8_t | hqx_quant_luma [64] |
static const uint8_t | hqx_quant_chroma [64] |
static const int | shuffle_16 [16] |
AVCodec | ff_hqx_decoder |
#define HQX_HEADER_SIZE 59 |
Definition at line 40 of file hqx.c.
Referenced by hqx_decode_frame().
typedef int(* mb_decode_func)(HQXContext *ctx, AVFrame *pic, GetBitContext *gb, int x, int y) |
Definition at line 84 of file hqx.c.
Referenced by hqx_idct().
|
inlinestatic |
Definition at line 130 of file hqx.c.
Referenced by hqx_idct().
Definition at line 166 of file hqx.c.
Referenced by hqx_idct_put().
|
static |
Definition at line 176 of file hqx.c.
Referenced by put_blocks().
|
inlinestatic |
Definition at line 192 of file hqx.c.
Referenced by hqx_decode_422(), hqx_decode_422a(), hqx_decode_444(), and hqx_decode_444a().
|
inlinestatic |
Definition at line 206 of file hqx.c.
Referenced by decode_block().
|
static |
Definition at line 222 of file hqx.c.
Referenced by hqx_decode_422(), hqx_decode_422a(), hqx_decode_444(), and hqx_decode_444a().
|
static |
Definition at line 263 of file hqx.c.
Referenced by hqx_decode_frame().
|
static |
Definition at line 296 of file hqx.c.
Referenced by hqx_decode_frame().
|
static |
Definition at line 345 of file hqx.c.
Referenced by hqx_decode_frame().
|
static |
Definition at line 380 of file hqx.c.
Referenced by hqx_decode_frame().
|
static |
Definition at line 432 of file hqx.c.
Referenced by hqx_decode_frame().
|
static |
|
static |
Definition at line 611 of file hqx.c.
Referenced by hqx_decode_init().
|
static |
|
static |
Definition at line 49 of file hqx.c.
Referenced by hqx_decode_422(), hqx_decode_422a(), hqx_decode_444(), and hqx_decode_444a().
|
static |
Definition at line 62 of file hqx.c.
Referenced by hqx_decode_422(), hqx_decode_422a(), hqx_decode_444(), and hqx_decode_444a().
|
static |
Definition at line 73 of file hqx.c.
Referenced by hqx_decode_422(), hqx_decode_422a(), hqx_decode_444(), and hqx_decode_444a().
|
static |
Definition at line 428 of file hqx.c.
Referenced by decode_slice().
AVCodec ff_hqx_decoder |