FFmpeg
|
#include <stdlib.h>
#include <string.h>
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "bytestream.h"
#include "cfhd.h"
#include "cfhdencdsp.h"
#include "codec_internal.h"
#include "encode.h"
#include "put_bits.h"
#include "thread.h"
Go to the source code of this file.
Data Structures | |
struct | Codebook |
struct | Runbook |
struct | PlaneEnc |
struct | CFHDEncContext |
Macros | |
#define | OFFSET(x) offsetof(CFHDEncContext, x) |
#define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Functions | |
static av_cold int | cfhd_encode_init (AVCodecContext *avctx) |
static void | quantize_band (int16_t *input, int width, int a_width, int height, unsigned quantization) |
static int | put_runcode (PutBitContext *pb, int count, const Runbook *const rb) |
static void | process_alpha (const int16_t *src, int width, int height, ptrdiff_t stride, int16_t *dst) |
static int | cfhd_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) |
static av_cold int | cfhd_encode_close (AVCodecContext *avctx) |
Variables | |
static const unsigned | codebook [256][2] |
static const uint16_t | runbook [18][3] |
static const uint16_t | quantization_per_subband [2][3][13][9] |
static const AVOption | options [] |
static const AVClass | cfhd_class |
const FFCodec | ff_cfhd_encoder |
Cineform HD video encoder
Definition in file cfhdenc.c.
#define OFFSET | ( | x | ) | offsetof(CFHDEncContext, x) |
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
|
static |
|
static |
Definition at line 381 of file cfhdenc.c.
Referenced by cfhd_encode_frame().
|
static |
Definition at line 393 of file cfhdenc.c.
Referenced by cfhd_encode_frame().
|
static |
Definition at line 405 of file cfhdenc.c.
Referenced by cfhd_encode_frame().
|
static |
|
static |
|
static |
Definition at line 42 of file cfhdenc.c.
Referenced by avpriv_elbg_do(), cfhd_encode_init(), cinepak_decode_codebook(), codebook_bits(), codebook_bits_offset(), decode_lspf(), dequant_and_decompand(), encode_block(), encode_codebook(), encode_codeword(), encode_dcs(), encode_vlc_codeword(), estimate_dcs(), estimate_vlc(), fcb_excitation(), generate_codebook(), quantize(), read_huff_channels(), set_best_codebook(), setup_classifs(), silk_decode_lpc(), svq1_decode_block_intra(), svq1_decode_block_non_intra(), vorbis_floor0_decode(), and vorbis_residue_decode_internal().
|
static |
Definition at line 98 of file cfhdenc.c.
Referenced by cfhd_encode_init().
|
static |
Definition at line 110 of file cfhdenc.c.
Referenced by cfhd_encode_frame().
|
static |
const FFCodec ff_cfhd_encoder |