Defines | Functions

libvncserver/zrleencodetemplate.c File Reference

#include "zrleoutstream.h"
#include "zrlepalettehelper.h"
#include <assert.h>
#include "zywrletemplate.c"
Include dependency graph for zrleencodetemplate.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define __RFB_CONCAT2(a, b)   a##b
#define __RFB_CONCAT2E(a, b)   __RFB_CONCAT2(a,b)
#define __RFB_CONCAT3(a, b, c)   a##b##c
#define __RFB_CONCAT3E(a, b, c)   __RFB_CONCAT3(a,b,c)
#define END_FIX   LE
#define PIXEL_T   __RFB_CONCAT2E(zrle_U,BPP)
#define zrleOutStreamWRITE_PIXEL   __RFB_CONCAT2E(zrleOutStreamWriteOpaque,BPP)
#define ZRLE_ENCODE   __RFB_CONCAT3E(zrleEncode,BPP,END_FIX)
#define ZRLE_ENCODE_TILE   __RFB_CONCAT3E(zrleEncodeTile,BPP,END_FIX)
#define BPPOUT   BPP
#define ZRLE_ONCE
#define ZYWRLE_ENCODE

Functions

void ZRLE_ENCODE_TILE (PIXEL_T *data, int w, int h, zrleOutStream *os, int zywrle_level, int *zywrleBuf, void *paletteHelper)

Define Documentation

#define __RFB_CONCAT2 (   a,
  b 
)    a##b

Definition at line 42 of file zrleencodetemplate.c.

#define __RFB_CONCAT2E (   a,
  b 
)    __RFB_CONCAT2(a,b)

Definition at line 43 of file zrleencodetemplate.c.

#define __RFB_CONCAT3 (   a,
  b,
  c 
)    a##b##c

Definition at line 47 of file zrleencodetemplate.c.

#define __RFB_CONCAT3E (   a,
  b,
  c 
)    __RFB_CONCAT3(a,b,c)

Definition at line 48 of file zrleencodetemplate.c.

#define BPPOUT   BPP

Definition at line 77 of file zrleencodetemplate.c.

#define END_FIX   LE

Definition at line 53 of file zrleencodetemplate.c.

#define PIXEL_T   __RFB_CONCAT2E(zrle_U,BPP)

Definition at line 73 of file zrleencodetemplate.c.

#define ZRLE_ENCODE   __RFB_CONCAT3E(zrleEncode,BPP,END_FIX)

Definition at line 75 of file zrleencodetemplate.c.

#define ZRLE_ENCODE_TILE   __RFB_CONCAT3E(zrleEncodeTile,BPP,END_FIX)

Definition at line 76 of file zrleencodetemplate.c.

#define ZRLE_ONCE

Definition at line 81 of file zrleencodetemplate.c.

#define zrleOutStreamWRITE_PIXEL   __RFB_CONCAT2E(zrleOutStreamWriteOpaque,BPP)

Definition at line 74 of file zrleencodetemplate.c.

#define ZYWRLE_ENCODE

Definition at line 93 of file zrleencodetemplate.c.


Function Documentation

void ZRLE_ENCODE_TILE ( PIXEL_T *  data,
int  w,
int  h,
zrleOutStream os,
int  zywrle_level,
int *  zywrleBuf,
void *  paletteHelper 
)

Definition at line 124 of file zrleencodetemplate.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines