FFmpeg
|
#include "libavutil/imgutils.h"
#include "libavutil/mem.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "encode.h"
Go to the source code of this file.
Data Structures | |
struct | QtrleEncContext |
Macros | |
#define | MAX_RLE_BULK 127 |
Maximum RLE code for bulk copy. More... | |
#define | MAX_RLE_REPEAT 128 |
Maximum RLE code for repeat. More... | |
#define | MAX_RLE_SKIP 254 |
Maximum RLE code for skip. More... | |
Functions | |
static av_cold int | qtrle_encode_end (AVCodecContext *avctx) |
static av_cold int | qtrle_encode_init (AVCodecContext *avctx) |
static void | qtrle_encode_line (QtrleEncContext *s, const AVFrame *p, int line, uint8_t **buf) |
Compute the best RLE sequence for a line. More... | |
static int | encode_frame (QtrleEncContext *s, const AVFrame *p, uint8_t *buf) |
Encode frame including header. More... | |
static int | qtrle_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) |
Variables | |
const FFCodec | ff_qtrle_encoder |
#define MAX_RLE_BULK 127 |
Maximum RLE code for bulk copy.
Definition at line 33 of file qtrleenc.c.
#define MAX_RLE_REPEAT 128 |
Maximum RLE code for repeat.
Definition at line 35 of file qtrleenc.c.
#define MAX_RLE_SKIP 254 |
Maximum RLE code for skip.
Definition at line 37 of file qtrleenc.c.
|
static |
Definition at line 68 of file qtrleenc.c.
|
static |
Definition at line 79 of file qtrleenc.c.
|
static |
Compute the best RLE sequence for a line.
Definition at line 137 of file qtrleenc.c.
Referenced by encode_frame().
|
static |
Encode frame including header.
Definition at line 327 of file qtrleenc.c.
Referenced by qtrle_encode_frame().
|
static |
Definition at line 368 of file qtrleenc.c.
const FFCodec ff_qtrle_encoder |
Definition at line 402 of file qtrleenc.c.