/[rdesktop]/sourceforge.net/trunk/rdesktop/bitmap.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/bitmap.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 655 by stargo, Fri Apr 16 09:11:03 2004 UTC revision 681 by stargo, Tue Apr 27 09:04:42 2004 UTC
# Line 330  bitmap_decompress2(uint8 * output, int w Line 330  bitmap_decompress2(uint8 * output, int w
330                                          insertmix = True;                                          insertmix = True;
331                                  break;                                  break;
332                          case 8: /* Bicolour */                          case 8: /* Bicolour */
333    #ifdef NEED_ALIGNMENT
334                                  memcpy(&colour1,&CVAL2(input),2);                                  memcpy(&colour1,&CVAL2(input),2);
335    #else
336                                    colour1 = CVAL2(input);
337    #endif
338                          case 3: /* Colour */                          case 3: /* Colour */
339    #ifdef NEED_ALIGNMENT
340                                  memcpy(&colour2,&CVAL2(input),2);                                  memcpy(&colour2,&CVAL2(input),2);
341    #else
342                                    colour2 = CVAL2(input);
343    #endif
344                                  break;                                  break;
345                          case 6: /* SetMix/Mix */                          case 6: /* SetMix/Mix */
346                          case 7: /* SetMix/FillOrMix */                          case 7: /* SetMix/FillOrMix */
347    #ifdef NEED_ALIGNMENT
348                                  memcpy(&mix,&CVAL2(input),2);                                  memcpy(&mix,&CVAL2(input),2);
349    #else
350                                    mix = CVAL2(input);
351    #endif
352                                  opcode -= 5;                                  opcode -= 5;
353                                  break;                                  break;
354                          case 9: /* FillOrMix_1 */                          case 9: /* FillOrMix_1 */
# Line 424  bitmap_decompress2(uint8 * output, int w Line 436  bitmap_decompress2(uint8 * output, int w
436                                          REPEAT(line[x] = colour2)                                          REPEAT(line[x] = colour2)
437                                          break;                                          break;
438                                  case 4: /* Copy */                                  case 4: /* Copy */
439    #ifdef NEED_ALIGNMENT
440                                          REPEAT(memcpy(&line[x],&CVAL2(input),2))                                          REPEAT(memcpy(&line[x],&CVAL2(input),2))
441    #else
442                                            REPEAT(line[x] = CVAL2(input))
443    #endif
444                                          break;                                          break;
445                                  case 8: /* Bicolour */                                  case 8: /* Bicolour */
446                                          REPEAT                                          REPEAT

Legend:
Removed from v.655  
changed lines
  Added in v.681

  ViewVC Help
Powered by ViewVC 1.1.26