FFmpeg
|
#include <inttypes.h>
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "canopus.h"
#include "get_bits.h"
#include "internal.h"
#include "thread.h"
#include "hqx.h"
#include "hqxdsp.h"
Go to the source code of this file.
Macros | |
#define | HQX_HEADER_SIZE 59 |
Enumerations | |
enum | HQXFormat { HQX_422 = 0, HQX_444, HQX_422A, HQX_444A } |
Functions | |
static void | put_blocks (HQXContext *ctx, 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, int slice_no, int x, int y) |
static int | hqx_decode_422a (HQXContext *ctx, int slice_no, int x, int y) |
static int | hqx_decode_444 (HQXContext *ctx, int slice_no, int x, int y) |
static int | hqx_decode_444a (HQXContext *ctx, int slice_no, int x, int y) |
static int | decode_slice (HQXContext *ctx, int slice_no) |
static int | decode_slice_thread (AVCodecContext *avctx, void *arg, int slice_no, int threadnr) |
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] |
const AVCodec | ff_hqx_decoder |
|
inlinestatic |
Definition at line 84 of file hqx.c.
Referenced by hqx_decode_422(), hqx_decode_422a(), hqx_decode_444(), and hqx_decode_444a().
|
inlinestatic |
Definition at line 99 of file hqx.c.
Referenced by decode_block().
|
static |
Definition at line 115 of file hqx.c.
Referenced by hqx_decode_422(), hqx_decode_422a(), hqx_decode_444(), and hqx_decode_444a().
|
static |
Definition at line 154 of file hqx.c.
Referenced by hqx_decode_frame().
|
static |
Definition at line 188 of file hqx.c.
Referenced by hqx_decode_frame().
|
static |
Definition at line 238 of file hqx.c.
Referenced by hqx_decode_frame().
|
static |
Definition at line 274 of file hqx.c.
Referenced by hqx_decode_frame().
|
static |
Definition at line 327 of file hqx.c.
Referenced by decode_slice_thread().
|
static |
Definition at line 380 of file hqx.c.
Referenced by hqx_decode_frame().
|
static |
|
static |
|
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 323 of file hqx.c.
Referenced by decode_slice().
const AVCodec ff_hqx_decoder |