FFmpeg
|
#include <inttypes.h>
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "get_bits.h"
#include "golomb.h"
#include "idctdsp.h"
#include "thread.h"
#include "unary.h"
Go to the source code of this file.
Data Structures | |
struct | AICContext |
Macros | |
#define | AIC_HDR_SIZE 24 |
#define | AIC_BAND_COEFFS (64 + 32 + 192 + 96) |
#define | GET_CODE(val, type, add_bits) |
Enumerations | |
enum | AICBands { COEFF_LUMA = 0, COEFF_CHROMA, COEFF_LUMA_EXT, COEFF_CHROMA_EXT, NUM_BANDS } |
Functions | |
static int | aic_decode_header (AICContext *ctx, const uint8_t *src, int size) |
static int | aic_decode_coeffs (GetBitContext *gb, int16_t *dst, int band, int slice_width, int force_chroma) |
static void | recombine_block (int16_t *dst, const uint8_t *scan, int16_t **base, int16_t **ext) |
static void | recombine_block_il (int16_t *dst, const uint8_t *scan, int16_t **base, int16_t **ext, int block_no) |
static void | unquant_block (int16_t *block, int q, uint8_t *quant_matrix) |
static int | aic_decode_slice (AICContext *ctx, int mb_x, int mb_y, const uint8_t *src, int src_size) |
static int | aic_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | aic_decode_init (AVCodecContext *avctx) |
static av_cold int | aic_decode_close (AVCodecContext *avctx) |
Variables | |
static const uint8_t | aic_num_band_coeffs [NUM_BANDS] = { 64, 32, 192, 96 } |
static const uint16_t | aic_band_off [NUM_BANDS] = { 0, 64, 96, 288 } |
static const uint8_t | aic_quant_matrix [64] |
static const uint8_t | aic_y_scan [64] |
static const uint8_t | aic_y_ext_scan [192] |
static const uint8_t | aic_c_scan [64] |
static const uint8_t | aic_c_ext_scan [192] |
static const uint8_t *const | aic_scan [NUM_BANDS] |
AVCodec | ff_aic_decoder |
enum AICBands |
|
static |
Definition at line 159 of file aic.c.
Referenced by aic_decode_frame().
|
static |
Definition at line 202 of file aic.c.
Referenced by aic_decode_slice().
|
static |
Definition at line 253 of file aic.c.
Referenced by aic_decode_slice().
|
static |
Definition at line 273 of file aic.c.
Referenced by aic_decode_slice().
Definition at line 295 of file aic.c.
Referenced by aic_decode_slice().
|
static |
Definition at line 308 of file aic.c.
Referenced by aic_decode_frame().
|
static |
|
static |
|
static |
Definition at line 45 of file aic.c.
Referenced by aic_decode_coeffs().
|
static |
Definition at line 47 of file aic.c.
Referenced by aic_decode_init().
|
static |
Definition at line 49 of file aic.c.
Referenced by aic_decode_init().
|
static |
|
static |
|
static |
|
static |
Definition at line 136 of file aic.c.
Referenced by aic_decode_coeffs().
AVCodec ff_aic_decoder |