aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/web/static
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-08-09 00:53:16 +0200
committerMaximilian Hils <git@maximilianhils.com>2014-08-09 00:53:16 +0200
commitc88613f5963c804d33fe2a8868ddbb0634b3d5ad (patch)
tree30a0323693bbb2da06cd2e7b37d208312c960765 /libmproxy/web/static
parent2e6a69828703778e713589ddcb983e39faf5d61e (diff)
downloadmitmproxy-c88613f5963c804d33fe2a8868ddbb0634b3d5ad.tar.gz
mitmproxy-c88613f5963c804d33fe2a8868ddbb0634b3d5ad.tar.bz2
mitmproxy-c88613f5963c804d33fe2a8868ddbb0634b3d5ad.zip
fix replay form
Diffstat (limited to 'libmproxy/web/static')
0 files changed, 0 insertions, 0 deletions
ef='#n119'>119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
#define CONCAT_I(a, b) a ## b
#define CONCAT(a, b) CONCAT_I(a, b)
#define pixel_t CONCAT(uint, CONCAT(BPP, _t))
#ifdef GENERIC
#define NAME generic
#else
#define NAME BPP
#endif

static void CONCAT(send_hextile_tile_, NAME)(VncState *vs,
                                             int x, int y, int w, int h,
                                             uint32_t *last_bg32, 
                                             uint32_t *last_fg32,
                                             int *has_bg, int *has_fg)
{
    uint8_t *row = (vs->ds->data + y * vs->ds->linesize + x * vs->depth);
    pixel_t *irow = (pixel_t *)row;
    int j, i;
    pixel_t *last_bg = (pixel_t *)last_bg32;