Searched defs:msb (Results 1 - 25 of 65) sorted by relevance

123

/external/libvpx/libvpx/test/
H A Dsum_squares_test.cc51 const int msb = 11; // Up to 12 bit input local
52 const int limit = 1 << (msb + 1);
79 const int msb = 11; // Up to 12 bit input local
80 const int limit = 1 << (msb + 1);
H A Dvp9_block_error_test.cc81 const int msb = bit_depth_ + 8 - 1; local
90 coeff[j] = rnd(1 << msb);
91 dqcoeff[j] = rnd(1 << msb);
94 coeff[j] = -rnd(1 << msb);
95 dqcoeff[j] = -rnd(1 << msb);
124 const int msb = bit_depth_ + 8 - 1; local
125 int max_val = ((1 << msb) - 1);
/external/perfetto/include/perfetto/protozero/
H A Dproto_utils.h95 const uint8_t msb = (i < kMessageLengthFieldSize - 1) ? 0x80 : 0; local
96 buf[i] = static_cast<uint8_t>(value) | msb;
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dr300_fragprog.c158 unsigned int msb = get_msb( local
165 & 31) | msb,
188 unsigned int msb = get_msb( local
194 | msb);
/external/mesa3d/src/gallium/state_trackers/clover/core/
H A Dkernel.cpp281 msb(const std::vector<uint8_t> &s) { function in namespace:__anon16844
297 const uint8_t fill = (sign_ext && msb(v) ? ~0 : 0);
/external/pdfium/third_party/libopenjpeg20/
H A Dmqc.c362 /* If the previous byte was 0xff, make sure that the next msb is 0 */
554 void opj_mqc_setstate(opj_mqc_t *mqc, OPJ_UINT32 ctxno, OPJ_UINT32 msb, argument
557 mqc->ctxs[ctxno] = &mqc_states[msb + (OPJ_UINT32)(prob << 1)];
/external/drm_hwcomposer/
H A Ddrmdisplaycomposition.cpp127 size_t msb = sizeof(in) * 8 - 1; local
128 uint64_t mask = (uint64_t)1 << msb;
129 for (size_t i = msb; mask != (uint64_t)0; i--, mask >>= 1)
/external/libchrome/base/strings/
H A Dstring_number_conversions.cc292 uint8_t msb = 0; // most significant 4 bits local
294 if (!CharToDigit<16>(input[i * 2], &msb) ||
297 output->push_back((msb << 4) | lsb);
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_pack.c379 LLVMValueRef msb; local
389 msb = LLVMBuildAShr(builder, src, lp_build_const_int_vec(gallivm, src_type, src_type.width - 1), "");
393 msb = lp_build_zero(gallivm, src_type);
397 *dst_lo = lp_build_interleave2(gallivm, src_type, src, msb, 0);
398 *dst_hi = lp_build_interleave2(gallivm, src_type, src, msb, 1);
401 *dst_lo = lp_build_interleave2(gallivm, src_type, msb, src, 0);
402 *dst_hi = lp_build_interleave2(gallivm, src_type, msb, src, 1);
432 LLVMValueRef msb; local
442 msb = LLVMBuildAShr(builder, src,
447 msb
[all...]
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_shader_tgsi_alu.c566 LLVMValueRef msb = local
572 * the index from LSB. Invert it by doing "31 - msb". */
573 msb = LLVMBuildSub(builder, lp_build_const_int32(gallivm, 31),
574 msb, "");
581 lp_build_const_int32(gallivm, -1), msb, "");
593 LLVMValueRef msb = local
599 * the index from LSB. Invert it by doing "31 - msb". */
600 msb = LLVMBuildSub(builder, lp_build_const_int32(gallivm, 31),
601 msb, "");
614 LLVMBuildSelect(builder, cond, all_ones, msb, "");
[all...]
/external/protobuf/js/binary/
H A Darith.js110 jspb.arith.UInt64.prototype.msb = function() {
241 while (!divisor.msb()) {
/external/valgrind/memcheck/tests/vbit-test/
H A Dvbits.c1018 int msb; local
1023 msb = (v.bits.u8 & 0x80) != 0;
1027 msb = (v.bits.u16 & 0x8000) != 0;
1031 msb = (v.bits.u32 & (1u << 31)) != 0;
1035 msb = (v.bits.u64 & (1ull << 63)) != 0;
1043 if (msb)
/external/aac/libFDK/src/
H A Dnlc_dec.cpp798 int msb; local
799 msb = in_data_msb[i];
805 out_data[i] = ((msb << num_lsb) | lsb) - offset;
807 out_data[i] = msb - offset;
/external/fio/t/
H A Dread-to-pipe-async.c142 unsigned int msb, error_bits, base, offset; local
146 msb = 0;
148 msb = sizeof(val)*8 - __builtin_clz(val) - 1;
154 if (msb <= PLAT_BITS)
158 error_bits = msb - PLAT_BITS;
/external/libogg/src/
H A Dbitwise.c181 int msb){
214 if(msb)
175 oggpack_writecopy_helper(oggpack_buffer *b, void *source, long bits, void (*w)(oggpack_buffer *, unsigned long, int), int msb) argument
/external/pdfium/third_party/lcms/src/
H A Dcmsplugin.c347 cmsUInt8Number msb, lsb; local
350 msb = (cmsUInt8Number) (((cmsUInt16Number) fixed8 >> 8) & 0xff);
352 return (cmsFloat64Number) ((cmsFloat64Number) msb + ((cmsFloat64Number) lsb / 256.0));
/external/vixl/src/
H A Dutils-vixl.h172 inline uint64_t ExtractUnsignedBitfield64(int msb, int lsb, uint64_t x) { argument
173 VIXL_ASSERT((static_cast<size_t>(msb) < sizeof(x) * 8) && (lsb >= 0) &&
174 (msb >= lsb));
175 if ((msb == 63) && (lsb == 0)) return x;
176 return (x >> lsb) & ((static_cast<uint64_t>(1) << (1 + msb - lsb)) - 1);
180 inline uint32_t ExtractUnsignedBitfield32(int msb, int lsb, uint32_t x) { argument
181 VIXL_ASSERT((static_cast<size_t>(msb) < sizeof(x) * 8) && (lsb >= 0) &&
182 (msb >= lsb));
183 return TruncateToUint32(ExtractUnsignedBitfield64(msb, lsb, x));
187 inline int64_t ExtractSignedBitfield64(int msb, in argument
201 ExtractSignedBitfield32(int msb, int lsb, int32_t x) argument
[all...]
/external/aac/libAACdec/src/
H A Daacdec_hcr.cpp576 INT msb; local
613 msb = pScaleFacHcr[interm] >> 2;
632 msb - GetScaleFromValue(
H A Dstereo.cpp1212 int msb = bandScale >> 2; local
1215 /* exponent of MantissaTable[lsb][0] is 1, thus msb+1 below. */
1228 rightScale[band] = leftScale[band] + msb + 1;
/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A DUCharacterName.java335 int msb = getCodepointMSB(codepoint);
342 if (msb < getGroupMSB(gindex)) {
416 * @param msb most significant byte of the group
419 public static int getGroupLimit(int msb) argument
421 return (msb << GROUP_SHIFT_) + LINES_PER_GROUP_;
426 * @param msb most significant byte of the group
429 public static int getGroupMin(int msb) argument
431 return msb << GROUP_SHIFT_;
509 // gets the msb
510 int msb
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DUCharacterName.java334 int msb = getCodepointMSB(codepoint);
341 if (msb < getGroupMSB(gindex)) {
415 * @param msb most significant byte of the group
418 public static int getGroupLimit(int msb) argument
420 return (msb << GROUP_SHIFT_) + LINES_PER_GROUP_;
425 * @param msb most significant byte of the group
428 public static int getGroupMin(int msb) argument
430 return msb << GROUP_SHIFT_;
508 // gets the msb
509 int msb
[all...]
/external/libxaac/decoder/
H A Dixheaacd_mps_dec.c1288 WORD32 i = 0, lsb = 0, msb = 0; local
1292 msb = in_data_msb[i];
1298 out_data[i] = ((msb << num_lsb) | lsb) - ixheaacd_drc_offset;
1300 out_data[i] = msb - ixheaacd_drc_offset;
/external/mesa3d/src/amd/addrlib/r800/
H A Dciaddrlib.cpp82 * Gets bits within a range of [msb, lsb]
89 UINT_32 msb, ///< Most signicant bit
94 if (msb >= lsb)
96 ret = (bits >> lsb) & (AddrMask(1 + msb - lsb));
106 * Removes bits within the range of [msb, lsb]
113 UINT_32 msb, ///< Most signicant bit
118 if (msb >= lsb)
121 | (AddrGetBits(bits, 8 * sizeof(bits) - 1, msb + 1) << lsb); //high bits
131 * Inserts new bits into the range of [msb, lsb]
139 UINT_32 msb, ///< Mos
87 AddrGetBits( UINT_64 bits, UINT_32 msb, UINT_32 lsb) argument
111 AddrRemoveBits( UINT_64 bits, UINT_32 msb, UINT_32 lsb) argument
136 AddrInsertBits( UINT_64 bits, UINT_64 newBits, UINT_32 msb, UINT_32 lsb) argument
1695 UINT_32 msb = bankBits - 1 + lsb; local
[all...]
/external/mesa3d/src/compiler/glsl/
H A Dlower_instructions.cpp1350 ir_variable *msb = local
1351 new(ir) ir_variable(glsl_type::ivec(elements), "msb", ir_var_temporary);
1411 * int msb = (floatBitsToInt(as_float) >> 23) - 0x7f;
1413 i.insert_before(msb);
1414 i.insert_before(assign(msb, sub(rshift(bitcast_f2i(as_float), c23), c7F)));
1416 /* Use msb in the comparison instead of temp so that the subtract can
1419 * (msb < 0) ? -1 : msb;
1425 ir->operands[0] = less(msb, c0);
1427 ir->operands[2] = new(ir) ir_dereference_variable(msb);
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
H A DARMCodeEmitter.cpp1041 int32_t msb = (32 - CountLeadingZeros_32(v)) - 1; local
1042 // Instr{20-16} = msb, Instr{11-7} = lsb
1043 Binary |= (msb & 0x1F) << 16;

Completed in 788 milliseconds

123