FFmpeg
4.0
|
VMware Screen Codec (VMnc) decoder As Alex Beregszaszi discovered, this is effectively RFB data dump. More...
#include <stdio.h>
#include <stdlib.h>
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "internal.h"
#include "bytestream.h"
Go to the source code of this file.
Data Structures | |
struct | VmncContext |
Enumerations | |
enum | EncTypes { MAGIC_WMVd = 0x574D5664, MAGIC_WMVe, MAGIC_WMVf, MAGIC_WMVg, MAGIC_WMVh, MAGIC_WMVi, MAGIC_WMVj } |
enum | HexTile_Flags { HT_RAW = 1, HT_BKG = 2, HT_FG = 4, HT_SUB = 8, HT_CLR = 16 } |
Functions | |
static av_always_inline int | vmnc_get_pixel (GetByteContext *gb, int bpp, int be) |
static void | load_cursor (VmncContext *c) |
static void | put_cursor (uint8_t *dst, int stride, VmncContext *c, int dx, int dy) |
static av_always_inline void | paint_rect (uint8_t *dst, int dx, int dy, int w, int h, int color, int bpp, int stride) |
static av_always_inline void | paint_raw (uint8_t *dst, int w, int h, GetByteContext *gb, int bpp, int be, int stride) |
static int | decode_hextile (VmncContext *c, uint8_t *dst, GetByteContext *gb, int w, int h, int stride) |
static void | reset_buffers (VmncContext *c) |
static int | decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | decode_init (AVCodecContext *avctx) |
static av_cold int | decode_end (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_vmnc_decoder |
VMware Screen Codec (VMnc) decoder As Alex Beregszaszi discovered, this is effectively RFB data dump.
Definition in file vmnc.c.
enum EncTypes |
enum HexTile_Flags |
|
static |
Definition at line 78 of file vmnc.c.
Referenced by decode_hextile(), load_cursor(), and paint_raw().
|
static |
Definition at line 96 of file vmnc.c.
Referenced by decode_frame().
Definition at line 131 of file vmnc.c.
Referenced by decode_frame().
|
static |
Definition at line 191 of file vmnc.c.
Referenced by decode_hextile().
|
static |
Definition at line 221 of file vmnc.c.
Referenced by decode_frame(), and decode_hextile().
|
static |
Definition at line 245 of file vmnc.c.
Referenced by decode_frame().
|
static |
Definition at line 316 of file vmnc.c.
Referenced by decode_frame().
|
static |
|
static |
|
static |
AVCodec ff_vmnc_decoder |