FFmpeg
|
#include "libavutil/attributes.h"
#include "libavutil/buffer.h"
#include "libavutil/common.h"
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "thread.h"
#include "cfhd.h"
Go to the source code of this file.
Macros | |
#define | ALPHA_COMPAND_DC_OFFSET 256 |
#define | ALPHA_COMPAND_GAIN 9400 |
Functions | |
static av_cold int | cfhd_init (AVCodecContext *avctx) |
static void | init_plane_defaults (CFHDContext *s) |
static void | init_peak_table_defaults (CFHDContext *s) |
static void | init_frame_defaults (CFHDContext *s) |
static int | dequant_and_decompand (CFHDContext *s, int level, int quantisation, int codebook) |
static void | difference_coding (int16_t *band, int width, int height) |
static void | peak_table (int16_t *band, Peak *peak, int length) |
static void | process_alpha (int16_t *alpha, int width) |
static void | process_bayer (AVFrame *frame, int bpc) |
static void | interlaced_vertical_filter (int16_t *output, int16_t *low, int16_t *high, int width, int linesize, int plane) |
static void | inverse_temporal_filter (int16_t *low, int16_t *high, int width) |
static void | free_buffers (CFHDContext *s) |
static int | alloc_buffers (AVCodecContext *avctx) |
static int | cfhd_decode (AVCodecContext *avctx, AVFrame *pic, int *got_frame, AVPacket *avpkt) |
static av_cold int | cfhd_close (AVCodecContext *avctx) |
Variables | |
const FFCodec | ff_cfhd_decoder |
Cineform HD video decoder
Definition in file cfhd.c.
|
static |
|
static |
Definition at line 74 of file cfhd.c.
Referenced by cfhd_decode(), and init_frame_defaults().
|
static |
Definition at line 81 of file cfhd.c.
Referenced by init_frame_defaults().
|
static |
Definition at line 88 of file cfhd.c.
Referenced by cfhd_decode().
|
inlinestatic |
Definition at line 110 of file cfhd.c.
Referenced by cfhd_decode().
Definition at line 118 of file cfhd.c.
Referenced by cfhd_decode().
Definition at line 130 of file cfhd.c.
Referenced by cfhd_decode().
|
inlinestatic |
Definition at line 138 of file cfhd.c.
Referenced by cfhd_decode().
Definition at line 152 of file cfhd.c.
Referenced by cfhd_decode().
|
inlinestatic |
Definition at line 196 of file cfhd.c.
Referenced by cfhd_decode().
|
inlinestatic |
Definition at line 209 of file cfhd.c.
Referenced by cfhd_decode().
|
static |
Definition at line 220 of file cfhd.c.
Referenced by cfhd_close(), and cfhd_decode().
|
static |
Definition at line 247 of file cfhd.c.
Referenced by cfhd_decode().
|
static |
|
static |
const FFCodec ff_cfhd_decoder |