FFmpeg
|
#include <stdio.h>
#include <stdlib.h>
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "encode.h"
#include "zlib_wrapper.h"
#include <zlib.h>
Go to the source code of this file.
Data Structures | |
struct | ZmbvEncContext |
Encoder context. More... | |
Macros | |
#define | ZMBV_KEYFRAME 1 |
#define | ZMBV_DELTAPAL 2 |
#define | ZMBV_BLOCK 16 |
Enumerations | |
enum | ZmbvFormat { ZMBV_FMT_NONE = 0, ZMBV_FMT_1BPP = 1, ZMBV_FMT_2BPP = 2, ZMBV_FMT_4BPP = 3, ZMBV_FMT_8BPP = 4, ZMBV_FMT_15BPP = 5, ZMBV_FMT_16BPP = 6, ZMBV_FMT_24BPP = 7, ZMBV_FMT_32BPP = 8, ZMBV_FMT_NONE = 0, ZMBV_FMT_1BPP = 1, ZMBV_FMT_2BPP = 2, ZMBV_FMT_4BPP = 3, ZMBV_FMT_8BPP = 4, ZMBV_FMT_15BPP = 5, ZMBV_FMT_16BPP = 6, ZMBV_FMT_24BPP = 7, ZMBV_FMT_32BPP = 8 } |
Functions | |
static int | block_cmp (ZmbvEncContext *c, const uint8_t *src, int stride, const uint8_t *src2, int stride2, int bw, int bh, int *xored) |
Block comparing function XXX should be optimized and moved to DSPContext. More... | |
static int | zmbv_me (ZmbvEncContext *c, const uint8_t *src, int sstride, const uint8_t *prev, int pstride, int x, int y, int *mx, int *my, int *xored) |
Motion estimation function TODO make better ME decisions. More... | |
static int | encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) |
static av_cold int | encode_end (AVCodecContext *avctx) |
static av_cold int | encode_init (AVCodecContext *avctx) |
Init zmbv encoder. More... | |
Variables | |
const FFCodec | ff_zmbv_encoder |
Zip Motion Blocks Video encoder
Definition in file zmbvenc.c.
enum ZmbvFormat |
|
static |
Motion estimation function TODO make better ME decisions.
Definition at line 122 of file zmbvenc.c.
Referenced by encode_frame().
|
static |
|
static |
|
static |
const FFCodec ff_zmbv_encoder |