Home
last modified time | relevance | path

Searched refs:num_packets (Results 1 – 14 of 14) sorted by relevance

/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpamrdepay.c309 gint i, num_packets, num_nonempty_packets; in gst_rtp_amr_depay_process() local
359 num_packets = 0; in gst_rtp_amr_depay_process()
375 num_packets++; in gst_rtp_amr_depay_process()
383 if (num_packets + num_nonempty_packets + amr_len > payload_len) in gst_rtp_amr_depay_process()
387 if (num_packets + amr_len > payload_len) in gst_rtp_amr_depay_process()
398 dp = payload + num_packets; in gst_rtp_amr_depay_process()
404 for (i = 0; i < num_packets; i++) { in gst_rtp_amr_depay_process()
422 GST_BUFFER_DURATION (outbuf) = num_packets * 20 * GST_MSECOND; in gst_rtp_amr_depay_process()
Dgstrtpamrpay.c257 gint i, num_packets, num_nonempty_packets; in gst_rtp_amr_pay_handle_buffer() local
284 amr_len = num_packets = num_nonempty_packets = 0; in gst_rtp_amr_pay_handle_buffer()
302 num_packets++; in gst_rtp_amr_pay_handle_buffer()
330 GST_BUFFER_DURATION (outbuf) = num_packets * 20 * GST_MSECOND; in gst_rtp_amr_pay_handle_buffer()
351 (num_packets * 160) << (rtpamrpay->mode == GST_RTP_AMR_P_MODE_WB); in gst_rtp_amr_pay_handle_buffer()
365 payload_amr = payload + num_packets + 1; in gst_rtp_amr_pay_handle_buffer()
370 for (i = 1; i <= num_packets; i++) { in gst_rtp_amr_pay_handle_buffer()
383 if (i == num_packets) in gst_rtp_amr_pay_handle_buffer()
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-ids.c148 gint i, offset, num_packets; in gst_matroska_parse_xiph_stream_headers() local
158 num_packets = p[0] + 1; in gst_matroska_parse_xiph_stream_headers()
160 (guint) num_packets, codec_data_size); in gst_matroska_parse_xiph_stream_headers()
162 length = g_alloca (num_packets * sizeof (guint)); in gst_matroska_parse_xiph_stream_headers()
167 for (i = 0; i < num_packets - 1; i++) { in gst_matroska_parse_xiph_stream_headers()
184 for (i = 0; i < num_packets; i++) { in gst_matroska_parse_xiph_stream_headers()
/third_party/ffmpeg/libavformat/
Dpmpdec.c139 int num_packets; in pmp_packet() local
147 num_packets = (pmp->num_streams - 1) * pmp->audio_packets + 1; in pmp_packet()
152 num_packets * sizeof(*pmp->packet_sizes)); in pmp_packet()
157 for (i = 0; i < num_packets; i++) in pmp_packet()
Dcafdec.c193 int64_t pos = 0, ccount, num_packets; in read_pakt_chunk() local
199 num_packets = avio_rb64(pb); in read_pakt_chunk()
200 if (num_packets < 0 || INT32_MAX / sizeof(AVIndexEntry) < num_packets) in read_pakt_chunk()
208 st->duration = caf->frames_per_packet * num_packets; in read_pakt_chunk()
209 pos = caf-> bytes_per_packet * num_packets; in read_pakt_chunk()
212 for (i = 0; i < num_packets; i++) { in read_pakt_chunk()
/third_party/gstreamer/gstplugins_bad/gst/mxf/
Dmxfvanc.c110 guint16 num_packets, i; in mxf_vanc_handle_essence_element() local
135 num_packets = gst_byte_reader_get_uint16_be_unchecked (&reader); in mxf_vanc_handle_essence_element()
136 if (num_packets == 0) { in mxf_vanc_handle_essence_element()
151 for (i = 0; i < num_packets; i++) { in mxf_vanc_handle_essence_element()
/third_party/ltp/testcases/kernel/sched/cfs-scheduler/
Dhackbench.c83 unsigned int num_packets; member
169 for (i = 0; i < ctx->num_packets; i++) { in receiver()
260 ctx->num_packets = num_fds * loops; in group()
/third_party/libusb/libusb/os/
Dlinux_usbfs.c2060 int num_packets = transfer->num_iso_packets; in submit_iso_transfer() local
2068 if (num_packets < 1) in submit_iso_transfer()
2076 for (i = 0; i < num_packets; i++) { in submit_iso_transfer()
2093 num_urbs = (num_packets + (MAX_ISO_PACKETS_PER_URB - 1)) / MAX_ISO_PACKETS_PER_URB; in submit_iso_transfer()
2108 num_packets_remaining = num_packets; in submit_iso_transfer()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Drtpsession.c2695 guint16 num_packets; member
2725 for (i = 0; i < td->num_packets; i++) { in GST_START_TEST()
2726 gboolean last_packet = i == (td->num_packets - 1); in GST_START_TEST()
2750 fail_unless_equals_int (td->num_packets, GST_READ_UINT16_BE (&fci_data[2])); in GST_START_TEST()
2768 fail_unless_equals_int (td->num_packets, run_length); in GST_START_TEST()
4065 guint num_packets; member
4087 for (guint i = 0; i < ctx->num_packets; i++) { in GST_START_TEST()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_nl80211_event.c1241 ed.low_ack.num_packets = in nl80211_cqm_event()
1245 MAC2STR(ed.low_ack.addr), ed.low_ack.num_packets); in nl80211_cqm_event()
Ddriver.h5456 u32 num_packets; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211_event.c1433 ed.low_ack.num_packets = in nl80211_cqm_event()
1437 MAC2STR(ed.low_ack.addr), ed.low_ack.num_packets); in nl80211_cqm_event()
Ddriver.h5818 u32 num_packets; member
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dqtdemux.c13980 gint i, offset, num_packets; in parse_xiph_stream_headers() local
13990 num_packets = p[0] + 1; in parse_xiph_stream_headers()
13993 (guint) num_packets, codec_data_size); in parse_xiph_stream_headers()
13997 if (G_UNLIKELY (num_packets > 16)) { in parse_xiph_stream_headers()
14003 length = g_alloca (num_packets * sizeof (guint)); in parse_xiph_stream_headers()
14008 for (i = 0; i < num_packets - 1; i++) { in parse_xiph_stream_headers()
14023 for (i = 0; i < num_packets; i++) { in parse_xiph_stream_headers()