FFmpeg
|
#include "libavutil/common.h"
#include "avcodec.h"
#include "encode.h"
#include "internal.h"
#include "bytestream.h"
Go to the source code of this file.
Data Structures | |
struct | SMCContext |
Macros | |
#define | CPAIR 2 |
#define | CQUAD 4 |
#define | COCTET 8 |
#define | COLORS_PER_TABLE 256 |
#define | ADVANCE_BLOCK(pixel_ptr, row_ptr, nb_blocks) |
#define | CACHE_PAIR(x) |
#define | CACHE_QUAD(x) |
#define | CACHE_OCTET(x) |
Functions | |
static int | smc_cmp_values (const void *a, const void *b) |
static int | count_distinct_items (const uint8_t *block_values, uint8_t *distinct_values, int size) |
static void | smc_encode_stream (SMCContext *s, const AVFrame *frame, PutByteContext *pb) |
static int | smc_encode_init (AVCodecContext *avctx) |
static int | smc_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) |
static int | smc_encode_end (AVCodecContext *avctx) |
Variables | |
const AVCodec | ff_smc_encoder |
QT SMC Video Encoder by Paul B. Mahol
Definition in file smcenc.c.
#define ADVANCE_BLOCK | ( | pixel_ptr, | |
row_ptr, | |||
nb_blocks | |||
) |
#define CACHE_PAIR | ( | x | ) |
#define CACHE_QUAD | ( | x | ) |
#define CACHE_OCTET | ( | x | ) |
|
static |
Definition at line 68 of file smcenc.c.
Referenced by smc_encode_stream().
|
static |
Definition at line 75 of file smcenc.c.
Referenced by smc_encode_stream().
|
static |
Definition at line 112 of file smcenc.c.
Referenced by smc_encode_frame().
|
static |
|
static |
|
static |
const AVCodec ff_smc_encoder |