OpenFFmpeg
Classes | Macros | Typedefs | Enumerations | Variables
zmbvenc.c File Reference

Zip Motion Blocks Video encoder. More...

#include <stdio.h>
#include <stdlib.h>
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "internal.h"
#include <zlib.h>

Classes

struct  ZmbvEncContext
 Encoder context. More...
 

Macros

#define ZMBV_KEYFRAME   1
 
#define ZMBV_DELTAPAL   2
 
#define ZMBV_BLOCK   16
 

Typedefs

typedef struct ZmbvEncContext ZmbvEncContext
 Encoder context.
 

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
}
 

Variables

AVCodec ff_zmbv_encoder
 

Detailed Description

Zip Motion Blocks Video encoder.

Variable Documentation

§ ff_zmbv_encoder

AVCodec ff_zmbv_encoder
Initial value:
= {
.name = "zmbv",
.long_name = NULL_IF_CONFIG_SMALL("Zip Motion Blocks Video"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_ZMBV,
.priv_data_size = sizeof(ZmbvEncContext),
.init = encode_init,
.encode2 = encode_frame,
.close = encode_end,
.pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_PAL8,
AV_PIX_FMT_NONE },
}
packed RGB 5:5:5, 16bpp, (msb)1X 5R 5G 5B(lsb), little-endian, X=unused/undefined ...
Definition: pixfmt.h:108
packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), little-endian
Definition: pixfmt.h:106
8 bits with AV_PIX_FMT_RGB32 palette
Definition: pixfmt.h:77
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
struct ZmbvEncContext ZmbvEncContext
Encoder context.
packed BGR 8:8:8, 32bpp, BGRXBGRX... X=unused/undefined
Definition: pixfmt.h:240
AVPixelFormat
Pixel format.
Definition: pixfmt.h:64