Home
last modified time | relevance | path

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

12

/external/webrtc/webrtc/modules/audio_processing/intelligibility/test/
Dintelligibility_proc.cc84 size_t fragment_size; // Number of samples to process at a time in void_main() local
89 fragment_size = FLAGS_sample_rate / 100; // Mirror real time APM chunk size. in void_main()
124 for (size_t i = 0; i < samples; i += fragment_size) { in void_main()
127 clear_cursor += fragment_size; in void_main()
128 noise_cursor += fragment_size; in void_main()
/external/tinycompress/
Dcompress.c160 if (config->fragment_size < caps->min_fragment_size) { in _is_codec_supported()
162 config->fragment_size, caps->min_fragment_size); in _is_codec_supported()
165 if (config->fragment_size > caps->max_fragment_size) { in _is_codec_supported()
167 config->fragment_size, caps->max_fragment_size); in _is_codec_supported()
210 params->buffer.fragment_size = config->fragment_size; in fill_compress_params()
266 if ((config->fragment_size == 0) || (config->fragments == 0)) { in compress_open()
267 config->fragment_size = caps.min_fragment_size; in compress_open()
358 const unsigned int frag_size = compress->config->fragment_size; in compress_write()
420 const unsigned int frag_size = compress->config->fragment_size; in compress_read()
Dcplay.c242 config.fragment_size = buffer_size/frag; in play_samples()
246 config.fragment_size = 0; in play_samples()
260 size = config.fragment_size; in play_samples()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dvp8_partition_aggregator.cc248 size_t fragment_size = (large_partition_size + n - 1) / n; in CalcNumberOfFragments() local
250 if (fragment_size < static_cast<size_t>(min_size)) { in CalcNumberOfFragments()
251 cost = min_size - fragment_size + n * penalty; in CalcNumberOfFragments()
252 } else if (fragment_size > static_cast<size_t>(max_size)) { in CalcNumberOfFragments()
253 cost = fragment_size - max_size + n * penalty; in CalcNumberOfFragments()
257 if (fragment_size <= max_payload_size && cost < best_cost) { in CalcNumberOfFragments()
/external/wpa_supplicant_8/src/eap_peer/
Deap_ikev2.c23 size_t fragment_size; member
63 int fragment_size; in eap_ikev2_init() local
75 fragment_size = eap_get_config_fragment_size(sm); in eap_ikev2_init()
76 if (fragment_size <= 0) in eap_ikev2_init()
77 data->fragment_size = IKEV2_FRAGMENT_SIZE; in eap_ikev2_init()
79 data->fragment_size = fragment_size; in eap_ikev2_init()
147 if (1 + send_len > data->fragment_size) { in eap_ikev2_build_msg()
148 send_len = data->fragment_size - 1; in eap_ikev2_build_msg()
Deap_tnc.c23 size_t fragment_size; member
45 if (config && config->fragment_size) in eap_tnc_init()
46 data->fragment_size = config->fragment_size; in eap_tnc_init()
48 data->fragment_size = 1300; in eap_tnc_init()
101 if (1 + send_len > data->fragment_size) { in eap_tnc_build_msg()
102 send_len = data->fragment_size - 1; in eap_tnc_build_msg()
Deap_wsc.c26 size_t fragment_size; member
269 data->fragment_size = res; in eap_wsc_init()
271 data->fragment_size = WSC_FRAGMENT_SIZE; in eap_wsc_init()
273 (unsigned int) data->fragment_size); in eap_wsc_init()
313 if (2 + send_len > data->fragment_size) { in eap_wsc_build_msg()
314 send_len = data->fragment_size - 2; in eap_wsc_build_msg()
Deap_config.h750 int fragment_size; member
/external/perfetto/src/tracing/core/
Dstartup_trace_writer.cc333 uint32_t fragment_size = static_cast<uint32_t>( in CommitLocalBufferChunks() local
339 fragment_size, cur_chunk.payload_begin() + cur_payload_size); in CommitLocalBufferChunks()
344 &cur_chunk, fragment_size, cur_payload_size); in CommitLocalBufferChunks()
345 PERFETTO_DCHECK(bytes_read == fragment_size); in CommitLocalBufferChunks()
347 cur_payload_size += fragment_size; in CommitLocalBufferChunks()
348 remaining_packet_size -= fragment_size; in CommitLocalBufferChunks()
/external/protobuf/src/google/protobuf/stubs/
Dbytestream.cc47 std::size_t fragment_size = std::min<std::size_t>(n, fragment.size()); in CopyTo() local
48 sink->Append(fragment.data(), fragment_size); in CopyTo()
49 Skip(fragment_size); in CopyTo()
50 n -= fragment_size; in CopyTo()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_wsc.c26 size_t fragment_size; member
147 data->fragment_size = sm->fragment_size > 0 ? sm->fragment_size : in eap_wsc_init()
194 if (2 + send_len > data->fragment_size) { in eap_wsc_build_msg()
195 send_len = data->fragment_size - 2; in eap_wsc_build_msg()
Deap_server_tnc.c26 size_t fragment_size; member
87 data->fragment_size = sm->fragment_size > 100 ? in eap_tnc_init()
88 sm->fragment_size - 98 : 1300; in eap_tnc_init()
228 if (1 + send_len > data->fragment_size) { in eap_tnc_build_msg()
229 send_len = data->fragment_size - 1; in eap_tnc_build_msg()
Deap_server_ikev2.c23 size_t fragment_size; member
90 data->fragment_size = sm->fragment_size > 0 ? sm->fragment_size : in eap_ikev2_init()
143 if (1 + send_len > data->fragment_size) { in eap_ikev2_build_msg()
144 send_len = data->fragment_size - 1; in eap_ikev2_build_msg()
Deap_server_tls_common.c88 data->tls_out_limit = sm->fragment_size > 0 ? sm->fragment_size : 1398; in eap_server_tls_ssl_init()
Deap_i.h205 int fragment_size; member
/external/libvpx/libvpx/vp8/decoder/
Ddecodeframe.c749 unsigned int fragment_size = pbi->fragments.sizes[fragment_idx]; in setup_token_decoder() local
751 pbi->fragments.ptrs[fragment_idx] + fragment_size; in setup_token_decoder()
759 if (fragment_size < (unsigned int)ext_first_part_size) in setup_token_decoder()
761 "Corrupted fragment size %d", fragment_size); in setup_token_decoder()
762 fragment_size -= (unsigned int)ext_first_part_size; in setup_token_decoder()
763 if (fragment_size > 0) { in setup_token_decoder()
773 while (fragment_size > 0) { in setup_token_decoder()
779 if (fragment_size < (unsigned int)partition_size) in setup_token_decoder()
781 "Corrupted fragment size %d", fragment_size); in setup_token_decoder()
782 fragment_size -= (unsigned int)partition_size; in setup_token_decoder()
[all …]
/external/squashfs-tools/kernel/include/linux/
Dsquashfs_fs_i.h32 int fragment_size; member
/external/squashfs-tools/kernel-2.4/include/linux/
Dsquashfs_fs_i.h32 unsigned int fragment_size; member
/external/squashfs-tools/kernel/fs/squashfs/
Dsquashfs_fs_i.h32 int fragment_size; member
Dinode.c165 squashfs_i(inode)->fragment_size = frag_size; in squashfs_read_inode()
209 squashfs_i(inode)->fragment_size = frag_size; in squashfs_read_inode()
Dfile.c433 squashfs_i(inode)->fragment_size); in squashfs_readpage()
438 squashfs_i(inode)->fragment_size); in squashfs_readpage()
/external/kernel-headers/original/uapi/sound/
Dcompress_offload.h41 __u32 fragment_size; member
/external/tinycompress/include/tinycompress/
Dtinycompress.h69 __u32 fragment_size; member
/external/wpa_supplicant_8/src/eapol_auth/
Deapol_auth_sm.h42 int fragment_size; member
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dinode.c376 unsigned int *fragment_size) in get_fragment_location() argument
401 *fragment_size = fragment_entry.size; in get_fragment_location()
590 SQUASHFS_I(i)->u.s1.fragment_size = frag_size; in squashfs_iget()
643 SQUASHFS_I(i)->u.s1.fragment_size = frag_size; in squashfs_iget()
1495 SQUASHFS_I(inode)->u.s1.fragment_size)) in squashfs_readpage()
1501 u.s1.fragment_size); in squashfs_readpage()
1608 SQUASHFS_I(inode)-> u.s1.fragment_size); in squashfs_readpage4K()
1619 SQUASHFS_I(inode)-> u.s1.fragment_size); in squashfs_readpage4K()

12