NBITS 618 libavcodec/exr.c #define A_OFFSET (1 << (NBITS - 1)) NBITS 619 libavcodec/exr.c #define MOD_MASK ((1 << NBITS) - 1) NBITS 59 libavfilter/vf_palettegen.c #define HIST_SIZE (1<<(3*NBITS)) NBITS 396 libavfilter/vf_palettegen.c const uint8_t r = color >> 16 & ((1<<NBITS)-1); NBITS 397 libavfilter/vf_palettegen.c const uint8_t g = color >> 8 & ((1<<NBITS)-1); NBITS 398 libavfilter/vf_palettegen.c const uint8_t b = color & ((1<<NBITS)-1); NBITS 399 libavfilter/vf_palettegen.c return r<<(NBITS*2) | g<<NBITS | b; NBITS 63 libavfilter/vf_paletteuse.c #define CACHE_SIZE (1<<(3*NBITS)) NBITS 327 libavfilter/vf_paletteuse.c const uint8_t rhash = r & ((1<<NBITS)-1); NBITS 328 libavfilter/vf_paletteuse.c const uint8_t ghash = g & ((1<<NBITS)-1); NBITS 329 libavfilter/vf_paletteuse.c const uint8_t bhash = b & ((1<<NBITS)-1); NBITS 330 libavfilter/vf_paletteuse.c const unsigned hash = rhash<<(NBITS*2) | ghash<<NBITS | bhash;