FFmpeg
|
#include <stdio.h>
#include <stdlib.h>
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "decode.h"
#include "internal.h"
#include "libavutil/common.h"
Go to the source code of this file.
Data Structures | |
struct | KmvcContext |
struct | BitBuf |
Macros | |
#define | KMVC_KEYFRAME 0x80 |
#define | KMVC_PALETTE 0x40 |
#define | KMVC_METHOD 0x0F |
#define | MAX_PALSIZE 256 |
#define | BLK(data, x, y) data[av_clip((x) + (y) * 320, 0, 320 * 200 -1)] |
#define | kmvc_init_getbits(bb, g) bb.bits = 7; bb.bitbuf = bytestream2_get_byte(g); |
#define | kmvc_getbit(bb, g, res) |
Functions | |
static int | kmvc_decode_intra_8x8 (KmvcContext *ctx, int w, int h) |
static int | kmvc_decode_inter_8x8 (KmvcContext *ctx, int w, int h) |
static int | decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt) |
static av_cold int | decode_init (AVCodecContext *avctx) |
Variables | |
const FFCodec | ff_kmvc_decoder |
Karl Morton's Video Codec decoder
Definition in file kmvc.c.
#define kmvc_getbit | ( | bb, | |
g, | |||
res | |||
) |
|
static |
Definition at line 75 of file kmvc.c.
Referenced by decode_frame().
|
static |
Definition at line 164 of file kmvc.c.
Referenced by decode_frame().
|
static |
|
static |
const FFCodec ff_kmvc_decoder |