| 
    FFmpeg
    
   | 
 
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>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 | 
Functions | |
| static int | block_cmp (uint8_t *src, int stride, uint8_t *src2, int stride2, int bw, int bh, int *xored) | 
| Block comparing function XXX should be optimized and moved to DSPContext TODO handle out of edge ME.  More... | |
| static int | zmbv_me (ZmbvEncContext *c, uint8_t *src, int sstride, 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 | |
| static int | score_tab [256] | 
| AVCodec | ff_zmbv_encoder | 
Zip Motion Blocks Video encoder.
Definition in file zmbvenc.c.
| #define ZMBV_KEYFRAME 1 | 
Definition at line 37 of file zmbvenc.c.
Referenced by encode_frame().
| #define ZMBV_DELTAPAL 2 | 
Definition at line 38 of file zmbvenc.c.
Referenced by encode_frame().
| #define ZMBV_BLOCK 16 | 
Definition at line 40 of file zmbvenc.c.
Referenced by encode_frame(), encode_init(), and zmbv_me().
      
  | 
  static | 
Motion estimation function TODO make better ME decisions.
Definition at line 92 of file zmbvenc.c.
Referenced by encode_frame().
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
Definition at line 59 of file zmbvenc.c.
Referenced by block_cmp(), dct_quantize_trellis_c(), and encode_init().
| AVCodec ff_zmbv_encoder | 
 1.8.6