Home | History | Annotate | Download | only in lgif

Lines Matching refs:cur_offset

1196   if (gif_ptr->cur_offset) {

1206 gif_ptr->cur_offset += sizeof(GifHeader);
1207 _SetWord_LSBFirst(dst_buf + gif_ptr->cur_offset, gif_ptr->lsd_ptr->width);
1208 gif_ptr->cur_offset += 2;
1209 _SetWord_LSBFirst(dst_buf + gif_ptr->cur_offset, gif_ptr->lsd_ptr->height);
1210 gif_ptr->cur_offset += 2;
1211 dst_buf[gif_ptr->cur_offset++] = gif_ptr->lsd_ptr->global_flag;
1212 dst_buf[gif_ptr->cur_offset++] = gif_ptr->lsd_ptr->bc_index;
1213 dst_buf[gif_ptr->cur_offset++] = gif_ptr->lsd_ptr->pixel_aspect;
1216 if (!_gif_grow_buf(dst_buf, dst_len, gif_ptr->cur_offset + size)) {
1219 FXSYS_memcpy(&dst_buf[gif_ptr->cur_offset], gif_ptr->global_pal, size);
1220 gif_ptr->cur_offset += size;
1275 if (!_gif_grow_buf(dst_buf, dst_len, gif_ptr->cur_offset + GIF_DATA_BLOCK)) {
1280 dst_buf[gif_ptr->cur_offset++] = GIF_SIG_EXTENSION;
1281 dst_buf[gif_ptr->cur_offset++] = GIF_BLOCK_GCE;
1283 dst_buf[gif_ptr->cur_offset++] = gif_ptr->gce_ptr->block_size;
1285 dst_buf[gif_ptr->cur_offset++] = gif_ptr->gce_ptr->gce_flag;
1287 _SetWord_LSBFirst(dst_buf + gif_ptr->cur_offset,
1289 gif_ptr->cur_offset += 2;
1291 dst_buf[gif_ptr->cur_offset++] = gif_ptr->gce_ptr->trans_index;
1292 dst_buf[gif_ptr->cur_offset++] = 0;
1295 dst_buf[gif_ptr->cur_offset++] = GIF_SIG_IMAGE;
1296 _SetWord_LSBFirst(dst_buf + gif_ptr->cur_offset,
1298 gif_ptr->cur_offset += 2;
1299 _SetWord_LSBFirst(dst_buf + gif_ptr->cur_offset,
1301 gif_ptr->cur_offset += 2;
1302 _SetWord_LSBFirst(dst_buf + gif_ptr->cur_offset,
1304 gif_ptr->cur_offset += 2;
1305 _SetWord_LSBFirst(dst_buf + gif_ptr->cur_offset,
1307 gif_ptr->cur_offset += 2;
1309 dst_buf[gif_ptr->cur_offset++] = gif_ptr->image_info_ptr->local_flag;
1312 if (!_gif_grow_buf(dst_buf, dst_len, pal_size + gif_ptr->cur_offset)) {
1315 FXSYS_memcpy(&dst_buf[gif_ptr->cur_offset], gif_ptr->local_pal, pal_size);
1316 gif_ptr->cur_offset += pal_size;
1328 gif_ptr->cur_offset);
1334 gif_ptr->cur_offset)) {
1338 gif_ptr->img_encoder_ptr->Finish(dst_buf, dst_len, gif_ptr->cur_offset);
1339 dst_buf[gif_ptr->cur_offset++] = 0;
1343 dst_buf[gif_ptr->cur_offset++] = GIF_SIG_EXTENSION;
1344 dst_buf[gif_ptr->cur_offset
1346 dst_len, gif_ptr->cur_offset);
1347 dst_buf[gif_ptr->cur_offset++] = 0;
1353 dst_buf[gif_ptr->cur_offset++] = GIF_SIG_EXTENSION;
1354 dst_buf[gif_ptr->cur_offset++] = GIF_BLOCK_PTE;
1355 dst_buf[gif_ptr->cur_offset++] = gif_ptr->pte_ptr->block_size;
1356 _SetWord_LSBFirst(dst_buf + gif_ptr->cur_offset,
1358 gif_ptr->cur_offset += 2;
1359 _SetWord_LSBFirst(dst_buf + gif_ptr->cur_offset,
1361 gif_ptr->cur_offset += 2;
1362 _SetWord_LSBFirst(dst_buf + gif_ptr->cur_offset,
1364 gif_ptr->cur_offset += 2;
1365 _SetWord_LSBFirst(dst_buf + gif_ptr->cur_offset,
1367 gif_ptr->cur_offset += 2;
1368 _SetWord_LSBFirst(dst_buf + gif_ptr->cur_offset,
1370 gif_ptr->cur_offset += 2;
1371 _SetWord_LSBFirst(dst_buf + gif_ptr->cur_offset,
1373 gif_ptr->cur_offset += 2;
1374 _SetWord_LSBFirst(dst_buf + gif_ptr->cur_offset,
1376 gif_ptr->cur_offset += 2;
1377 _SetWord_LSBFirst(dst_buf + gif_ptr->cur_offset,
1379 gif_ptr->cur_offset += 2;
1381 dst_len, gif_ptr->cur_offset);
1382 gif_ptr->cur_offset += gif_ptr->pte_data_len;
1383 dst_buf[gif_ptr->cur_offset++] = 0;
1389 dst_buf[gif_ptr->cur_offset++] = GIF_SIG_EXTENSION;
1390 dst_buf[gif_ptr->cur_offset++] = GIF_BLOCK_AE;
1391 dst_buf[gif_ptr->cur_offset++] = 11;
1392 FXSYS_memcpy(&dst_buf[gif_ptr->cur_offset], gif_ptr->app_identify, 8);
1393 gif_ptr->cur_offset += 8;
1394 FXSYS_memcpy(&dst_buf[gif_ptr->cur_offset], gif_ptr->app_authentication, 8);
1395 gif_ptr->cur_offset += 3;
1396 FXSYS_memcpy(&dst_buf[gif_ptr->cur_offset], gif_ptr->app_data,
1398 gif_ptr->cur_offset += gif_ptr->app_data_size;
1399 dst_buf[gif_ptr->cur_offset++] = 0;
1402 dst_buf[gif_ptr->cur_offset++] = GIF_SIG_TRAILER;
1411 FX_DWORD cur_offset = gif_ptr->cur_offset;
1414 gif_ptr->cur_offset--;
1417 gif_ptr->cur_offset = cur_offset;
1420 dst_len = gif_ptr->cur_offset;