FFmpeg
|
#include "libavutil/common.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "encode.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 FFCodec | ff_smc_encoder |
#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 71 of file smcenc.c.
Referenced by smc_encode_stream().
|
static |
Definition at line 78 of file smcenc.c.
Referenced by smc_encode_stream().
|
static |
Definition at line 115 of file smcenc.c.
Referenced by smc_encode_frame().
|
static |
|
static |
|
static |
const FFCodec ff_smc_encoder |