Searched refs:nBits (Results 1 - 5 of 5) sorted by relevance
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_util.cpp | 242 bool BitSet::resize(unsigned int nBits) in resize() argument 244 if (!data || !nBits) in resize() 245 return allocate(nBits, true); in resize() 247 const unsigned int n = (nBits + 31) / 32; in resize() 258 if (nBits < size && (nBits % 32)) in resize() 259 data[(nBits + 31) / 32 - 1] &= (1 << (nBits % 32)) - 1; in resize() 261 size = nBits; in resize() 265 bool BitSet::allocate(unsigned int nBits, boo argument [all...] |
H A D | nv50_ir_util.h | 477 BitSet(unsigned int nBits, bool zero) : marker(false), data(0), size(0) 479 allocate(nBits, zero); 488 bool allocate(unsigned int nBits, bool zero); 489 bool resize(unsigned int nBits); // keep old data, zero additional bits
|
/third_party/lame/libmp3lame/ |
H A D | quantize.c | 371 int nBits; in bin_search_StepSize() local 382 nBits = count_bits(gfc, xrpow, cod_info, 0); in bin_search_StepSize() 384 if (CurrentStep == 1 || nBits == desired_rate) in bin_search_StepSize() 387 if (nBits > desired_rate) { in bin_search_StepSize() 421 while (nBits > desired_rate && cod_info->global_gain < 255) { in bin_search_StepSize() 423 nBits = count_bits(gfc, xrpow, cod_info, 0); in bin_search_StepSize() 427 cod_info->part2_3_length = nBits; in bin_search_StepSize() 428 return nBits; in bin_search_StepSize()
|
/third_party/ffmpeg/libavcodec/ |
H A D | exr.c | 449 uint32_t nBits; in huf_uncompress() local 455 nBits = bytestream2_get_le32(gb); in huf_uncompress() 475 if (nBits > 8 * bytestream2_get_bytes_left(gb)) { in huf_uncompress() 482 return huf_decode(&td->vlc, gb, nBits, td->run_sym, dst_size, dst); in huf_uncompress()
|
/third_party/astc-encoder/Source/ |
H A D | tinyexr.h | 8295 inline void outputBits(int nBits, long long bits, long long &c, int &lc, in outputBits() argument 8297 c <<= nBits; in outputBits() local 8298 lc += nBits; in outputBits() 8305 inline long long getBits(int nBits, long long &c, int &lc, const char *&in) { in getBits() argument 8306 while (lc < nBits) { in getBits() 8311 lc -= nBits; in getBits() 8312 return (c >> lc) & ((1 << nBits) - 1); in getBits() 9108 int nBits = hufEncode(freq.data(), raw, nRaw, iM, dataStart); in hufCompress() local 9109 int data_length = (nBits + 7) / 8; in hufCompress() 9114 writeUInt(compressed + 12, nBits); in hufCompress() 9131 int nBits = readUInt(compressed + 12); hufUncompress() local [all...] |
Completed in 22 milliseconds