Chromium Code Reviews| Index: core/fxcodec/codec/fx_codec_fax.cpp |
| diff --git a/core/fxcodec/codec/fx_codec_fax.cpp b/core/fxcodec/codec/fx_codec_fax.cpp |
| index 91f9eb2eb8cea8f55a94d3ddd88ec1b97868e959..97b7ee2ad6e545869b4ae5494a21fd2350402424 100644 |
| --- a/core/fxcodec/codec/fx_codec_fax.cpp |
| +++ b/core/fxcodec/codec/fx_codec_fax.cpp |
| @@ -132,11 +132,6 @@ void FaxFillBits(uint8_t* dest_buf, int columns, int startpos, int endpos) { |
| #define NEXTBIT \ |
| src_buf[bitpos / 8] & (1 << (7 - bitpos % 8)); \ |
| bitpos++; |
| -#define ADDBIT(code, bit) \ |
|
Tom Sepez
2016/05/16 18:17:55
unrelated change, but ok.
|
| - code = code << 1; \ |
| - if (bit) \ |
| - code++; |
| -#define GETBIT(bitpos) src_buf[bitpos / 8] & (1 << (7 - bitpos % 8)) |
| const uint8_t FaxBlackRunIns[] = { |
| 0, 2, 0x02, 3, 0, 0x03, |