Searched refs:NBITS (Results 1 – 11 of 11) sorted by relevance
/third_party/python/Modules/ |
D | testcapi_long.h | 13 const int NBITS = sizeof(TYPENAME) * 8; in TESTNAME() local 27 i < NBITS + 1; /* on last, base overflows to 0 */ in TESTNAME() 107 y = PyLong_FromLong((long)NBITS); in TESTNAME()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_palettegen.c | 61 #define NBITS 5 macro 62 #define HIST_SIZE (1<<(3*NBITS)) 399 const uint8_t r = color >> 16 & ((1<<NBITS)-1); in color_hash() 400 const uint8_t g = color >> 8 & ((1<<NBITS)-1); in color_hash() 401 const uint8_t b = color & ((1<<NBITS)-1); in color_hash() 402 return r<<(NBITS*2) | g<<NBITS | b; in color_hash()
|
D | vf_paletteuse.c | 65 #define NBITS 5 macro 66 #define CACHE_SIZE (1<<(3*NBITS)) 342 const uint8_t rhash = r & ((1<<NBITS)-1); in color_get() 343 const uint8_t ghash = g & ((1<<NBITS)-1); in color_get() 344 const uint8_t bhash = b & ((1<<NBITS)-1); in color_get() 345 const unsigned hash = rhash<<(NBITS*2) | ghash<<NBITS | bhash; in color_get()
|
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/ |
D | SDL_udev.c | 281 #define NBITS(x) ((((x)-1)/BITS_PER_LONG)+1) macro 322 unsigned long bitmask_ev[NBITS(EV_MAX)]; in guess_device_class() 323 unsigned long bitmask_abs[NBITS(ABS_MAX)]; in guess_device_class() 324 unsigned long bitmask_key[NBITS(KEY_MAX)]; in guess_device_class() 325 unsigned long bitmask_rel[NBITS(REL_MAX)]; in guess_device_class()
|
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/linux/ |
D | SDL_sysjoystick.c | 78 #define NBITS(x) ((((x)-1)/(sizeof(long) * 8))+1) macro 88 unsigned long evbit[NBITS(EV_MAX)] = { 0 }; in IsJoystick() 89 unsigned long keybit[NBITS(KEY_MAX)] = { 0 }; in IsJoystick() 90 unsigned long absbit[NBITS(ABS_MAX)] = { 0 }; in IsJoystick() 434 unsigned long keybit[NBITS(KEY_MAX)] = { 0 }; in ConfigJoystick() 435 unsigned long absbit[NBITS(ABS_MAX)] = { 0 }; in ConfigJoystick() 436 unsigned long relbit[NBITS(REL_MAX)] = { 0 }; in ConfigJoystick()
|
/third_party/libinput/src/ |
D | util-bits.h | 35 #define NBITS(b) (b * 8) macro
|
/third_party/libjpeg-turbo/simd/i386/ |
D | jchuff-sse2.asm | 89 %define NBITS(x) nbits_base + x 91 %define NBITS(x) jpeg_nbits_table + x 93 %define MASK_BITS(x) NBITS((x) * 8) + (jpeg_mask_bits - jpeg_nbits_table) 517 movzx nbits, byte [NBITS(code_temp)] ;Z: nbits = JPEG_NBITS(code_temp); 591 movzx nbits, byte [NBITS(nbits)] ; nbits = JPEG_NBITS(nbits); 663 movzx nbits, byte [NBITS(nbits)] ; nbits = JPEG_NBITS(nbits);
|
/third_party/skia/third_party/externals/libjpeg-turbo/simd/i386/ |
D | jchuff-sse2.asm | 89 %define NBITS(x) nbits_base + x 91 %define NBITS(x) jpeg_nbits_table + x 93 %define MASK_BITS(x) NBITS((x) * 8) + (jpeg_mask_bits - jpeg_nbits_table) 517 movzx nbits, byte [NBITS(code_temp)] ;Z: nbits = JPEG_NBITS(code_temp); 591 movzx nbits, byte [NBITS(nbits)] ; nbits = JPEG_NBITS(nbits); 663 movzx nbits, byte [NBITS(nbits)] ; nbits = JPEG_NBITS(nbits);
|
/third_party/skia/third_party/externals/libjpeg-turbo/simd/x86_64/ |
D | jchuff-sse2.asm | 89 %define NBITS(x) nbits_base + x 90 %define MASK_BITS(x) NBITS((x) * 4) + (jpeg_mask_bits - jpeg_nbits_table) 382 movzx nbitsq, byte [NBITS(codeq)] ;Z: nbits = JPEG_NBITS(code); 520 movzx nbits, byte [NBITS(codeq)] ; nbits = JPEG_NBITS(code);
|
/third_party/libjpeg-turbo/simd/x86_64/ |
D | jchuff-sse2.asm | 90 %define NBITS(x) nbits_base + x 91 %define MASK_BITS(x) NBITS((x) * 4) + (jpeg_mask_bits - jpeg_nbits_table) 383 movzx nbitsq, byte [NBITS(codeq)] ;Z: nbits = JPEG_NBITS(code); 521 movzx nbits, byte [NBITS(codeq)] ; nbits = JPEG_NBITS(code);
|
/third_party/ffmpeg/libavcodec/ |
D | exr.c | 497 #define NBITS 16 macro 498 #define A_OFFSET (1 << (NBITS - 1)) 499 #define MOD_MASK ((1 << NBITS) - 1)
|