Libav
|
huffyuv encoder More...
#include "libavutil/opt.h"
#include "avcodec.h"
#include "huffyuv.h"
#include "huffman.h"
#include "huffyuvencdsp.h"
#include "internal.h"
#include "put_bits.h"
Go to the source code of this file.
Macros | |
#define | LOAD4 |
#define | LOAD2 |
#define | STAT2 |
#define | WRITE2 |
#define | LOAD_GBRA |
#define | STAT_BGRA |
#define | WRITE_GBRA |
#define | OFFSET(x) offsetof(HYuvContext, x) |
#define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
#define | HUFF_CLASS(variant) |
#define | FF_HUFFYUV_COMMON_OPTS |
Functions | |
static int | sub_left_prediction (HYuvContext *s, uint8_t *dst, uint8_t *src, int w, int left) |
static void | sub_left_prediction_bgr32 (HYuvContext *s, uint8_t *dst, uint8_t *src, int w, int *red, int *green, int *blue, int *alpha) |
static void | sub_left_prediction_rgb24 (HYuvContext *s, uint8_t *dst, uint8_t *src, int w, int *red, int *green, int *blue) |
static int | store_table (HYuvContext *s, const uint8_t *len, uint8_t *buf) |
static av_cold int | encode_init (AVCodecContext *avctx) |
static int | encode_422_bitstream (HYuvContext *s, int offset, int count) |
static int | encode_gray_bitstream (HYuvContext *s, int count) |
static int | encode_bgra_bitstream (HYuvContext *s, int count, int planes) |
static int | encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) |
static av_cold int | encode_end (AVCodecContext *avctx) |
HUFF_CLASS (huffyuv) | |
Variables | |
static const AVOption | huffyuv_options [] |
AVCodec | ff_huffyuv_encoder |
huffyuv encoder
Definition in file huffyuvenc.c.
#define LOAD4 |
Referenced by encode_422_bitstream().
#define LOAD2 |
Referenced by encode_gray_bitstream().
#define STAT2 |
Referenced by encode_gray_bitstream().
#define WRITE2 |
Referenced by encode_gray_bitstream().
#define LOAD_GBRA |
Referenced by encode_bgra_bitstream().
#define STAT_BGRA |
Referenced by encode_bgra_bitstream().
#define WRITE_GBRA |
Referenced by encode_bgra_bitstream().
#define OFFSET | ( | x | ) | offsetof(HYuvContext, x) |
Definition at line 703 of file huffyuvenc.c.
#define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 704 of file huffyuvenc.c.
#define HUFF_CLASS | ( | variant | ) |
Definition at line 706 of file huffyuvenc.c.
#define FF_HUFFYUV_COMMON_OPTS |
Definition at line 714 of file huffyuvenc.c.
|
inlinestatic |
Definition at line 38 of file huffyuvenc.c.
Referenced by encode_frame().
|
inlinestatic |
Definition at line 60 of file huffyuvenc.c.
Referenced by encode_frame().
|
inlinestatic |
Definition at line 95 of file huffyuvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 123 of file huffyuvenc.c.
Referenced by encode_frame(), and encode_init().
|
static |
Definition at line 147 of file huffyuvenc.c.
|
static |
Definition at line 305 of file huffyuvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 360 of file huffyuvenc.c.
Referenced by encode_frame().
|
inlinestatic |
Definition at line 405 of file huffyuvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 456 of file huffyuvenc.c.
|
static |
Definition at line 691 of file huffyuvenc.c.
HUFF_CLASS | ( | huffyuv | ) |
|
static |
Definition at line 720 of file huffyuvenc.c.
AVCodec ff_huffyuv_encoder |
Definition at line 727 of file huffyuvenc.c.