FFmpeg
|
#include "libavutil/imgutils.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 32 of file qtrleenc.c.
#define MAX_RLE_REPEAT 128 |
Maximum RLE code for repeat.
Definition at line 34 of file qtrleenc.c.
#define MAX_RLE_SKIP 254 |
Maximum RLE code for skip.
Definition at line 36 of file qtrleenc.c.
|
static |
Definition at line 67 of file qtrleenc.c.
|
static |
Definition at line 78 of file qtrleenc.c.
|
static |
Compute the best RLE sequence for a line.
Definition at line 136 of file qtrleenc.c.
Referenced by encode_frame().
|
static |
Encode frame including header.
Definition at line 326 of file qtrleenc.c.
Referenced by qtrle_encode_frame().
|
static |
Definition at line 367 of file qtrleenc.c.
const FFCodec ff_qtrle_encoder |
Definition at line 401 of file qtrleenc.c.