Home
last modified time | relevance | path

Searched refs:bitcount (Results 1 - 18 of 18) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dsbc.c84 int bitneed[2][8], loudness, max_bitneed, bitcount, slicecount, bitslice; in ff_sbc_calculate_bits() local
114 bitcount = 0; in ff_sbc_calculate_bits()
119 bitcount += slicecount; in ff_sbc_calculate_bits()
127 } while (bitcount + slicecount < frame->bitpool); in ff_sbc_calculate_bits()
129 if (bitcount + slicecount == frame->bitpool) { in ff_sbc_calculate_bits()
130 bitcount += slicecount; in ff_sbc_calculate_bits()
144 for (sb = 0; bitcount < frame->bitpool && in ff_sbc_calculate_bits()
148 bitcount++; in ff_sbc_calculate_bits()
149 } else if ((bitneed[ch][sb] == bitslice + 1) && (frame->bitpool > bitcount + 1)) { in ff_sbc_calculate_bits()
151 bitcount in ff_sbc_calculate_bits()
166 int bitneed[2][8], loudness, max_bitneed, bitcount, slicecount, bitslice; ff_sbc_calculate_bits() local
[all...]
H A Dmlpenc.c97 int bitcount; member
1495 bo->bitcount = lsb_bits * dp->blocksize; in no_codebook_bits_offset()
1535 bo->bitcount = lsb_bits * dp->blocksize; in no_codebook_bits()
1554 int lsb_bits = 0, bitcount = 0; in codebook_bits_offset() local
1591 bitcount += ff_mlp_huffman_tables[codebook][sample + codebook_offset][1]; in codebook_bits_offset()
1598 bo->bitcount = lsb_bits * dp->blocksize + bitcount; in codebook_bits_offset()
1625 if (temp_bo.bitcount < previous_count) { in codebook_bits()
1626 if (temp_bo.bitcount < bo->bitcount) in codebook_bits()
1839 int bitcount; global() member
1861 int bitcount = src->bitcount; best_codebook_path_cost() local
[all...]
H A Dwavpack.c481 int bitcount = 8; in wv_unpack_dsd_high() local
488 while (bitcount--) { in wv_unpack_dsd_high()
H A Dwavpackenc.c2116 int bitcount = count_bits(maxcode); in wavpack_encode_sample() local
2117 uint32_t extras = (1 << bitcount) - maxcode - 1; in wavpack_encode_sample()
2121 w->pend_count += bitcount - 1; in wavpack_encode_sample()
2124 w->pend_count += bitcount - 1; in wavpack_encode_sample()
/third_party/astc-encoder/Source/
H A Dastcenc_integer_sequence.cpp442 * @param bitcount The number of bits to write, starting from LSB.
448 unsigned int bitcount, in write_bits()
452 unsigned int mask = (1 << bitcount) - 1; in write_bits()
472 * @param bitcount The number of bits to read.
479 unsigned int bitcount, in read_bits()
483 unsigned int mask = (1 << bitcount) - 1; in read_bits()
446 write_bits( unsigned int value, unsigned int bitcount, unsigned int bitoffset, uint8_t ptr[2] ) write_bits() argument
478 read_bits( unsigned int bitcount, unsigned int bitoffset, const uint8_t* ptr ) read_bits() argument
H A Dastcenc_symbolic_physical.cpp48 * @param bitcount The number of bits to read.
55 int bitcount, in read_bits()
59 int mask = (1 << bitcount) - 1; in read_bits()
77 * @param bitcount The number of bits to write, starting from LSB.
83 int bitcount, in write_bits()
87 int mask = (1 << bitcount) - 1; in write_bits()
54 read_bits( int bitcount, int bitoffset, const uint8_t* ptr ) read_bits() argument
81 write_bits( int value, int bitcount, int bitoffset, uint8_t* ptr ) write_bits() argument
H A Dastcenccli_image_load_store.cpp1824 // The bitcount that we will use internally in the codec in load_dds_uncompressed_image()
1903 // No DX10 header present. Then try to match the bitcount and bitmask against in load_dds_uncompressed_image()
1906 uint32_t bitcount = hdr.ddspf.rgbbitcount; in load_dds_uncompressed_image() local
1913 if ((flags & 0x41) == 0x41 && bitcount == 32 && rmask == 0xFF && gmask == 0xFF00 && bmask == 0xFF0000 && amask == 0xFF000000) in load_dds_uncompressed_image()
1920 else if ((flags & 0x41) == 0x41 && bitcount == 32 && rmask == 0xFF0000 && gmask == 0xFF00 && bmask == 0xFF && amask == 0xFF000000) in load_dds_uncompressed_image()
1927 else if ((flags & 0x40) && bitcount == 32 && rmask == 0xFF && gmask == 0xFF00 && bmask == 0xFF0000) in load_dds_uncompressed_image()
1934 else if ((flags & 0x40) && bitcount == 32 && rmask == 0xFF0000 && gmask == 0xFF00 && bmask == 0xFF) in load_dds_uncompressed_image()
1941 else if ((flags & 0x40) && bitcount == 24 && rmask == 0xFF && gmask == 0xFF00 && bmask == 0xFF0000) in load_dds_uncompressed_image()
1948 else if ((flags & 0x40) && bitcount == 24 && rmask == 0xFF0000 && gmask == 0xFF00 && bmask == 0xFF) in load_dds_uncompressed_image()
1955 else if ((flags & 0x40) && bitcount in load_dds_uncompressed_image()
[all...]
H A Dstb_image_write.h839 static unsigned char *stbiw__zlib_flushf(unsigned char *data, unsigned int *bitbuffer, int *bitcount)
841 while (*bitcount >= 8) {
844 *bitcount -= 8;
879 #define stbiw__zlib_flush() (out = stbiw__zlib_flushf(out, &bitbuf, &bitcount))
881 (bitbuf |= (code) << bitcount, bitcount += (codebits), stbiw__zlib_flush())
906 int i,j, bitcount=0;
977 while (bitcount)
H A Dastcenc_compress_symbolic.cpp666 int bitcount = free_bits_for_partition_count[partition_count - 1] - bm.weight_bits; in compress_symbolic_block_for_partition_1plane() local
667 if (bitcount <= 0) in compress_symbolic_block_for_partition_1plane()
681 qwt_bitcounts[i] = static_cast<int8_t>(bitcount); in compress_symbolic_block_for_partition_1plane()
/third_party/skia/third_party/externals/swiftshader/third_party/astc-encoder/Source/
H A Dastc_integer_sequence.cpp220 int bitcount, in read_bits()
224 int mask = (1 << bitcount) - 1; in read_bits()
219 read_bits( int bitcount, int bitoffset, const uint8_t* ptr ) read_bits() argument
H A Dastc_symbolic_physical.cpp26 int bitcount, in read_bits()
30 int mask = (1 << bitcount) - 1; in read_bits()
25 read_bits( int bitcount, int bitoffset, const uint8_t* ptr ) read_bits() argument
/third_party/ltp/testcases/kernel/mce-test/hwpoison/
H A Dttable.c150 int bitcount(u64 v) in bitcount() function
199 if (bitcount(bits[w].bit) > 1) in table()
/third_party/ltp/testcases/kernel/mce-test/tsrc/
H A Dttable.c150 int bitcount(u64 v) in bitcount() function
199 if (bitcount(bits[w].bit) > 1) in table()
/third_party/mesa3d/src/amd/registers/
H A Dparse_kernel_headers.py690 def bitcount(n): function
810 'bits': [shift, shift + bitcount(masks[name][field]) - 1],
/third_party/glfw/deps/
H A Dstb_image_write.h839 static unsigned char *stbiw__zlib_flushf(unsigned char *data, unsigned int *bitbuffer, int *bitcount)
841 while (*bitcount >= 8) {
844 *bitcount -= 8;
879 #define stbiw__zlib_flush() (out = stbiw__zlib_flushf(out, &bitbuf, &bitcount))
881 (bitbuf |= (code) << bitcount, bitcount += (codebits), stbiw__zlib_flush())
906 int i,j, bitcount=0;
977 while (bitcount)
/third_party/lame/libmp3lame/
H A Dvbrquantize.c985 bitcount(const algo_t * that) in bitcount() function
1032 bitcount(that); in tryGlobalStepsize()
1146 bitcount(that); in tryThatOne()
1307 bitcount(that); in VBR_encode_frame()
/third_party/skia/src/core/
H A DSkPaint.cpp218 #define ASSERT_FITS_IN(value, bitcount)
/third_party/node/deps/v8/src/execution/arm/
H A Dsimulator-arm.cc3055 uint32_t bitcount = msbit - lsbit + 1; in DecodeType3() local
3056 uint32_t mask = 0xFFFFFFFFu >> (32 - bitcount); in DecodeType3()

Completed in 43 milliseconds