FFmpeg
|
#include <inttypes.h>
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
#include "get_bits.h"
#include "golomb.h"
#include "idctdsp.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 int | aic_num_band_coeffs [NUM_BANDS] = { 64, 32, 192, 96 } |
static const int | 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 |
#define AIC_HDR_SIZE 24 |
Definition at line 33 of file aic.c.
Referenced by aic_decode_frame(), and aic_decode_header().
#define AIC_BAND_COEFFS (64 + 32 + 192 + 96) |
Definition at line 34 of file aic.c.
Referenced by aic_decode_init(), and aic_decode_slice().
Definition at line 191 of file aic.c.
Referenced by aic_decode_coeffs().
enum AICBands |
|
static |
Definition at line 158 of file aic.c.
Referenced by aic_decode_frame().
|
static |
Definition at line 201 of file aic.c.
Referenced by aic_decode_slice().
|
static |
Definition at line 249 of file aic.c.
Referenced by aic_decode_slice().
|
static |
Definition at line 269 of file aic.c.
Referenced by aic_decode_slice().
Definition at line 291 of file aic.c.
Referenced by aic_decode_slice().
|
static |
Definition at line 304 of file aic.c.
Referenced by aic_decode_frame().
|
static |
|
static |
|
static |
|
static |
Definition at line 44 of file aic.c.
Referenced by aic_decode_coeffs().
|
static |
Definition at line 46 of file aic.c.
Referenced by aic_decode_init().
|
static |
Definition at line 48 of file aic.c.
Referenced by aic_decode_init().
|
static |
|
static |
|
static |
|
static |
Definition at line 135 of file aic.c.
Referenced by aic_decode_coeffs().
AVCodec ff_aic_decoder |