FFmpeg
|
huffyuv encoder More...
#include "avcodec.h"
#include "huffyuv.h"
#include "huffman.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 |
Functions | |
static int | sub_left_prediction (HYuvContext *s, uint8_t *dst, const uint8_t *src, int w, int left) |
static void | sub_left_prediction_bgr32 (HYuvContext *s, uint8_t *dst, const 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) |
huffyuv encoder
Definition in file huffyuvenc.c.
#define LOAD4 |
#define LOAD2 |
Referenced by encode_gray_bitstream().
#define STAT2 |
Referenced by encode_gray_bitstream().
#define WRITE2 |
#define LOAD_GBRA |
#define STAT_BGRA |
#define WRITE_GBRA |
|
inlinestatic |
Definition at line 35 of file huffyuvenc.c.
Referenced by encode_frame().
|
inlinestatic |
Definition at line 57 of file huffyuvenc.c.
Referenced by encode_frame().
|
inlinestatic |
Definition at line 92 of file huffyuvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 120 of file huffyuvenc.c.
Referenced by encode_frame(), and encode_init().
|
static |
Definition at line 144 of file huffyuvenc.c.
|
static |
Definition at line 293 of file huffyuvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 348 of file huffyuvenc.c.
Referenced by encode_frame().
|
inlinestatic |
Definition at line 393 of file huffyuvenc.c.
Referenced by encode_frame().
|
static |
Definition at line 444 of file huffyuvenc.c.
|
static |
Definition at line 676 of file huffyuvenc.c.