#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "libavutil/imgutils.h"
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "bytestream.h"
#include "internal.h"
Go to the source code of this file.
|
#define | PAIR(high, low) (((uint64_t)(high) << 32) | low) |
|
#define | TB(i) (1 + ((i) > 10) + ((i) > 49)) |
|
|
static int | decompress (GetByteContext *gb, int size, PutByteContext *pb, const uint32_t *lut) |
|
static void | vertical_predict (uint32_t *dst, int offset, const uint32_t *src, int stride, int height) |
|
static int | decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
|
static void | fill_elements (uint32_t idx, uint32_t shift, uint32_t *e0, uint32_t *e1) |
|
static void | fill_lut (uint32_t *lut) |
|
static av_cold int | decode_init (AVCodecContext *avctx) |
|
static av_cold int | decode_close (AVCodecContext *avctx) |
|
#define PAIR |
( |
|
high, |
|
|
|
low |
|
) |
| (((uint64_t)(high) << 32) | low) |
#define TB |
( |
|
i | ) |
(1 + ((i) > 10) + ((i) > 49)) |
static void vertical_predict |
( |
uint32_t * |
dst, |
|
|
int |
offset, |
|
|
const uint32_t * |
src, |
|
|
int |
stride, |
|
|
int |
height |
|
) |
| |
|
static |
static void fill_elements |
( |
uint32_t |
idx, |
|
|
uint32_t |
shift, |
|
|
uint32_t * |
e0, |
|
|
uint32_t * |
e1 |
|
) |
| |
|
static |
static void fill_lut |
( |
uint32_t * |
lut | ) |
|
|
static |
Definition at line 203 of file prosumer.c.
Referenced by adpcm_decode_frame(), adpcm_swf_decode(), avs_decode_frame(), build_filter(), build_table(), decode_band_numwavs(), decode_channel(), decode_gainc_levels(), decode_gainc_loc_codes(), decode_gainc_npoints(), decode_group3_1d_line(), decode_group3_2d_line(), decode_init(), decode_residual(), decode_tones_amplitude(), decode_tones_frequency(), decode_tones_info(), dxv_decompress_opcodes(), encode_block(), ff_dca_vlc_calc_quant_bits(), ff_dca_vlc_enc_quant(), ff_generate_wave_table(), ff_init_2d_vlc_rl(), ff_init_gamma_convert(), ff_mpa_l2_select_table(), ff_rl_init_vlc(), ff_wma_init(), fill_elements(), fill_gv_table(), fill_lut(), fill_table(), filter_frame(), gainc_level_mode1m(), gamma_convert(), get_vlc2(), idx_to_quant(), init_vlcs(), mp_decode_layer2(), MPA_encode_init(), mpc8_decode_frame(), read_argb_line(), read_huff_channels(), read_quant_spectral_coeffs(), rv40_decode_intra_types(), rv40_decode_mb_info(), sbr_env_estimate(), sbr_mapping(), set_idx(), smacker_decode_header_tree(), smk_get_code(), smka_decode_frame(), svq1_decode_block_intra(), svq1_decode_block_non_intra(), svq1_decode_init(), uri_table_map(), uri_table_unmap(), vc1_decode_ac_coeff(), webp_get_vlc(), x8_vlc_init(), and xan_decode_chroma().
Initial value:= {
.name = "prosumer",
}
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
static av_cold int init(AVCodecContext *avctx)
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
#define FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static av_cold int decode_init(AVCodecContext *avctx)
static av_cold int decode_close(AVCodecContext *avctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition at line 365 of file prosumer.c.