Home
last modified time | relevance | path

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

12

/third_party/ffmpeg/libavcodec/
Dadpcmenc.c56 int nibble; member
234 int nibble = FFMIN(7, abs(delta) * 4 / in adpcm_ima_compress_sample() local
237 ff_adpcm_yamaha_difflookup[nibble]) / 8); in adpcm_ima_compress_sample()
239 c->step_index = av_clip(c->step_index + ff_adpcm_index_table[nibble], 0, 88); in adpcm_ima_compress_sample()
240 return nibble; in adpcm_ima_compress_sample()
249 int nibble = FFMIN(abs(delta) * 4 / step, 7); in adpcm_ima_alp_compress_sample() local
250 int diff = (step * nibble) >> 2; in adpcm_ima_alp_compress_sample()
254 nibble = sign | nibble; in adpcm_ima_alp_compress_sample()
258 c->step_index = av_clip(c->step_index + ff_adpcm_index_table[nibble], 0, 88); in adpcm_ima_alp_compress_sample()
259 return nibble; in adpcm_ima_alp_compress_sample()
[all …]
Dadpcm.c355 static inline int16_t adpcm_agm_expand_nibble(ADPCMChannelStatus *c, int8_t nibble) in adpcm_agm_expand_nibble() argument
360 delta = nibble & 7; in adpcm_agm_expand_nibble()
366 if ((nibble & 8) == 0) in adpcm_agm_expand_nibble()
399 static inline int16_t adpcm_ima_expand_nibble(ADPCMChannelStatus *c, int8_t nibble, int shift) in adpcm_ima_expand_nibble() argument
406 step_index = c->step_index + ff_adpcm_index_table[(unsigned)nibble]; in adpcm_ima_expand_nibble()
409 sign = nibble & 8; in adpcm_ima_expand_nibble()
410 delta = nibble & 7; in adpcm_ima_expand_nibble()
425 static inline int16_t adpcm_ima_alp_expand_nibble(ADPCMChannelStatus *c, int8_t nibble, int shift) in adpcm_ima_alp_expand_nibble() argument
432 step_index = c->step_index + ff_adpcm_index_table[(unsigned)nibble]; in adpcm_ima_alp_expand_nibble()
435 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/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/littlefs/runners/
Dbench_runner.c62 char nibble = (x & 0xf) | (x > 0xf ? 0x10 : 0); in leb16_print() local
63 printf("%c", (nibble < 10) ? '0'+nibble : 'a'+nibble-10); in leb16_print()
85 uintmax_t nibble = s[i]; in leb16_parse() local
86 if (nibble >= '0' && nibble <= '9') { in leb16_parse()
87 nibble = nibble - '0'; in leb16_parse()
88 } else if (nibble >= 'a' && nibble <= 'v') { in leb16_parse()
89 nibble = nibble - 'a' + 10; in leb16_parse()
95 x |= (nibble & 0xf) << (4*i); in leb16_parse()
97 if (!(nibble & 0x10)) { in leb16_parse()
Dtest_runner.c62 char nibble = (x & 0xf) | (x > 0xf ? 0x10 : 0); in leb16_print() local
63 printf("%c", (nibble < 10) ? '0'+nibble : 'a'+nibble-10); in leb16_print()
85 uintmax_t nibble = s[i]; in leb16_parse() local
86 if (nibble >= '0' && nibble <= '9') { in leb16_parse()
87 nibble = nibble - '0'; in leb16_parse()
88 } else if (nibble >= 'a' && nibble <= 'v') { in leb16_parse()
89 nibble = nibble - 'a' + 10; in leb16_parse()
95 x |= (nibble & 0xf) << (4*i); in leb16_parse()
97 if (!(nibble & 0x10)) { in leb16_parse()
/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/unity/src/
Dunity.c274 int nibble; in UnityPrintNumberHex() local
285 nibble = (int)(number >> (nibbles * 4)) & 0x0F; in UnityPrintNumberHex()
286 if (nibble <= 9) in UnityPrintNumberHex()
288 UNITY_OUTPUT_CHAR((char)('0' + nibble)); in UnityPrintNumberHex()
292 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/node/deps/openssl/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/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/node/deps/openssl/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/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/vixl/src/aarch64/
Dsimulator-aarch64.cc1686 uint64_t nibble = MemReadUint(lane_size_in_bytes, address + offset); in Simulator() local
1687 fprintf(stream_, "%s%0*" PRIx64, sep, lane_size_in_nibbles, nibble); in Simulator()

12