Home
last modified time | relevance | path

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

123

/third_party/ffmpeg/libavdevice/
Dpulse_audio_dec.c46 int fragment_size; member
164 attr.fragsize = pd->fragment_size; in pulse_read_header()
222 | (pd->fragment_size == -1 ? PA_STREAM_ADJUST_LATENCY : 0) in pulse_read_header()
253 pd->fragment_size = queried_attr->fragsize; in pulse_read_header()
266 pd->fragment_size / pd->pa_frame_size, 1.5E-6); in pulse_read_header()
297 while (pos < pd->fragment_size) { in pulse_read_packet()
313 if (av_new_packet(pkt, pd->fragment_size) < 0) { in pulse_read_packet()
376 …{ "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_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_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_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.h639 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/mbedtls/tests/suites/
Dtest_suite_aes.function321 void aes_encrypt_ofb( int fragment_size, data_t *key_str,
334 TEST_ASSERT( (size_t)fragment_size < sizeof( output ) );
343 TEST_ASSERT( mbedtls_aes_crypt_ofb( &ctx, fragment_size, &iv_offset,
346 TEST_ASSERT( memcmp( output, expected_output->x, fragment_size ) == 0 );
348 in_buffer_len -= fragment_size;
349 expected_output->x += fragment_size;
350 src_str_next += fragment_size;
352 if( in_buffer_len < fragment_size )
353 fragment_size = in_buffer_len;
/third_party/pulseaudio/src/modules/
Dmodule-waveout.c78 uint32_t fragments, fragment_size; member
141 while (hdr->dwBufferLength < u->fragment_size) { in do_write()
144 len = u->fragment_size - hdr->dwBufferLength; in do_write()
348 … return pa_bytes_to_usec((u->fragments - free_frags) * u->fragment_size, &u->sink->sample_spec); in sink_get_latency()
362 r += pa_bytes_to_usec((free_frags + 1) * u->fragment_size, &u->source->sample_spec); in source_get_latency()
699 u->fragment_size = frag_size - (frag_size % pa_frame_size(&ss)); in pa__init()
704 u->poll_timeout = pa_bytes_to_usec(u->fragments * u->fragment_size / 10, &ss); in pa__init()
714 u->ihdrs[i].dwBufferLength = u->fragment_size; in pa__init()
715 u->ohdrs[i].dwBufferLength = u->fragment_size; in pa__init()
716 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()
/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/gstreamer/gstplugins_base/gst-libs/gst/rtp/
Dgstrtpbaseaudiopayload.c97 guint fragment_size; member
373 guint fragment_size; in gst_rtp_base_audio_payload_set_samplebits_options() local
383 fragment_size = sample_size; in gst_rtp_base_audio_payload_set_samplebits_options()
384 while ((fragment_size % 8) != 0) in gst_rtp_base_audio_payload_set_samplebits_options()
385 fragment_size += fragment_size; in gst_rtp_base_audio_payload_set_samplebits_options()
386 priv->fragment_size = fragment_size / 8; in gst_rtp_base_audio_payload_set_samplebits_options()
387 priv->align = priv->fragment_size; in gst_rtp_base_audio_payload_set_samplebits_options()
/third_party/gstreamer/gstplugins_bad/ext/avtp/
Dgstavtpcvfpay.c343 gsize available, nal_size, fragment_size, remaining; in gst_avtpcvpay_fragment_nal() local
399 fragment_size = in gst_avtpcvpay_fragment_nal()
404 GST_BUFFER_COPY_MEMORY, *offset, fragment_size)); in gst_avtpcvpay_fragment_nal()
406 *offset += fragment_size; in gst_avtpcvpay_fragment_nal()
409 "Generated fragment with size %" G_GSIZE_FORMAT, fragment_size); in gst_avtpcvpay_fragment_nal()
/third_party/pulseaudio/src/modules/alsa/
Dalsa-source.c107 size_t fragment_size; member
115 fragment_size, member
1022 u->fragment_size = u->initial_info.fragment_size; in update_size()
1023 u->hwbuf_size = u->initial_info.nfrags * u->fragment_size; in update_size()
1030 …u->frame_size, (unsigned long) u->frames_per_block, u->fragment_size, u->hwbuf_size, u->tsched_siz… in update_size()
1076 period_frames = u->fragment_size / u->frame_size; in unsuspend()
1097 u->fragment_size = (size_t)(period_frames * u->frame_size); in unsuspend()
1100 …roplist_setf(u->source->proplist, PA_PROP_DEVICE_BUFFERING_FRAGMENT_SIZE, "%zu", u->fragment_size); in unsuspend()
1102 } else if (period_frames * u->frame_size != u->fragment_size || in unsuspend()
1105 u->hwbuf_size, u->fragment_size, in unsuspend()
[all …]
Dalsa-sink.c119 size_t fragment_size; member
128 fragment_size, member
1140 u->fragment_size = u->initial_info.fragment_size; in update_size()
1141 u->hwbuf_size = u->initial_info.nfrags * u->fragment_size; in update_size()
1149 …u->frame_size, (unsigned long) u->frames_per_block, u->fragment_size, u->hwbuf_size, u->tsched_siz… in update_size()
1204 period_frames = u->fragment_size / u->frame_size; in unsuspend()
1225 u->fragment_size = (size_t)(period_frames * u->frame_size); in unsuspend()
1228 …_proplist_setf(u->sink->proplist, PA_PROP_DEVICE_BUFFERING_FRAGMENT_SIZE, "%zu", u->fragment_size); in unsuspend()
1230 } else if (period_frames * u->frame_size != u->fragment_size || in unsuspend()
1233 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

123