FFmpeg
|
#include <stddef.h>
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "bytestream.h"
#include "cfhd.h"
#include "cfhdencdsp.h"
#include "codec_internal.h"
#include "encode.h"
#include "put_bits.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 380 of file cfhdenc.c.
Referenced by cfhd_encode_frame().
|
static |
Definition at line 392 of file cfhdenc.c.
Referenced by cfhd_encode_frame().
|
static |
Definition at line 404 of file cfhdenc.c.
Referenced by cfhd_encode_frame().
|
static |
|
static |
|
static |
Definition at line 41 of file cfhdenc.c.
Referenced by apply_filter(), avpriv_elbg_do(), cfhd_encode_init(), cinepak_decode_codebook(), codebook_bits(), codebook_bits_offset(), decode_lspf(), dequant_and_decompand(), encode_block(), encode_codebook(), 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 97 of file cfhdenc.c.
Referenced by cfhd_encode_init().
|
static |
Definition at line 109 of file cfhdenc.c.
Referenced by cfhd_encode_frame().
|
static |
const FFCodec ff_cfhd_encoder |