FFmpeg
|
#include <inttypes.h>
#include "libavutil/mem.h"
#include "libavutil/mem_internal.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_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, AVFrame *frame, 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] |
const FFCodec | ff_aic_decoder |
enum AICBands |
|
static |
Definition at line 161 of file aic.c.
Referenced by aic_decode_frame().
|
static |
Definition at line 204 of file aic.c.
Referenced by aic_decode_slice().
|
static |
Definition at line 255 of file aic.c.
Referenced by aic_decode_slice().
|
static |
Definition at line 275 of file aic.c.
Referenced by aic_decode_slice().
|
static |
Definition at line 297 of file aic.c.
Referenced by aic_decode_slice().
|
static |
Definition at line 310 of file aic.c.
Referenced by aic_decode_frame().
|
static |
|
static |
|
static |
|
static |
Definition at line 48 of file aic.c.
Referenced by aic_decode_coeffs().
|
static |
Definition at line 50 of file aic.c.
Referenced by aic_decode_init().
|
static |
Definition at line 52 of file aic.c.
Referenced by aic_decode_init().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 139 of file aic.c.
Referenced by aic_decode_coeffs().
const FFCodec ff_aic_decoder |