FFmpeg
|
#include "avcodec.h"
#include "codec_internal.h"
#include "encode.h"
#include "bytestream.h"
#include "libavutil/lfg.h"
#include "libavutil/mem.h"
#include "elbg.h"
#include "libavutil/imgutils.h"
Go to the source code of this file.
Data Structures | |
struct | Msvideo1EncContext |
Encoder context. More... | |
Macros | |
#define | SKIP_PREFIX 0x8400 |
#define | SKIPS_MAX 0x03FF |
#define | MKRGB555(in, off) (((in)[off] << 10) | ((in)[(off) + 1] << 5) | ((in)[(off) + 2])) |
Enumerations | |
enum | MSV1Mode { MODE_SKIP = 0, MODE_FILL, MODE_2COL, MODE_8COL } |
Functions | |
static int | encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) |
static av_cold int | encode_init (AVCodecContext *avctx) |
init encoder More... | |
static av_cold int | encode_end (AVCodecContext *avctx) |
Uninit encoder. More... | |
Variables | |
static const int | remap [16] = { 0, 1, 4, 5, 2, 3, 6, 7, 8, 9, 12, 13, 10, 11, 14, 15 } |
const FFCodec | ff_msvideo1_encoder |
Microsoft Video-1 encoder
Definition in file msvideo1enc.c.
#define SKIP_PREFIX 0x8400 |
Definition at line 62 of file msvideo1enc.c.
#define SKIPS_MAX 0x03FF |
Definition at line 63 of file msvideo1enc.c.
#define MKRGB555 | ( | in, | |
off | |||
) | (((in)[off] << 10) | ((in)[(off) + 1] << 5) | ((in)[(off) + 2])) |
Definition at line 64 of file msvideo1enc.c.
enum MSV1Mode |
Enumerator | |
---|---|
MODE_SKIP | |
MODE_FILL | |
MODE_2COL | |
MODE_8COL |
Definition at line 55 of file msvideo1enc.c.
|
static |
Definition at line 68 of file msvideo1enc.c.
|
static |
init encoder
Definition at line 272 of file msvideo1enc.c.
|
static |
Uninit encoder.
Definition at line 298 of file msvideo1enc.c.
|
static |
Definition at line 66 of file msvideo1enc.c.
Referenced by dv_calc_mb_coordinates(), and encode_frame().
const FFCodec ff_msvideo1_encoder |
Definition at line 308 of file msvideo1enc.c.