/external/libopus/silk/ |
D | control_audio_bandwidth.c | 90 … encControl->maxBits -= encControl->maxBits * 5 / ( encControl->payloadSize_ms + 5 ); in silk_control_audio_bandwidth() 118 … encControl->maxBits -= encControl->maxBits * 5 / ( encControl->payloadSize_ms + 5 ); in silk_control_audio_bandwidth()
|
D | enc_API.c | 458 opus_int maxBits, useCBR; in silk_Encode() local 461 maxBits = encControl->maxBits; in silk_Encode() 463 maxBits = maxBits * 3 / 5; in silk_Encode() 466 maxBits = maxBits * 2 / 5; in silk_Encode() 468 maxBits = maxBits * 3 / 4; in silk_Encode() 480 maxBits -= encControl->maxBits / ( tot_blocks * 2 ); in silk_Encode() 499 …de_frame_Fxx( &psEnc->state_Fxx[ n ], nBytesOut, psRangeEnc, condCoding, maxBits, useCBR ) ) != 0 … in silk_Encode()
|
D | control.h | 90 opus_int maxBits; member
|
/external/aac/libFDK/src/ |
D | FDK_crc.cpp | 283 hCrcInfo->crcRegData[reg].maxBits = mBits; in FDKcrcStartReg() 305 if (hCrcInfo->crcRegData[reg].maxBits == 0) { in FDKcrcEndReg() 306 hCrcInfo->crcRegData[reg].maxBits = hCrcInfo->crcRegData[reg].bitBufCntBits; in FDKcrcEndReg() 443 rBits = (rD->maxBits >= 0) ? rD->maxBits : -rD->maxBits; /* ramaining bits */ in crcCalc() 444 if ((rD->maxBits > 0) && ((rD->bitBufCntBits >> 3 << 3) < rBits)) { in crcCalc()
|
/external/libopus/silk/float/ |
D | encode_frame_FLP.c | 89 …opus_int maxBits, /* I If > 0: maximum number… in silk_encode_frame_FLP() argument 216 if ( iter == maxIter && !found_lower && nBits > maxBits ) { in silk_encode_frame_FLP() 242 if( useCBR == 0 && iter == 0 && nBits <= maxBits ) { in silk_encode_frame_FLP() 248 if( found_lower && ( gainsID == gainsID_lower || nBits > maxBits ) ) { in silk_encode_frame_FLP() 259 if( nBits > maxBits ) { in silk_encode_frame_FLP() 273 } else if( nBits < maxBits - 5 ) { in silk_encode_frame_FLP() 291 if ( !found_lower && nBits > maxBits ) { in silk_encode_frame_FLP() 308 if( nBits > maxBits ) { in silk_encode_frame_FLP() 316 …gain_factor_Q16 = silk_log2lin( silk_LSHIFT( nBits - maxBits, 7 ) / psEnc->sCmn.frame_length + SIL… in silk_encode_frame_FLP() 321 …gainMult_Q8 = gainMult_lower + ( ( gainMult_upper - gainMult_lower ) * ( maxBits - nBits_lower ) )… in silk_encode_frame_FLP()
|
D | main_FLP.h | 69 …opus_int maxBits, /* I If > 0: maximum number…
|
/external/aac/libAACenc/src/ |
D | aacenc.cpp | 585 qcInit.maxBits = MIN_BUFSIZE_PER_EFF_CHAN * cm->nChannelsEff; in FDKaacEnc_Initialize() 586 qcInit.maxBits = (config->maxBitsPerFrame != -1) in FDKaacEnc_Initialize() 587 ? fixMin(qcInit.maxBits, config->maxBitsPerFrame) in FDKaacEnc_Initialize() 588 : qcInit.maxBits; in FDKaacEnc_Initialize() 589 qcInit.maxBits = fixMax(qcInit.maxBits, (averageBitsPerFrame + 7) & ~7); in FDKaacEnc_Initialize() 617 qcInit.maxBits = fixMin(MIN_BUFSIZE_PER_EFF_CHAN * cm->nChannelsEff, in FDKaacEnc_Initialize() 619 qcInit.maxBits = (config->maxBitsPerFrame != -1) in FDKaacEnc_Initialize() 620 ? fixMin(qcInit.maxBits, config->maxBitsPerFrame) in FDKaacEnc_Initialize() 621 : qcInit.maxBits; in FDKaacEnc_Initialize() 622 qcInit.maxBits = in FDKaacEnc_Initialize() [all …]
|
D | qc_data.h | 152 INT maxBits; /* maximum number of bits in reservoir */ member
|
D | qc_main.cpp | 363 hQC->maxBitsPerFrame = init->maxBits; in FDKaacEnc_QCInit()
|
/external/libopus/silk/fixed/ |
D | encode_frame_FIX.c | 90 …opus_int maxBits, /* I If > 0: maximum nu… in silk_encode_frame_FIX() argument 230 if ( iter == maxIter && !found_lower && nBits > maxBits ) { in silk_encode_frame_FIX() 256 if( useCBR == 0 && iter == 0 && nBits <= maxBits ) { in silk_encode_frame_FIX() 262 if( found_lower && ( gainsID == gainsID_lower || nBits > maxBits ) ) { in silk_encode_frame_FIX() 273 if( nBits > maxBits ) { in silk_encode_frame_FIX() 285 } else if( nBits < maxBits - 5 ) { in silk_encode_frame_FIX() 303 if ( !found_lower && nBits > maxBits ) { in silk_encode_frame_FIX() 320 if( nBits > maxBits ) { in silk_encode_frame_FIX() 328 …gain_factor_Q16 = silk_log2lin( silk_LSHIFT( nBits - maxBits, 7 ) / psEnc->sCmn.frame_length + SIL… in silk_encode_frame_FIX() 334 …inMult_lower + silk_DIV32_16( silk_MUL( gainMult_upper - gainMult_lower, maxBits - nBits_lower ), … in silk_encode_frame_FIX()
|
D | main_FIX.h | 79 …opus_int maxBits, /* I If > 0: maximum nu…
|
/external/lz4/tests/ |
D | frametest.c | 375 unsigned const maxBits = FUZ_highbit((U32)decodedBufferSize); in basicTests() local 384 unsigned const nbBits = FUZ_rand(&randState) % maxBits; in basicTests() 690 unsigned maxBits = FUZ_highbit((U32)decodedBufferSize); in basicTests() local 704 unsigned nbBits = FUZ_rand(&randState) % maxBits; in basicTests() 723 unsigned const nbBits = FUZ_rand(&randState) % maxBits; in basicTests() 809 unsigned const maxBits = MAX(3, suggestedBits); in test_lz4f_decompression_wBuffers() local 816 unsigned const nbBitsI = (FUZ_rand(randState) % (maxBits-1)) + 1; in test_lz4f_decompression_wBuffers() 817 unsigned const nbBitsO = (FUZ_rand(randState) % (maxBits)) + 1; in test_lz4f_decompression_wBuffers() 979 unsigned const maxBits = FUZ_highbit((U32)srcSize); in fuzzerTests() local 988 unsigned const nbBitsSeg = FUZ_rand(&randState) % maxBits; in fuzzerTests()
|
/external/aac/libFDK/include/ |
D | FDK_crc.h | 117 INT maxBits; member
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | xm_api.c | 469 GLint maxBits; in setup_truecolor() local 498 maxBits = rBits; in setup_truecolor() 499 if (gBits > maxBits) maxBits = gBits; in setup_truecolor() 500 if (bBits > maxBits) maxBits = bBits; in setup_truecolor() 502 v->Kernel[i] = kernel[i] >> maxBits; in setup_truecolor()
|
/external/llvm-project/mlir/lib/Dialect/Quant/IR/ |
D | TypeDetail.h | 280 int64_t maxBits = llvm::bit_cast<double>(max); in getHashValue() local 281 return llvm::hash_combine(expressedType, minBits, maxBits); in getHashValue()
|
/external/zstd/lib/legacy/ |
D | zstd_v01.c | 966 U32 maxBits; in HUF_readDTable() local 1021 maxBits = FSE_highbit32(weightTotal) + 1; in HUF_readDTable() 1022 … if (maxBits > DTable[0]) return (size_t)-FSE_ERROR_tableLog_tooLarge; /* DTable is too small */ in HUF_readDTable() 1023 DTable[0] = (U16)maxBits; in HUF_readDTable() 1025 U32 total = 1 << maxBits; in HUF_readDTable() 1039 for (n=1; n<=maxBits; n++) in HUF_readDTable() 1053 D.byte = (BYTE)n; D.nbBits = (BYTE)(maxBits + 1 - w); in HUF_readDTable()
|
/external/llvm-project/flang/include/flang/Evaluate/ |
D | integer.h | 468 constexpr std::size_t maxBits{CHAR_BIT * sizeof n}; in ToUInt() 469 for (int j{1}; filled < maxBits && j < parts; ++j, filled += partBits) { in ToUInt() 478 constexpr std::size_t maxBits{CHAR_BIT * sizeof n}; in ToSInt() 479 if constexpr (bits < maxBits) { in ToSInt()
|
/external/zstd/lib/compress/ |
D | huf_compress.c | 795 { size_t const maxBits = HUF_buildCTable_wksp(table->CTable, table->count, in HUF_compress_internal() local 798 CHECK_F(maxBits); in HUF_compress_internal() 799 huffLog = (U32)maxBits; in HUF_compress_internal()
|
D | zstd_compress_superblock.c | 123 { size_t const maxBits = HUF_buildCTable_wksp((HUF_CElt*)nextHuf->CTable, countWksp, in ZSTD_buildSuperBlockEntropy_literal() local 126 FORWARD_IF_ERROR(maxBits, "HUF_buildCTable_wksp"); in ZSTD_buildSuperBlockEntropy_literal() 127 huffLog = (U32)maxBits; in ZSTD_buildSuperBlockEntropy_literal()
|
/external/libopus/src/ |
D | opus_encoder.c | 1776 st->silk_mode.maxBits = (max_data_bytes-1)*8; in opus_encode_native() 1780 st->silk_mode.maxBits -= redundancy_bytes*8 + 1; in opus_encode_native() 1782 st->silk_mode.maxBits -= 20; in opus_encode_native() 1788 … st->silk_mode.maxBits = IMIN(st->silk_mode.maxBits, st->silk_mode.bitRate * frame_size / st->Fs); in opus_encode_native() 1795 … opus_int32 maxBitRate = compute_silk_rate_for_hybrid(st->silk_mode.maxBits*st->Fs / frame_size, in opus_encode_native() 1798 st->silk_mode.maxBits = maxBitRate * frame_size / st->Fs; in opus_encode_native()
|
/external/brotli/csharp/org/brotli/dec/ |
D | Decode.cs | 264 int maxBits = 0; in ReadHuffmanCode() 270 maxBits++; in ReadHuffmanCode() 276 symbols[i] = Org.Brotli.Dec.BitReader.ReadBits(br, maxBits) % alphabetSize; in ReadHuffmanCode()
|
/external/zstd/tests/ |
D | decodecorpus.c | 451 …{ size_t const maxBits = HUF_buildCTable_wksp (hufTable, count, maxSymbolValue, huffLog, WKSP, s… in writeHufHeader() local 452 CHECKERR(maxBits); in writeHufHeader() 453 huffLog = (U32)maxBits; in writeHufHeader()
|
/external/brotli/java/org/brotli/dec/ |
D | Decode.java | 511 int maxBits = 1 + log2floor(alphabetSizeMax - 1); in readSimpleHuffmanCode() local 516 int symbol = BitReader.readFewBits(s, maxBits); in readSimpleHuffmanCode()
|
/external/brotli/js/ |
D | decode.js | 446 var /** number */ maxBits = 1 + log2floor(alphabetSizeMax - 1); 453 var /** number */ symbol = readFewBits(s, maxBits);
|