mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.7 KiB

  1. Nur in M2VRequantiser-patch: a.out.
  2. Nur in M2VRequantiser-patch: M2VRequantiser.
  3. diff -dur M2VRequantiser/main.c M2VRequantiser-patch/main.c
  4. --- M2VRequantiser/main.c 2004-01-21 23:48:32.000000000 +0000
  5. +++ M2VRequantiser-patch/main.c 2004-07-17 20:02:33.000000000 +0000
  6. @@ -12,7 +12,7 @@
  7. #define NDEBUG // turns off asserts
  8. #define REMOVE_BYTE_STUFFING // removes series of 0x00
  9. -#define USE_GLOBAL_REGISTER // assign registers to bit buffers
  10. +//#define USE_GLOBAL_REGISTER // assign registers to bit buffers
  11. #define MAX_ERRORS 0 // if above copy slice
  12. //#define CHANGE_BRIGHTNESS //add a param to command line, changing brightness: _will_not_recompress_, disables max_errors
  13. @@ -120,7 +120,7 @@
  14. register int inbitcnt asm ("r13");
  15. register int outbitcnt asm ("r14");
  16. register uint32 inbitbuf asm ("r15");
  17. - register uint32 outbitbuf asm ("r16");
  18. + register uint32 outbitbuf asm ("r16");
  19. #else
  20. static int inbitcnt, outbitcnt;
  21. static uint32 inbitbuf, outbitbuf;
  22. Nur in M2VRequantiser-patch: main.c~.
  23. Nur in M2VRequantiser-patch: makeTable.
  24. diff -dur M2VRequantiser/makeTable.c M2VRequantiser-patch/makeTable.c
  25. --- M2VRequantiser/makeTable.c 2003-12-30 05:17:01.000000000 +0000
  26. +++ M2VRequantiser-patch/makeTable.c 2004-07-17 20:10:57.000000000 +0000
  27. @@ -18,8 +18,12 @@
  28. int alt_table = 0;
  29. int fill_table = 1;
  30. - if (argc != 3) return 2;
  31. -
  32. + if (argc != 3)
  33. + {
  34. + printf("Usage: %s { norm | alt | run } OutputFile\n", argv[0]);
  35. + return 2;
  36. + }
  37. +
  38. if (strcmp(argv[1], "norm") == 0) alt_table = 0;
  39. else if (strcmp(argv[1], "alt") == 0) alt_table = 1;
  40. else if (strcmp(argv[1], "run") == 0) fill_table = 0;
  41. Nur in M2VRequantiser-patch: makeTable.c~.
  42. Nur in M2VRequantiser-patch: test.txt.