Home
last modified time | relevance | path

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

123

/third_party/ffmpeg/libavdevice/
Dpulse_audio_dec.c47 int fragment_size; member
165 if (pd->fragment_size == -1) { in pulse_read_header()
169 attr.fragsize = pd->fragment_size; in pulse_read_header()
259 pd->fragment_size = queried_attr->fragsize; in pulse_read_header()
272 pd->fragment_size / pd->pa_frame_size, 1.5E-6); in pulse_read_header()
303 while (pos < pd->fragment_size) { in pulse_read_packet()
319 if (av_new_packet(pkt, pd->fragment_size) < 0) { in pulse_read_packet()
383 …{ "fragment_size", "set buffering size, affects latency and cpu usage", OFFSET(fragment_size), AV_…
/third_party/pulseaudio/src/utils/
Dpadsp.c82 size_t fragment_size; member
476 i->fragment_size = 0; in reset_params()
763 if ((i->fragment_size % fs) == 0 && in fix_metrics()
765 i->fragment_size > 0) in fix_metrics()
768 i->fragment_size = (i->fragment_size/fs)*fs; in fix_metrics()
772 if (i->fragment_size > 0) { in fix_metrics()
773 … i->n_fragments = (unsigned) (pa_bytes_per_second(&i->sample_spec) / 2 / i->fragment_size); in fix_metrics()
781 if (i->fragment_size <= 0) { in fix_metrics()
782 i->fragment_size = pa_bytes_per_second(&i->sample_spec) / 2 / i->n_fragments; in fix_metrics()
783 if (i->fragment_size < 1024) in fix_metrics()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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.h662 int fragment_size; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/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
/third_party/protobuf/src/google/protobuf/stubs/
Dbytestream.cc49 std::size_t fragment_size = std::min<std::size_t>(n, fragment.size()); in CopyTo() local
50 sink->Append(fragment.data(), fragment_size); in CopyTo()
51 Skip(fragment_size); in CopyTo()
52 n -= fragment_size; in CopyTo()
/third_party/pulseaudio/src/modules/
Dmodule-waveout.c80 uint32_t fragments, fragment_size; member
143 while (hdr->dwBufferLength < u->fragment_size) { in do_write()
146 len = u->fragment_size - hdr->dwBufferLength; in do_write()
350 … return pa_bytes_to_usec((u->fragments - free_frags) * u->fragment_size, &u->sink->sample_spec); in sink_get_latency()
364 r += pa_bytes_to_usec((free_frags + 1) * u->fragment_size, &u->source->sample_spec); in source_get_latency()
766 u->fragment_size = frag_size - (frag_size % pa_frame_size(&ss)); in pa__init()
771 u->poll_timeout = pa_bytes_to_usec(u->fragments * u->fragment_size / 10, &ss); in pa__init()
781 u->ihdrs[i].dwBufferLength = u->fragment_size; in pa__init()
782 u->ohdrs[i].dwBufferLength = u->fragment_size; in pa__init()
783 u->ihdrs[i].lpData = pa_xmalloc(u->fragment_size); in pa__init()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_wsc.c26 size_t fragment_size; member
149 data->fragment_size = sm->cfg->fragment_size > 0 ? in eap_wsc_init()
150 sm->cfg->fragment_size : WSC_FRAGMENT_SIZE; in eap_wsc_init()
196 if (2 + send_len > data->fragment_size) { in eap_wsc_build_msg()
197 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->cfg->fragment_size > 100 ? in eap_tnc_init()
88 sm->cfg->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->cfg->fragment_size > 0 ? in eap_ikev2_init()
91 sm->cfg->fragment_size : IKEV2_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()
/third_party/mbedtls/tests/suites/
Dtest_suite_aes.function380 void aes_encrypt_ofb(int fragment_size, data_t *key_str,
393 TEST_ASSERT((size_t) fragment_size < sizeof(output));
401 TEST_ASSERT(mbedtls_aes_crypt_ofb(&ctx, fragment_size, &iv_offset,
404 TEST_ASSERT(memcmp(output, expected_output->x, fragment_size) == 0);
406 in_buffer_len -= fragment_size;
407 expected_output->x += fragment_size;
408 src_str_next += fragment_size;
410 if (in_buffer_len < fragment_size) {
411 fragment_size = in_buffer_len;
/third_party/pulseaudio/src/modules/alsa/
Dalsa-source.c116 size_t fragment_size; member
124 fragment_size, member
1063 u->fragment_size = u->initial_info.fragment_size; in update_size()
1064 u->hwbuf_size = u->initial_info.nfrags * u->fragment_size; in update_size()
1071 …u->frame_size, (unsigned long) u->frames_per_block, u->fragment_size, u->hwbuf_size, u->tsched_siz… in update_size()
1117 period_frames = u->fragment_size / u->frame_size; in unsuspend()
1138 u->fragment_size = (size_t)(period_frames * u->frame_size); in unsuspend()
1141 …roplist_setf(u->source->proplist, PA_PROP_DEVICE_BUFFERING_FRAGMENT_SIZE, "%zu", u->fragment_size); in unsuspend()
1143 } else if (period_frames * u->frame_size != u->fragment_size || in unsuspend()
1146 u->hwbuf_size, u->fragment_size, in unsuspend()
[all …]
Dalsa-sink.c128 size_t fragment_size; member
137 fragment_size, member
1178 u->fragment_size = u->initial_info.fragment_size; in update_size()
1179 u->hwbuf_size = u->initial_info.nfrags * u->fragment_size; in update_size()
1187 …u->frame_size, (unsigned long) u->frames_per_block, u->fragment_size, u->hwbuf_size, u->tsched_siz… in update_size()
1242 period_frames = u->fragment_size / u->frame_size; in unsuspend()
1263 u->fragment_size = (size_t)(period_frames * u->frame_size); in unsuspend()
1266 …_proplist_setf(u->sink->proplist, PA_PROP_DEVICE_BUFFERING_FRAGMENT_SIZE, "%zu", u->fragment_size); in unsuspend()
1268 } else if (period_frames * u->frame_size != u->fragment_size || in unsuspend()
1271 u->hwbuf_size, u->fragment_size, in unsuspend()
[all …]
/third_party/mesa3d/src/intel/vulkan/
DgenX_state.c575 size_index[fsr->fragment_size.width] * 3 + in get_cps_state_offset()
576 size_index[fsr->fragment_size.height]; in get_cps_state_offset()
580 size_index[fsr->fragment_size.width] * 3 + in get_cps_state_offset()
581 size_index[fsr->fragment_size.height]; in get_cps_state_offset()
845 cps.MinCPSizeX = fsr->fragment_size.width; in genX()
846 cps.MinCPSizeY = fsr->fragment_size.height; in genX()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eapol_auth/
Deapol_auth_sm.h45 int fragment_size; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dauthsrv.c214 cfg->fragment_size = hapd->conf->fragment_size; in authsrv_eap_config()

123