Home
last modified time | relevance | path

Searched refs:block_length (Results 1 – 17 of 17) sorted by relevance

/third_party/pulseaudio/src/modules/bluetooth/
Da2dp-codec-sbc.c81 …if (!(capabilities->block_length & (SBC_BLOCK_LENGTH_4 | SBC_BLOCK_LENGTH_8 | SBC_BLOCK_LENGTH_12 … in can_accept_capabilities()
105 if (!(capabilities->block_length & (SBC_BLOCK_LENGTH_16))) in can_accept_capabilities_xq()
150 …capabilities->block_length = SBC_BLOCK_LENGTH_4 | SBC_BLOCK_LENGTH_8 | SBC_BLOCK_LENGTH_12 | SBC_B… in fill_capabilities()
224 switch (config->block_length) { in set_info_and_sample_spec_from_sbc_config()
316 capabilities->block_length = SBC_BLOCK_LENGTH_16; in fill_capabilities_xq()
359 if (config->block_length != SBC_BLOCK_LENGTH_4 && config->block_length != SBC_BLOCK_LENGTH_8 && in is_configuration_valid()
360 … config->block_length != SBC_BLOCK_LENGTH_12 && config->block_length != SBC_BLOCK_LENGTH_16) { in is_configuration_valid()
488 if (capabilities->block_length & SBC_BLOCK_LENGTH_16) in fill_preferred_configuration()
489 config->block_length = SBC_BLOCK_LENGTH_16; in fill_preferred_configuration()
490 else if (capabilities->block_length & SBC_BLOCK_LENGTH_12) in fill_preferred_configuration()
[all …]
Da2dp-codecs.h317 uint8_t block_length:4; member
373 uint8_t block_length:4; member
/third_party/ffmpeg/libavcodec/
Dalsdec.c245 unsigned int block_length; ///< number of samples within the block member
600 if (bd->block_length <= 0) in read_const_block_data()
626 int smp = bd->block_length - 1; in decode_const_block_data()
676 if (bd->block_length & (sub_blocks - 1) || bd->block_length <= 0) { in read_var_block_data()
682 sb_length = bd->block_length >> log2_sub_blocks; in read_var_block_data()
712 int opt_order_length = av_ceil_log2(av_clip((bd->block_length >> 3) - 1, in read_var_block_data()
828 unsigned int b = av_clip((av_ceil_log2(bd->block_length) - 3) >> 1, 0, 5); in read_var_block_data()
916 unsigned int block_length = bd->block_length; in decode_var_block_data() local
925 int32_t *raw_samples_end = bd->raw_samples + bd->block_length; in decode_var_block_data()
932 for (ltp_smp = FFMAX(*bd->ltp_lag - 2, 0); ltp_smp < block_length; ltp_smp++) { in decode_var_block_data()
[all …]
/third_party/skia/third_party/externals/brotli/c/dec/
Dstate.c92 s->block_length[0] = 1U << 24; in BrotliDecoderStateMetablockBegin()
93 s->block_length[1] = 1U << 24; in BrotliDecoderStateMetablockBegin()
94 s->block_length[2] = 1U << 24; in BrotliDecoderStateMetablockBegin()
Ddecode.c1137 s->block_length[tree_type] = ReadBlockLength(len_tree, br); in DecodeBlockTypeAndLength()
1142 if (!SafeReadBlockLength(s, &s->block_length[tree_type], len_tree, br)) { in DecodeBlockTypeAndLength()
1633 --s->block_length[2]; in ReadDistanceInternal()
1646 ++s->block_length[2]; in ReadDistanceInternal()
1699 --s->block_length[1]; in ReadCommandInternal()
1771 if (BROTLI_PREDICT_FALSE(s->block_length[1] == 0)) { in ProcessCommandsInternal()
1799 if (BROTLI_PREDICT_FALSE(s->block_length[0] == 0)) { in ProcessCommandsInternal()
1815 --s->block_length[0]; in ProcessCommandsInternal()
1835 if (BROTLI_PREDICT_FALSE(s->block_length[0] == 0)) { in ProcessCommandsInternal()
1854 --s->block_length[0]; in ProcessCommandsInternal()
[all …]
Dstate.h286 uint32_t block_length[3]; member
/third_party/node/deps/brotli/c/dec/
Dstate.c92 s->block_length[0] = 1U << 24; in BrotliDecoderStateMetablockBegin()
93 s->block_length[1] = 1U << 24; in BrotliDecoderStateMetablockBegin()
94 s->block_length[2] = 1U << 24; in BrotliDecoderStateMetablockBegin()
Ddecode.c1137 s->block_length[tree_type] = ReadBlockLength(len_tree, br); in DecodeBlockTypeAndLength()
1142 if (!SafeReadBlockLength(s, &s->block_length[tree_type], len_tree, br)) { in DecodeBlockTypeAndLength()
1633 --s->block_length[2]; in ReadDistanceInternal()
1646 ++s->block_length[2]; in ReadDistanceInternal()
1699 --s->block_length[1]; in ReadCommandInternal()
1771 if (BROTLI_PREDICT_FALSE(s->block_length[1] == 0)) { in ProcessCommandsInternal()
1799 if (BROTLI_PREDICT_FALSE(s->block_length[0] == 0)) { in ProcessCommandsInternal()
1815 --s->block_length[0]; in ProcessCommandsInternal()
1835 if (BROTLI_PREDICT_FALSE(s->block_length[0] == 0)) { in ProcessCommandsInternal()
1854 --s->block_length[0]; in ProcessCommandsInternal()
[all …]
Dstate.h286 uint32_t block_length[3]; member
/third_party/mbedtls/library/
Dpsa_crypto_cipher.c234 operation->block_length = (PSA_ALG_IS_STREAM_CIPHER(alg) ? 1 : in psa_cipher_setup()
396 / operation->block_length * operation->block_length; in mbedtls_psa_cipher_update()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_aos.c79 unsigned block_length, in lp_build_sample_wrap_nearest_int() argument
129 lp_build_sample_partial_offset(int_coord_bld, block_length, coord, stride, in lp_build_sample_wrap_nearest_int()
215 unsigned block_length, in lp_build_sample_wrap_linear_int() argument
243 if (block_length != 1) { in lp_build_sample_wrap_linear_int()
292 lp_build_sample_partial_offset(int_coord_bld, block_length, coord0, stride, in lp_build_sample_wrap_linear_int()
294 lp_build_sample_partial_offset(int_coord_bld, block_length, coord1, stride, in lp_build_sample_wrap_linear_int()
Dlp_bld_sample.c2057 unsigned block_length, in lp_build_sample_partial_offset() argument
2067 if (block_length == 1) { in lp_build_sample_partial_offset()
2080 LLVMValueRef block_width = lp_build_const_int_vec(bld->type, block_length); in lp_build_sample_partial_offset()
2084 unsigned logbase2 = util_logbase2(block_length); in lp_build_sample_partial_offset()
2086 LLVMValueRef block_mask = lp_build_const_int_vec(bld->gallivm, bld->type, block_length - 1); in lp_build_sample_partial_offset()
Dlp_bld_sample.h676 unsigned block_length,
/third_party/mbedtls/include/psa/
Dcrypto_builtin_primitives.h105 uint8_t MBEDTLS_PRIVATE(block_length);
/third_party/skia/third_party/externals/brotli/c/enc/
Dblock_splitter_inc.h17 size_t block_length = length / num_histograms; in FN() local
23 pos += MyRand(&seed) % block_length; in FN()
/third_party/node/deps/brotli/c/enc/
Dblock_splitter_inc.h17 size_t block_length = length / num_histograms; in FN() local
23 pos += MyRand(&seed) % block_length; in FN()
/third_party/node/src/crypto/
Dcrypto_cipher.cc77 int block_length = EVP_CIPHER_block_size(cipher); in GetCipherInfo() local
174 Int32::New(env->isolate(), block_length)).IsNothing()) { in GetCipherInfo()