/external/wpa_supplicant_8/src/utils/ |
bitfield.c | 17 size_t max_bits; member in struct:bitfield 21 struct bitfield * bitfield_alloc(size_t max_bits) 25 bf = os_zalloc(sizeof(*bf) + (max_bits + 7) / 8); 29 bf->max_bits = max_bits; 42 if (bit >= bf->max_bits) 50 if (bit >= bf->max_bits) 58 if (bit >= bf->max_bits) 79 for (i = 0; i <= (bf->max_bits + 7) / 8; i++) { 83 if (i > (bf->max_bits + 7) / 8 [all...] |
/external/chromium_org/third_party/webrtc/test/ |
fake_encoder.cc | 65 int max_bits = max_target_bitrate_kbps_ * time_since_last_encode_ms; local 66 if (max_bits > 0 && max_bits < bits_available) 67 bits_available = max_bits;
|
/external/chromium_org/third_party/freetype/src/pshinter/ |
pshrec.h | 101 FT_UInt max_bits; member in struct:PS_MaskRec_
|
/external/chromium_org/third_party/opus/src/celt/ |
rate.c | 151 int max_bits; local 155 max_bits = C*(1+MAX_FINE_BITS)<<BITRES; 184 max_bits = pcache[pcache[0]]+1; 188 max_bits <<= 1; 194 is to be max_bits. 197 num=459*(opus_int32)((2*N-1)*offset+max_bits); 201 max_bits += qb; 207 max_bits <<= 1; 212 num = (N==2?512:487)*(opus_int32)(max_bits+ndof*offset); 216 max_bits += qb [all...] |
/external/fio/lib/ |
axmap.c | 299 unsigned int max_bits, this_set; local 301 max_bits = BLOCKS_PER_UNIT - (bit_nr & BLOCKS_PER_UNIT_MASK); 302 if (max_bits < nr_bits) 303 data.nr_bits = max_bits;
|
/external/freetype/src/pshinter/ |
pshrec.h | 101 FT_UInt max_bits; member in struct:PS_MaskRec_
|
/external/libopus/celt/ |
rate.c | 151 int max_bits; local 155 max_bits = C*(1+MAX_FINE_BITS)<<BITRES; 184 max_bits = pcache[pcache[0]]+1; 188 max_bits <<= 1; 194 is to be max_bits. 197 num=459*(opus_int32)((2*N-1)*offset+max_bits); 201 max_bits += qb; 207 max_bits <<= 1; 212 num = (N==2?512:487)*(opus_int32)(max_bits+ndof*offset); 216 max_bits += qb [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/pshinter/ |
pshrec.h | 101 FT_UInt max_bits; member in struct:PS_MaskRec_
|
/external/chromium_org/third_party/boringssl/src/crypto/bn/ |
exponentiation.c | 1071 int max_bits = p->top * BN_BITS2; local 1072 assert(bits < max_bits); 1073 /* |p = 0| has been handled as a special case, so |max_bits| is at least 1075 assert(max_bits >= 64); 1081 if (bits - 4 >= max_bits - 8) { [all...] |
/external/chromium_org/third_party/brotli/src/brotli/dec/ |
decode.c | 235 int max_bits = 0; local 240 ++max_bits; 244 symbols[i] = (int)BrotliReadBits(br, max_bits) % alphabet_size; [all...] |
/external/chromium_org/third_party/brotli/src/brotli/enc/ |
encode.cc | 236 int max_bits, int* storage_ix, uint8_t* storage) { 257 WriteBits(max_bits, symbols[i], storage_ix, storage); 311 int max_bits = 0; local 314 ++max_bits; 327 WriteBits(max_bits, code->symbols_[0], storage_ix, storage); 342 StoreHuffmanCodeSimple(*code, alphabet_size, max_bits, storage_ix, storage); [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
vp9_firstpass.c | 236 int64_t max_bits = ((int64_t)rc->avg_frame_bandwidth * local 238 if (max_bits < 0) 239 max_bits = 0; 240 else if (max_bits > rc->max_frame_bandwidth) 241 max_bits = rc->max_frame_bandwidth; 243 return (int)max_bits; 1334 const int max_bits = frame_max_bits(rc, &cpi->oxcf); local 1402 const int max_bits = frame_max_bits(&cpi->rc, &cpi->oxcf); local 2014 const int max_bits = frame_max_bits(rc, &cpi->oxcf); local [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_firstpass.c | 340 int64_t max_bits = ((int64_t)rc->av_per_frame_bandwidth * local 342 if (max_bits < 0) 343 max_bits = 0; 344 else if (max_bits > rc->max_frame_bandwidth) 345 max_bits = rc->max_frame_bandwidth; 347 return (int)max_bits; 1431 const int max_bits = frame_max_bits(rc, oxcf); local 1795 const int max_bits = frame_max_bits(&cpi->rc, &cpi->oxcf); local 2019 const int max_bits = frame_max_bits(rc, &cpi->oxcf); local [all...] |
/external/opencv/otherlibs/highgui/ |
grfmt_jpeg.cpp | 974 const int max_bits = 16; local 991 lstrm.GetBytes( buffer, max_bits ); 992 for( i = 0, ht_size = 0; i < max_bits; i++ ) ht_size += buffer[i]; 997 lstrm.GetBytes( buffer + max_bits, ht_size ); 1001 buffer, buffer2, max_bits, first_table_bits ), [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_firstpass.c | 337 int64_t max_bits = local 341 if (max_bits < 0) 342 max_bits = 0; 343 else if (max_bits > cpi->rc.max_frame_bandwidth) 344 max_bits = cpi->rc.max_frame_bandwidth; 346 return (int)max_bits; 1427 const int max_bits = frame_max_bits(cpi); \/\/ Max bits for a single frame. local 1795 const int max_bits = frame_max_bits(cpi); \/\/ Max for a single frame. local 2019 const int max_bits = frame_max_bits(cpi); local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
firstpass.c | 349 int max_bits; local 353 * tighten up on max_bits. 362 max_bits = (int)(cpi->av_per_frame_bandwidth * ((double)cpi->oxcf.two_pass_vbrmax_section / 100.0)); 367 /* The lower of max_bits / 4 or cpi->av_per_frame_bandwidth / 4. */ 368 int min_max_bits = ((cpi->av_per_frame_bandwidth >> 2) < (max_bits >> 2)) ? cpi->av_per_frame_bandwidth >> 2 : max_bits >> 2; 370 max_bits = (int)(max_bits * buffer_fullness_ratio); 375 if (max_bits < min_max_bits) 376 max_bits = min_max_bits 1760 int max_bits = frame_max_bits(cpi); \/* Max for a single frame *\/ local 2364 int max_bits = frame_max_bits(cpi); \/* Max for a single frame *\/ local 2893 int max_bits = frame_max_bits(cpi); local [all...] |
/external/libpng/contrib/tools/ |
pngfix.c | 2624 int min_bits, max_bits, rc; local [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
firstpass.c | 349 int max_bits; local 353 * tighten up on max_bits. 362 max_bits = (int)(cpi->av_per_frame_bandwidth * ((double)cpi->oxcf.two_pass_vbrmax_section / 100.0)); 367 /* The lower of max_bits / 4 or cpi->av_per_frame_bandwidth / 4. */ 368 int min_max_bits = ((cpi->av_per_frame_bandwidth >> 2) < (max_bits >> 2)) ? cpi->av_per_frame_bandwidth >> 2 : max_bits >> 2; 370 max_bits = (int)(max_bits * buffer_fullness_ratio); 375 if (max_bits < min_max_bits) 376 max_bits = min_max_bits 1760 int max_bits = frame_max_bits(cpi); \/* Max for a single frame *\/ local 2364 int max_bits = frame_max_bits(cpi); \/* Max for a single frame *\/ local 2893 int max_bits = frame_max_bits(cpi); local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
firstpass.c | 349 int max_bits; local 353 * tighten up on max_bits. 362 max_bits = (int)(cpi->av_per_frame_bandwidth * ((double)cpi->oxcf.two_pass_vbrmax_section / 100.0)); 367 /* The lower of max_bits / 4 or cpi->av_per_frame_bandwidth / 4. */ 368 int min_max_bits = ((cpi->av_per_frame_bandwidth >> 2) < (max_bits >> 2)) ? cpi->av_per_frame_bandwidth >> 2 : max_bits >> 2; 370 max_bits = (int)(max_bits * buffer_fullness_ratio); 375 if (max_bits < min_max_bits) 376 max_bits = min_max_bits 1762 int max_bits = frame_max_bits(cpi); \/* Max for a single frame *\/ local 2366 int max_bits = frame_max_bits(cpi); \/* Max for a single frame *\/ local 2896 int max_bits = frame_max_bits(cpi); local [all...] |