Home
last modified time | relevance | path

Searched refs:maxBits (Results 1 – 25 of 25) sorted by relevance

/external/aac/libFDK/src/
DFDK_crc.cpp264 hCrcInfo->crcRegData[reg].maxBits = mBits; in FDKcrcStartReg()
288 if (hCrcInfo->crcRegData[reg].maxBits == 0) { in FDKcrcEndReg()
289 hCrcInfo->crcRegData[reg].maxBits = hCrcInfo->crcRegData[reg].bitBufCntBits; in FDKcrcEndReg()
423 rBits = (rD->maxBits>=0) ? rD->maxBits : -rD->maxBits; /* ramaining bits */ in crcCalc()
424 if ((rD->maxBits>0) && (((INT)rD->bitBufCntBits>>3<<3)<rBits) ) { in crcCalc()
/external/libopus/silk/
Dcontrol_audio_bandwidth.c84 … encControl->maxBits -= encControl->maxBits * 5 / ( encControl->payloadSize_ms + 5 ); in silk_control_audio_bandwidth()
112 … encControl->maxBits -= encControl->maxBits * 5 / ( encControl->payloadSize_ms + 5 ); in silk_control_audio_bandwidth()
Denc_API.c442 opus_int maxBits, useCBR; in silk_Encode() local
445 maxBits = encControl->maxBits; in silk_Encode()
447 maxBits = maxBits * 3 / 5; in silk_Encode()
450 maxBits = maxBits * 2 / 5; in silk_Encode()
452 maxBits = maxBits * 3 / 4; in silk_Encode()
464 maxBits -= encControl->maxBits / ( tot_blocks * 2 ); in silk_Encode()
483 …de_frame_Fxx( &psEnc->state_Fxx[ n ], nBytesOut, psRangeEnc, condCoding, maxBits, useCBR ) ) != 0 … in silk_Encode()
Dcontrol.h87 opus_int maxBits; member
/external/chromium_org/third_party/opus/src/silk/
Dcontrol_audio_bandwidth.c84 … encControl->maxBits -= encControl->maxBits * 5 / ( encControl->payloadSize_ms + 5 ); in silk_control_audio_bandwidth()
112 … encControl->maxBits -= encControl->maxBits * 5 / ( encControl->payloadSize_ms + 5 ); in silk_control_audio_bandwidth()
Denc_API.c442 opus_int maxBits, useCBR; in silk_Encode() local
445 maxBits = encControl->maxBits; in silk_Encode()
447 maxBits = maxBits * 3 / 5; in silk_Encode()
450 maxBits = maxBits * 2 / 5; in silk_Encode()
452 maxBits = maxBits * 3 / 4; in silk_Encode()
464 maxBits -= encControl->maxBits / ( tot_blocks * 2 ); in silk_Encode()
483 …de_frame_Fxx( &psEnc->state_Fxx[ n ], nBytesOut, psRangeEnc, condCoding, maxBits, useCBR ) ) != 0 … in silk_Encode()
Dcontrol.h87 opus_int maxBits; member
/external/bluetooth/bluedroid/embdrv/sbc/decoder/srce/
Dbitalloc.c141 OI_UINT8 maxBits = 0; in computeBitneed() local
147 if (bits > maxBits) { in computeBitneed()
148 maxBits = bits; in computeBitneed()
164 if (bits > maxBits) { in computeBitneed()
165 maxBits = bits; in computeBitneed()
180 common->maxBitneed = OI_MAX(maxBits, common->maxBitneed); in computeBitneed()
/external/libopus/silk/float/
Dencode_frame_FLP.c81 …opus_int maxBits, /* I If > 0: maximum number… in silk_encode_frame_FLP() argument
206 if( useCBR == 0 && iter == 0 && nBits <= maxBits ) { in silk_encode_frame_FLP()
212 if( found_lower && ( gainsID == gainsID_lower || nBits > maxBits ) ) { in silk_encode_frame_FLP()
223 if( nBits > maxBits ) { in silk_encode_frame_FLP()
235 } else if( nBits < maxBits - 5 ) { in silk_encode_frame_FLP()
256 …gain_factor_Q16 = silk_log2lin( silk_LSHIFT( nBits - maxBits, 7 ) / psEnc->sCmn.frame_length + SIL… in silk_encode_frame_FLP()
258 if( nBits > maxBits ) { in silk_encode_frame_FLP()
264 …gainMult_Q8 = gainMult_lower + ( ( gainMult_upper - gainMult_lower ) * ( maxBits - nBits_lower ) )… in silk_encode_frame_FLP()
Dmain_FLP.h68 …opus_int maxBits, /* I If > 0: maximum number…
/external/chromium_org/third_party/opus/src/silk/float/
Dencode_frame_FLP.c81 …opus_int maxBits, /* I If > 0: maximum number… in silk_encode_frame_FLP() argument
206 if( useCBR == 0 && iter == 0 && nBits <= maxBits ) { in silk_encode_frame_FLP()
212 if( found_lower && ( gainsID == gainsID_lower || nBits > maxBits ) ) { in silk_encode_frame_FLP()
223 if( nBits > maxBits ) { in silk_encode_frame_FLP()
235 } else if( nBits < maxBits - 5 ) { in silk_encode_frame_FLP()
256 …gain_factor_Q16 = silk_log2lin( silk_LSHIFT( nBits - maxBits, 7 ) / psEnc->sCmn.frame_length + SIL… in silk_encode_frame_FLP()
258 if( nBits > maxBits ) { in silk_encode_frame_FLP()
264 …gainMult_Q8 = gainMult_lower + ( ( gainMult_upper - gainMult_lower ) * ( maxBits - nBits_lower ) )… in silk_encode_frame_FLP()
Dmain_FLP.h68 …opus_int maxBits, /* I If > 0: maximum number…
/external/chromium_org/third_party/opus/src/silk/fixed/
Dencode_frame_FIX.c82 …opus_int maxBits, /* I If > 0: maximum nu… in silk_encode_frame_FIX() argument
219 if( useCBR == 0 && iter == 0 && nBits <= maxBits ) { in silk_encode_frame_FIX()
225 if( found_lower && ( gainsID == gainsID_lower || nBits > maxBits ) ) { in silk_encode_frame_FIX()
236 if( nBits > maxBits ) { in silk_encode_frame_FIX()
248 } else if( nBits < maxBits - 5 ) { in silk_encode_frame_FIX()
269 …gain_factor_Q16 = silk_log2lin( silk_LSHIFT( nBits - maxBits, 7 ) / psEnc->sCmn.frame_length + SIL… in silk_encode_frame_FIX()
271 if( nBits > maxBits ) { in silk_encode_frame_FIX()
277 …inMult_lower + silk_DIV32_16( silk_MUL( gainMult_upper - gainMult_lower, maxBits - nBits_lower ), … in silk_encode_frame_FIX()
Dmain_FIX.h70 …opus_int maxBits, /* I If > 0: maximum nu…
/external/libopus/silk/fixed/
Dencode_frame_FIX.c82 …opus_int maxBits, /* I If > 0: maximum nu… in silk_encode_frame_FIX() argument
219 if( useCBR == 0 && iter == 0 && nBits <= maxBits ) { in silk_encode_frame_FIX()
225 if( found_lower && ( gainsID == gainsID_lower || nBits > maxBits ) ) { in silk_encode_frame_FIX()
236 if( nBits > maxBits ) { in silk_encode_frame_FIX()
248 } else if( nBits < maxBits - 5 ) { in silk_encode_frame_FIX()
269 …gain_factor_Q16 = silk_log2lin( silk_LSHIFT( nBits - maxBits, 7 ) / psEnc->sCmn.frame_length + SIL… in silk_encode_frame_FIX()
271 if( nBits > maxBits ) { in silk_encode_frame_FIX()
277 …inMult_lower + silk_DIV32_16( silk_MUL( gainMult_upper - gainMult_lower, maxBits - nBits_lower ), … in silk_encode_frame_FIX()
Dmain_FIX.h70 …opus_int maxBits, /* I If > 0: maximum nu…
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
Dformatutils11.cpp666 unsigned int maxBits = 1; in InsertD3D11FormatInfo() local
671 maxBits = std::max(compressedBitsPerBlock / blockSize, maxBits); in InsertD3D11FormatInfo()
675 maxBits = std::max(maxBits, formatInfo.alphaBits); in InsertD3D11FormatInfo()
676 maxBits = std::max(maxBits, formatInfo.redBits); in InsertD3D11FormatInfo()
677 maxBits = std::max(maxBits, formatInfo.greenBits); in InsertD3D11FormatInfo()
678 maxBits = std::max(maxBits, formatInfo.blueBits); in InsertD3D11FormatInfo()
679 maxBits = std::max(maxBits, formatInfo.luminanceBits); in InsertD3D11FormatInfo()
680 maxBits = std::max(maxBits, formatInfo.depthBits); in InsertD3D11FormatInfo()
683 maxBits = roundUp(maxBits, 8U); in InsertD3D11FormatInfo()
686 …SwizzleInfoMap::const_iterator swizzleIter = swizzleMap.find(SwizzleSizeType(maxBits, formatInfo.c… in InsertD3D11FormatInfo()
/external/aac/libFDK/include/
DFDK_crc.h108 INT maxBits; member
/external/aac/libAACenc/src/
Daacenc.cpp564 qcInit.maxBits = MIN_BUFSIZE_PER_EFF_CHAN*cm->nChannelsEff; in FDKaacEnc_Initialize()
574 …qcInit.maxBits = fixMin(MIN_BUFSIZE_PER_EFF_CHAN*cm->nChannelsEff, ((averageBitsPerFrame+7… in FDKaacEnc_Initialize()
575 …qcInit.maxBits = (config->maxBitsPerFrame!=-1) ? fixMin(qcInit.maxBits, config->maxBitsPer… in FDKaacEnc_Initialize()
Dqc_data.h143 INT maxBits; /* maximum number of bits in reservoir */ member
Dqc_main.cpp372 hQC->maxBitsPerFrame = init->maxBits; in FDKaacEnc_QCInit()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/
Dxm_api.c466 GLint maxBits; in setup_truecolor() local
495 maxBits = rBits; in setup_truecolor()
496 if (gBits > maxBits) maxBits = gBits; in setup_truecolor()
497 if (bBits > maxBits) maxBits = bBits; in setup_truecolor()
499 v->Kernel[i] = kernel[i] >> maxBits; in setup_truecolor()
/external/mesa3d/src/mesa/drivers/x11/
Dxm_api.c466 GLint maxBits; in setup_truecolor() local
495 maxBits = rBits; in setup_truecolor()
496 if (gBits > maxBits) maxBits = gBits; in setup_truecolor()
497 if (bBits > maxBits) maxBits = bBits; in setup_truecolor()
499 v->Kernel[i] = kernel[i] >> maxBits; in setup_truecolor()
/external/libopus/src/
Dopus_encoder.c1578 st->silk_mode.maxBits = nBytes*8; in opus_encode_native()
1581 st->silk_mode.maxBits = (opus_int32)st->silk_mode.maxBits*9/10; in opus_encode_native()
1584 st->silk_mode.maxBits = (st->silk_mode.bitRate * frame_size / (st->Fs * 8))*8; in opus_encode_native()
/external/chromium_org/third_party/opus/src/src/
Dopus_encoder.c1578 st->silk_mode.maxBits = nBytes*8; in opus_encode_native()
1581 st->silk_mode.maxBits = (opus_int32)st->silk_mode.maxBits*9/10; in opus_encode_native()
1584 st->silk_mode.maxBits = (st->silk_mode.bitRate * frame_size / (st->Fs * 8))*8; in opus_encode_native()