Home
last modified time | relevance | path

Searched refs:nibble (Results 1 – 25 of 39) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dadpcmenc.c41 int nibble; member
218 int nibble = FFMIN(7, abs(delta) * 4 / in adpcm_ima_compress_sample() local
221 ff_adpcm_yamaha_difflookup[nibble]) / 8); in adpcm_ima_compress_sample()
223 c->step_index = av_clip(c->step_index + ff_adpcm_index_table[nibble], 0, 88); in adpcm_ima_compress_sample()
224 return nibble; in adpcm_ima_compress_sample()
233 int nibble = FFMIN(abs(delta) * 4 / step, 7); in adpcm_ima_alp_compress_sample() local
234 int diff = (step * nibble) >> 2; in adpcm_ima_alp_compress_sample()
238 nibble = sign | nibble; in adpcm_ima_alp_compress_sample()
242 c->step_index = av_clip(c->step_index + ff_adpcm_index_table[nibble], 0, 88); in adpcm_ima_alp_compress_sample()
243 return nibble; in adpcm_ima_alp_compress_sample()
[all …]
Dadpcm.c234 static inline int16_t adpcm_agm_expand_nibble(ADPCMChannelStatus *c, int8_t nibble) in adpcm_agm_expand_nibble() argument
239 delta = nibble & 7; in adpcm_agm_expand_nibble()
245 if ((nibble & 8) == 0) in adpcm_agm_expand_nibble()
278 static inline int16_t adpcm_ima_expand_nibble(ADPCMChannelStatus *c, int8_t nibble, int shift) in adpcm_ima_expand_nibble() argument
285 step_index = c->step_index + ff_adpcm_index_table[(unsigned)nibble]; in adpcm_ima_expand_nibble()
288 sign = nibble & 8; in adpcm_ima_expand_nibble()
289 delta = nibble & 7; in adpcm_ima_expand_nibble()
304 static inline int16_t adpcm_ima_alp_expand_nibble(ADPCMChannelStatus *c, int8_t nibble, int shift) in adpcm_ima_alp_expand_nibble() argument
311 step_index = c->step_index + ff_adpcm_index_table[(unsigned)nibble]; in adpcm_ima_alp_expand_nibble()
314 sign = nibble & 8; in adpcm_ima_alp_expand_nibble()
[all …]
Dadpcm.h46 int16_t ff_adpcm_argo_expand_nibble(ADPCMChannelStatus *cs, int nibble, int shift, int flag);
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-cff-interp-dict-common.hh93 unsigned nibble; in parse_bcd() local
100 nibble = byte >> 4; in parse_bcd()
103 nibble = byte & 0x0F; in parse_bcd()
105 if (unlikely (nibble == RESERVED)) break; in parse_bcd()
106 else if (nibble == END) in parse_bcd()
116 buf[count] = "0123456789.EE?-?"[nibble]; in parse_bcd()
117 if (nibble == EXP_NEG) in parse_bcd()
/third_party/harfbuzz/src/
Dhb-cff-interp-dict-common.hh93 unsigned nibble; in parse_bcd() local
100 nibble = byte >> 4; in parse_bcd()
103 nibble = byte & 0x0F; in parse_bcd()
105 if (unlikely (nibble == RESERVED)) break; in parse_bcd()
106 else if (nibble == END) in parse_bcd()
116 buf[count] = "0123456789.EE?-?"[nibble]; in parse_bcd()
117 if (nibble == EXP_NEG) in parse_bcd()
/third_party/mesa3d/src/panfrost/lib/
Dpan_attributes.c56 unsigned nibble = (vertex_count >> n) & 0xF; in panfrost_large_padded_vertex_count() local
62 unsigned middle_two = (nibble >> 1) & 0x3; in panfrost_large_padded_vertex_count()
66 if (!(nibble & 1)) in panfrost_large_padded_vertex_count()
/third_party/fsverity-utils/programs/
Dutils.c276 static char bin2hex_char(u8 nibble) in bin2hex_char() argument
278 ASSERT(nibble <= 0xf); in bin2hex_char()
280 if (nibble < 10) in bin2hex_char()
281 return '0' + nibble; in bin2hex_char()
282 return 'a' + (nibble - 10); in bin2hex_char()
/third_party/openssl/test/
Ddanetest.c183 int nibble = 0; in hexdecode() local
200 if ((nibble ^= 1) == 0) { in hexdecode()
207 if (nibble != 0) { in hexdecode()
/third_party/protobuf/js/binary/
Dutils.js688 jspb.utils.toHexDigit_ = function(nibble) { argument
690 nibble < 10 ? jspb.utils.ZERO_CHAR_CODE_ + nibble :
691 jspb.utils.A_CHAR_CODE_ - 10 + nibble);
/third_party/icu/tools/unicodetools/com/ibm/rbm/
DBundleItem.java362 private static char toHex(int nibble) { in toHex() argument
363 return hexDigit[(nibble & 0xF)]; in toHex()
/third_party/cJSON/tests/unity/src/
Dunity.c212 int nibble; in UnityPrintNumberHex() local
220 nibble = (int)(number >> (nibbles * 4)) & 0x0F; in UnityPrintNumberHex()
221 if (nibble <= 9) in UnityPrintNumberHex()
223 UNITY_OUTPUT_CHAR((char)('0' + nibble)); in UnityPrintNumberHex()
227 UNITY_OUTPUT_CHAR((char)('A' - 10 + nibble)); in UnityPrintNumberHex()
/third_party/icu/tools/unicode/c/genprops/
Dnamespropsbuilder.cpp285 appendLineLengthNibble(uint8_t nibble);
1087 appendLineLengthNibble(uint8_t nibble) { in appendLineLengthNibble() argument
1089 lineLengths[lineLengthsTop/2]=(uint8_t)(nibble<<4); in appendLineLengthNibble()
1091 lineLengths[lineLengthsTop/2]|=nibble&0xf; in appendLineLengthNibble()
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dlexer.cc428 const auto nibble = hex_value(content_->data[i]); in try_hex_float() local
429 if (nibble != 0) { in try_hex_float()
434 auto v = 1 & (nibble >> bit); in try_hex_float()
454 auto nibble = hex_value(content_->data[i]); in try_hex_float() local
456 auto v = 1 & (nibble >> bit); in try_hex_float()
/third_party/alsa-lib/src/topology/
Dsave.c232 static const char nibble[16] = "0123456789abcdef"; in tplg_save_quoted() local
274 *t++ = nibble[(c >> 4) & 0x0f]; in tplg_save_quoted()
275 *t++ = nibble[(c >> 0) & 0x0f]; in tplg_save_quoted()
/third_party/flutter/skia/third_party/externals/sdl/src/joystick/
DSDL_joystick.c869 static unsigned char nibble(char c) in nibble() function
905 *p = (nibble(pchGUID[i]) << 4) | nibble(pchGUID[i+1]); in SDL_JoystickGetGUIDFromString()
/third_party/unity/src/
Dunity.c277 int nibble; in UnityPrintNumberHex() local
288 nibble = (int)(number >> (nibbles * 4)) & 0x0F; in UnityPrintNumberHex()
289 if (nibble <= 9) in UnityPrintNumberHex()
291 UNITY_OUTPUT_CHAR((char)('0' + nibble)); in UnityPrintNumberHex()
295 UNITY_OUTPUT_CHAR((char)('A' - 10 + nibble)); in UnityPrintNumberHex()
/third_party/openssl/crypto/des/asm/
Ddes_enc.m41830 ! nibble 0
1847 ! nibble 1
1864 ! nibble 2
1881 ! nibble 3
1898 ! nibble 4
1915 ! nibble 5
1932 ! nibble 6
1949 ! nibble 7
/third_party/gstreamer/gstplugins_bad/gst/dvdspu/
DNotes.txt251 '-' stands for any other nibble. Once a sequence X of this alphabet has
260 reset to the next even position (it cannot be nibble-aligned at the start
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc729 Int MoveToNibble(uint8_t nibble, int nibble_index) { in MoveToNibble() argument
730 return Int{nibble} << (4 * nibble_index); in MoveToNibble()
/third_party/openssl/apps/
Ds_client.c305 int nibble = 0; in hexdecode() local
321 if ((nibble ^= 1) == 0) { in hexdecode()
328 if (nibble != 0) { in hexdecode()
/third_party/libexif/m4m/
Dstdint.m4471 /* (btw, those nibble-addressable systems are way off, or so we assume) */
/third_party/rust/crates/memchr/bench/data/sliceslice/
Dwords.txt2693 nibble
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/resources/
DTransliterator_Kanji_English.txt4761 蝕>'[nibble away]';
/third_party/flutter/skia/site/user/api/
DSkPixmap_Reference.md1496 The low nibble of the 16-bit word is <a href='SkColor_Reference#Alpha'>Alpha</a>.
/third_party/harfbuzz/perf/texts/
Den-words.txt7442 nibble

12