Remove a few more useless #defines

Change-Id: I211e9bcb1c37d0ebc108896f109b23ce915e22b4
This commit is contained in:
Vincent Rabaud 2018-10-15 16:00:55 +02:00
parent ef1094b0fe
commit ac5433118a
2 changed files with 0 additions and 3 deletions

View File

@ -121,7 +121,6 @@ static tsize_t MyRead(thandle_t opaque, void* dst, tsize_t size) {
// (we don't want to force a dependency to a libdspdec library).
#define MFIX 24 // 24bit fixed-point arithmetic
#define HALF ((1u << MFIX) >> 1)
#define KINV_255 ((1u << MFIX) / 255u)
static uint32_t Unmult(uint8_t x, uint32_t mult) {
const uint32_t v = (x * mult + HALF) >> MFIX;

View File

@ -23,8 +23,6 @@
#include "src/dsp/lossless.h"
#include "src/dsp/lossless_common.h"
#define MAX_DIFF_COST (1e30f)
//------------------------------------------------------------------------------
// Image transforms.