Home
last modified time | relevance | path

Searched refs:num_streams (Results 1 – 25 of 28) sorted by relevance

12

/third_party/mesa3d/src/compiler/nir/
Dnir_gs_count_vertices.c59 unsigned num_streams) in nir_gs_count_vertices_and_primitives() argument
61 assert(num_streams); in nir_gs_count_vertices_and_primitives()
83 if (stream >= num_streams) in nir_gs_count_vertices_and_primitives()
114 memcpy(out_vtxcnt, vtxcnt_arr, num_streams * sizeof(int)); in nir_gs_count_vertices_and_primitives()
116 memcpy(out_prmcnt, prmcnt_arr, num_streams * sizeof(int)); in nir_gs_count_vertices_and_primitives()
/third_party/ffmpeg/libavformat/
Dpmpdec.c28 int num_streams; member
92 pmp->num_streams = avio_rl16(pb) + 1; in pmp_header()
105 if (size < 9 + 4*pmp->num_streams) { in pmp_header()
116 for (i = 1; i < pmp->num_streams; i++) { in pmp_header()
147 num_packets = (pmp->num_streams - 1) * pmp->audio_packets + 1; in pmp_packet()
166 pmp->cur_stream = (pmp->cur_stream + 1) % pmp->num_streams; in pmp_packet()
Dargo_brp.c50 uint32_t num_streams; member
163 brp->fhdr.num_streams = AV_RL32(buf + 4); in argo_brp_read_header()
169 if (brp->fhdr.num_streams > BRP_MAX_STREAMS) { in argo_brp_read_header()
176 for (uint32_t i = 0; i < brp->fhdr.num_streams; i++) { in argo_brp_read_header()
Dwavdec.c199 int version, num_streams, i, channels = 0, ret; in wav_parse_xma2_tag() local
215 num_streams = avio_r8(pb); in wav_parse_xma2_tag()
216 if (size != (32 + ((version==3)?0:8) + 4*num_streams)) in wav_parse_xma2_tag()
226 for (i = 0; i < num_streams; i++) { in wav_parse_xma2_tag()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpopusdepay.c113 const gchar *num_streams; in gst_rtp_opus_depay_setcaps() local
140 num_streams = gst_structure_get_string (s, "num_streams"); in gst_rtp_opus_depay_setcaps()
141 stream_count = g_ascii_strtoull (num_streams, &endptr, 10); in gst_rtp_opus_depay_setcaps()
144 num_streams); in gst_rtp_opus_depay_setcaps()
Dgstrtpopuspay.c261 char *num_streams = g_strdup_printf ("%d", stream_count); in gst_rtp_opus_pay_setcaps() local
262 gst_structure_set (outcaps, "num_streams", G_TYPE_STRING, num_streams, in gst_rtp_opus_pay_setcaps()
264 g_free (num_streams); in gst_rtp_opus_pay_setcaps()
/third_party/alsa-lib/src/topology/
Dpcm.c213 int num_streams, int index) in tplg_build_stream_cfg() argument
219 for (i = 0; i < num_streams; i++) { in tplg_build_stream_cfg()
239 link->num_streams, elem->index); in build_link()
1758 if (pcm_tpl->num_streams > SND_SOC_TPLG_STREAM_CONFIG_MAX) in tplg_add_pcm_object()
1792 pcm->num_streams = pcm_tpl->num_streams; in tplg_add_pcm_object()
1793 for (i = 0; i < pcm_tpl->num_streams; i++) in tplg_add_pcm_object()
1880 if (link_tpl->num_streams > SND_SOC_TPLG_STREAM_CONFIG_MAX) in tplg_add_link_object()
1882 link->num_streams = link_tpl->num_streams; in tplg_add_link_object()
1883 for (i = 0; i < link->num_streams; i++) in tplg_add_link_object()
1997 if (pcm->num_streams > SND_SOC_TPLG_STREAM_CONFIG_MAX) { in tplg_decode_pcm()
[all …]
/third_party/ffmpeg/libavcodec/
Dwmaprodec.c247 int num_streams; member
1851 for (i = 1; i < s->num_streams; i++) { in xma_decode_packet()
1862 for (i = 0; i < s->num_streams; i++) { in xma_decode_packet()
1867 for (i = 0; i < s->num_streams; i++) { in xma_decode_packet()
1878 for (i = 0; i < s->num_streams; i++) { in xma_decode_packet()
1909 s->num_streams = (avctx->channels + 1) / 2; in xma_decode_init()
1911 s->num_streams = avctx->extradata[1]; in xma_decode_init()
1912 if (avctx->extradata_size != (32 + ((avctx->extradata[0]==3)?0:8) + 4*s->num_streams)) { in xma_decode_init()
1914 s->num_streams = 0; in xma_decode_init()
1918 s->num_streams = avctx->extradata[4]; in xma_decode_init()
[all …]
/third_party/gstreamer/gstplugins_base/tests/examples/decodebin_next/
Duridecodebin3-select-all.c102 guint i, num_streams; in activate_all_av_streams() local
108 num_streams = gst_stream_collection_get_size (data->collection); in activate_all_av_streams()
109 for (i = 0; i < num_streams; i++) { in activate_all_av_streams()
129 num_streams, num_videos, num_audios, num_texts, num_unknowns); in activate_all_av_streams()
/third_party/alsa-lib/include/sound/uapi/
Dasoc.h526 __le32 num_streams; /* number of streams */ member
550 __le32 num_streams; /* number of streams */ member
626 __le32 num_streams; /* number of streams */ member
635 __le32 num_streams; /* number of streams */ member
/third_party/gstreamer/gstplugins_good/gst/avi/
Dgstavidemux.c266 for (i = 0; i < avi->num_streams; i++) in gst_avi_demux_reset()
270 avi->num_streams = 0; in gst_avi_demux_reset()
642 for (i = 0; i < avi->num_streams; i++) {
702 for (i = 0; i < avi->num_streams; i++) { in gst_avi_demux_seek_streams_index()
811 } while (++i < avi->num_streams); in gst_avi_demux_handle_sink_event()
909 for (i = 0; i < avi->num_streams; i++) { in gst_avi_demux_handle_sink_event()
1337 idx_max = (num / avi->num_streams) + (8192 / sizeof (GstAviIndexEntry)); in gst_avi_demux_add_index()
1460 for (i = 0; i < avi->num_streams; i++) { in gst_avi_demux_do_index_stats()
1668 GST_DEBUG_OBJECT (avi, "read subindexes for %d streams", avi->num_streams); in gst_avi_demux_read_subindexes_push()
1705 if (avi->odml_stream < avi->num_streams) { in gst_avi_demux_read_subindexes_push()
[all …]
Dgstavidemux.h161 guint num_streams; member
/third_party/alsa-lib/include/
Dtopology.h1017 int num_streams; /*!< number of supported configs */ member
1072 int num_streams; /*!< number of configs */ member
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-mux.h88 guint num_streams, member
Dmatroska-parse.c296 context->index = parse->common.num_streams; in gst_matroska_parse_add_stream()
308 parse->common.num_streams++; in gst_matroska_parse_add_stream()
309 g_assert (parse->common.src->len == parse->common.num_streams); in gst_matroska_parse_add_stream()
403 g_ptr_array_index (parse->common.src, parse->common.num_streams - 1) in gst_matroska_parse_add_stream()
423 g_ptr_array_index (parse->common.src, parse->common.num_streams - 1) in gst_matroska_parse_add_stream()
687 g_ptr_array_index (parse->common.src, parse->common.num_streams - 1) in gst_matroska_parse_add_stream()
989 parse->common.num_streams--; in gst_matroska_parse_add_stream()
990 g_ptr_array_remove_index (parse->common.src, parse->common.num_streams); in gst_matroska_parse_add_stream()
991 g_assert (parse->common.src->len == parse->common.num_streams); in gst_matroska_parse_add_stream()
1642 stream_num >= parse->common.num_streams)) { in gst_matroska_parse_parse_blockgroup_or_simpleblock()
[all …]
Dmatroska-read-common.h54 guint num_streams; member
Dmatroska-demux.c741 demux->common.num_streams); in gst_matroska_demux_parse_stream()
1682 context->index = demux->common.num_streams++; in gst_matroska_demux_add_stream()
1683 g_assert (demux->common.src->len == demux->common.num_streams); in gst_matroska_demux_add_stream()
1684 g_ptr_array_index (demux->common.src, demux->common.num_streams - 1) = in gst_matroska_demux_add_stream()
1947 g_assert (demux->common.src->len == demux->common.num_streams); in gst_matroska_demux_send_event()
1987 g_assert (demux->common.src->len == demux->common.num_streams); in gst_matroska_demux_send_tags()
3561 if (ret != GST_FLOW_ERROR && demux->common.num_streams != num_tracks_found) { in gst_matroska_demux_update_tracks()
3564 demux->common.num_streams, num_tracks_found); in gst_matroska_demux_update_tracks()
3648 g_assert (demux->common.num_streams == demux->common.src->len); in gst_matroska_demux_sync_streams()
3801 g_assert (demux->common.num_streams == demux->common.src->len); in gst_matroska_demux_push_codec_data_all()
[all …]
Dmatroska-read-common.c1862 g_assert (common->src->len == common->num_streams); in gst_matroska_read_common_stream_from_num()
1871 if (n == common->num_streams) in gst_matroska_read_common_stream_from_num()
3378 g_assert (ctx->src->len == ctx->num_streams); in gst_matroska_read_common_reset()
3390 ctx->num_streams = 0; in gst_matroska_read_common_reset()
3465 g_assert (common->src->len == common->num_streams); in gst_matroska_read_common_reset_streams()
3487 g_assert (common->src->len == common->num_streams); in gst_matroska_read_common_tracknumber_unique()
/third_party/libusb/libusb/os/
Dlinux_usbfs.h125 unsigned int num_streams; /* Not used by USBDEVFS_FREE_STREAMS */ member
Ddarwin_usb.c2207 static int darwin_alloc_streams (struct libusb_device_handle *dev_handle, uint32_t num_streams, uns… in darwin_alloc_streams() argument
2221 if (num_streams > supportsStreams) in darwin_alloc_streams()
2222 num_streams = supportsStreams; in darwin_alloc_streams()
2226 if (0 == num_streams) in darwin_alloc_streams()
2233 rc = (*(cInterface->interface))->CreateStreams (cInterface->interface, pipeRef, num_streams); in darwin_alloc_streams()
2238 assert(num_streams <= INT_MAX); in darwin_alloc_streams()
2239 return (int)num_streams; in darwin_alloc_streams()
Dlinux_usbfs.c1600 uint32_t num_streams, unsigned char *endpoints, int num_endpoints) in do_streams_ioctl() argument
1613 streams->num_streams = num_streams; in do_streams_ioctl()
1636 uint32_t num_streams, unsigned char *endpoints, int num_endpoints) in op_alloc_streams() argument
1639 num_streams, endpoints, num_endpoints); in op_alloc_streams()
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/
Dgstrtpssrcdemux.c287 guint num_streams; in find_or_create_demux_pad_for_ssrc() local
298 num_streams = (GST_ELEMENT_CAST (demux)->numsrcpads) >> 1; in find_or_create_demux_pad_for_ssrc()
299 if (num_streams >= demux->max_streams) { in find_or_create_demux_pad_for_ssrc()
/third_party/libusb/libusb/
Dcore.c1861 uint32_t num_streams, unsigned char *endpoints, int num_endpoints) in libusb_alloc_streams() argument
1863 usbi_dbg("streams %u eps %d", (unsigned)num_streams, num_endpoints); in libusb_alloc_streams()
1865 if (!num_streams || !endpoints || num_endpoints <= 0) in libusb_alloc_streams()
1872 return usbi_backend.alloc_streams(dev_handle, num_streams, endpoints, in libusb_alloc_streams()
Dlibusbi.h1138 uint32_t num_streams, unsigned char *endpoints, int num_endpoints);
Dlibusb.h1440 uint32_t num_streams, unsigned char *endpoints, int num_endpoints);

12