Home
last modified time | relevance | path

Searched refs:nibble (Results 1 - 19 of 19) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dadpcmenc.c56 int nibble; member
129 /* each 16 bits sample gives one nibble in adpcm_encode_init()
144 /* each 16 bits sample gives one nibble in adpcm_encode_init()
207 /* each 16 bits sample gives one nibble */ in adpcm_encode_init()
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) >> in adpcm_ima_alp_compress_sample()
267 int nibble = 8*(delta < 0); adpcm_ima_qt_compress_sample() local
302 int predictor, nibble, bias; adpcm_ms_compress_sample() local
331 int nibble, delta; adpcm_yamaha_compress_sample() local
410 const int nibble = nidx & 0xf; adpcm_compress_trellis() local
561 int nibble; adpcm_argo_compress_nibble() local
586 int nibble = adpcm_argo_compress_nibble(cs, samples[n], shift, flag); adpcm_argo_compress_block() local
[all...]
H A 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 in adpcm_ima_alp_expand_nibble()
448 adpcm_ima_mtf_expand_nibble(ADPCMChannelStatus *c, int nibble) adpcm_ima_mtf_expand_nibble() argument
464 adpcm_ima_cunning_expand_nibble(ADPCMChannelStatus *c, int8_t nibble) adpcm_ima_cunning_expand_nibble() argument
486 int nibble, step_index, predictor, sign, delta, diff, step, shift; adpcm_ima_wav_expand_nibble() local
507 adpcm_ima_qt_expand_nibble(ADPCMChannelStatus *c, int nibble) adpcm_ima_qt_expand_nibble() argument
533 adpcm_ms_expand_nibble(ADPCMChannelStatus *c, int nibble) adpcm_ms_expand_nibble() argument
552 adpcm_ima_oki_expand_nibble(ADPCMChannelStatus *c, int nibble) adpcm_ima_oki_expand_nibble() argument
573 adpcm_ct_expand_nibble(ADPCMChannelStatus *c, int8_t nibble) adpcm_ct_expand_nibble() argument
594 adpcm_sbpro_expand_nibble(ADPCMChannelStatus *c, int8_t nibble, int size, int shift) adpcm_sbpro_expand_nibble() argument
614 adpcm_yamaha_expand_nibble(ADPCMChannelStatus *c, uint8_t nibble) adpcm_yamaha_expand_nibble() argument
628 adpcm_mtaf_expand_nibble(ADPCMChannelStatus *c, uint8_t nibble) adpcm_mtaf_expand_nibble() argument
637 adpcm_zork_expand_nibble(ADPCMChannelStatus *c, uint8_t nibble) adpcm_zork_expand_nibble() argument
818 ff_adpcm_argo_expand_nibble(ADPCMChannelStatus *cs, int nibble, int shift, int flag) ff_adpcm_argo_expand_nibble() argument
[all...]
H A 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/
H A 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/
H A Dpan_attributes.c56 unsigned nibble = (vertex_count >> n) & 0xF; in panfrost_large_padded_vertex_count() local
58 /* Great, we have the nibble. Now we can just try possibilities. Note in panfrost_large_padded_vertex_count()
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/
H A 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/
H A 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 > in leb16_parse()
[all...]
H A 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 > in leb16_parse()
[all...]
/third_party/openssl/test/
H A Ddanetest.c183 int nibble = 0; in hexdecode() local
200 if ((nibble ^= 1) == 0) { in hexdecode()
207 if (nibble != 0) { in hexdecode()
/third_party/icu/tools/unicodetools/com/ibm/rbm/
H A DBundleItem.java358 * Convert a nibble to a hex character
359 * @param nibble the nibble to convert.
362 private static char toHex(int nibble) { in toHex() argument
363 return hexDigit[(nibble & 0xF)]; in toHex()
/third_party/protobuf/js/binary/
H A Dutils.js684 * @param {number} nibble A 4-bit integer.
688 jspb.utils.toHexDigit_ = function(nibble) {
690 nibble < 10 ? jspb.utils.ZERO_CHAR_CODE_ + nibble :
691 jspb.utils.A_CHAR_CODE_ - 10 + nibble);
/third_party/cJSON/tests/unity/src/
H A 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/
H A Dnamespropsbuilder.cpp72 * A nibble with a value of 0..11 directly indicates the length of the name string.
73 * A nibble n with a value of 12..15 is a lead nibble and forms a value with the following nibble m
285 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/
H A 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/unity/src/
H A 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/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
H A Dfloat_conversion.cc686 // Grab the group of four bits (nibble) from `n`. E.g., nibble 1 corresponds to
696 // Add one to the given nibble, applying carry to higher nibbles. Returns true
704 // nibble, then add it to *n to effectively increment the nibble. However, in IncrementNibble()
714 // Return a mask with 1's in the given nibble and all lower nibbles.
722 // Return a mask with 1's below the given nibble.
729 Int MoveToNibble(uint8_t nibble, int nibble_index) { in MoveToNibble() argument
730 return Int{nibble} << (4 * nibble_index); in MoveToNibble()
762 // If the last nibble (he in HexFloatNeedsRoundUp()
[all...]
/third_party/node/deps/openssl/openssl/apps/
H A 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/
H A Ds_client.c305 int nibble = 0; in hexdecode() local
321 if ((nibble ^= 1) == 0) { in hexdecode()
328 if (nibble != 0) { in hexdecode()
/third_party/vixl/src/aarch64/
H A Dsimulator-aarch64.cc1795 uint64_t nibble = MemReadUint(lane_size_in_bytes, address + offset); in Simulator() local
1796 fprintf(stream_, "%s%0*" PRIx64, sep, lane_size_in_nibbles, nibble); in Simulator()

Completed in 43 milliseconds