Home
last modified time | relevance | path

Searched full:streams (Results 1 – 25 of 3431) sorted by relevance

12345678910>>...138

/external/webrtc/media/engine/
Dsimulcast_unittest.cc27 std::vector<VideoStream> streams(3); in GetSimulcastBitrates720p() local
28 streams[0].min_bitrate_bps = 30000; in GetSimulcastBitrates720p()
29 streams[0].target_bitrate_bps = 150000; in GetSimulcastBitrates720p()
30 streams[0].max_bitrate_bps = 200000; in GetSimulcastBitrates720p()
31 streams[1].min_bitrate_bps = 150000; in GetSimulcastBitrates720p()
32 streams[1].target_bitrate_bps = 500000; in GetSimulcastBitrates720p()
33 streams[1].max_bitrate_bps = 700000; in GetSimulcastBitrates720p()
34 streams[2].min_bitrate_bps = 600000; in GetSimulcastBitrates720p()
35 streams[2].target_bitrate_bps = 2500000; in GetSimulcastBitrates720p()
36 streams[2].max_bitrate_bps = 2500000; in GetSimulcastBitrates720p()
[all …]
/external/OpenCL-CTS/test_conformance/workgroups/
Dtest_wg_scan_inclusive_add.cpp163 cl_mem streams[2]; in test_work_group_scan_inclusive_add_int() local
190 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_add_int()
192 if (!streams[0]) in test_work_group_scan_inclusive_add_int()
198 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_add_int()
200 if (!streams[1]) in test_work_group_scan_inclusive_add_int()
212 …err = clEnqueueWriteBuffer( queue, streams[0], true, 0, sizeof(cl_int) * num_elements, (void *)inp… in test_work_group_scan_inclusive_add_int()
219 values[0] = streams[0]; in test_work_group_scan_inclusive_add_int()
220 values[1] = streams[1]; in test_work_group_scan_inclusive_add_int()
221 err = clSetKernelArg(kernel, 0, sizeof streams[0], &streams[0] ); in test_work_group_scan_inclusive_add_int()
222 err |= clSetKernelArg(kernel, 1, sizeof streams[1], &streams[1] ); in test_work_group_scan_inclusive_add_int()
[all …]
Dtest_wg_scan_inclusive_max.cpp165 cl_mem streams[2]; in test_work_group_scan_inclusive_max_int() local
192 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_max_int()
194 if (!streams[0]) in test_work_group_scan_inclusive_max_int()
200 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_max_int()
202 if (!streams[1]) in test_work_group_scan_inclusive_max_int()
214 …err = clEnqueueWriteBuffer( queue, streams[0], true, 0, sizeof(cl_int) * num_elements, (void *)inp… in test_work_group_scan_inclusive_max_int()
221 values[0] = streams[0]; in test_work_group_scan_inclusive_max_int()
222 values[1] = streams[1]; in test_work_group_scan_inclusive_max_int()
223 err = clSetKernelArg(kernel, 0, sizeof streams[0], &streams[0] ); in test_work_group_scan_inclusive_max_int()
224 err |= clSetKernelArg(kernel, 1, sizeof streams[1], &streams[1] ); in test_work_group_scan_inclusive_max_int()
[all …]
Dtest_wg_scan_inclusive_min.cpp165 cl_mem streams[2]; in test_work_group_scan_inclusive_min_int() local
192 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_min_int()
194 if (!streams[0]) in test_work_group_scan_inclusive_min_int()
200 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_min_int()
202 if (!streams[1]) in test_work_group_scan_inclusive_min_int()
214 …err = clEnqueueWriteBuffer( queue, streams[0], true, 0, sizeof(cl_int) * num_elements, (void *)inp… in test_work_group_scan_inclusive_min_int()
221 values[0] = streams[0]; in test_work_group_scan_inclusive_min_int()
222 values[1] = streams[1]; in test_work_group_scan_inclusive_min_int()
223 err = clSetKernelArg(kernel, 0, sizeof streams[0], &streams[0] ); in test_work_group_scan_inclusive_min_int()
224 err |= clSetKernelArg(kernel, 1, sizeof streams[1], &streams[1] ); in test_work_group_scan_inclusive_min_int()
[all …]
Dtest_wg_reduce.cpp166 cl_mem streams[2]; in test_work_group_reduce_add_int() local
193 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_reduce_add_int()
195 if (!streams[0]) in test_work_group_reduce_add_int()
201 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_reduce_add_int()
203 if (!streams[1]) in test_work_group_reduce_add_int()
215 …err = clEnqueueWriteBuffer( queue, streams[0], true, 0, sizeof(cl_int) * num_elements, (void *)inp… in test_work_group_reduce_add_int()
222 values[0] = streams[0]; in test_work_group_reduce_add_int()
223 values[1] = streams[1]; in test_work_group_reduce_add_int()
224 err = clSetKernelArg(kernel, 0, sizeof streams[0], &streams[0] ); in test_work_group_reduce_add_int()
225 err |= clSetKernelArg(kernel, 1, sizeof streams[1], &streams[1] ); in test_work_group_reduce_add_int()
[all …]
Dtest_wg_scan_exclusive_min.cpp166 cl_mem streams[2]; in test_work_group_scan_exclusive_min_int() local
202 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_exclusive_min_int()
204 if (!streams[0]) in test_work_group_scan_exclusive_min_int()
210 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_exclusive_min_int()
212 if (!streams[1]) in test_work_group_scan_exclusive_min_int()
224 …err = clEnqueueWriteBuffer( queue, streams[0], true, 0, sizeof(cl_int) * num_elements, (void *)inp… in test_work_group_scan_exclusive_min_int()
231 values[0] = streams[0]; in test_work_group_scan_exclusive_min_int()
232 values[1] = streams[1]; in test_work_group_scan_exclusive_min_int()
233 err = clSetKernelArg(kernel, 0, sizeof streams[0], &streams[0] ); in test_work_group_scan_exclusive_min_int()
234 err |= clSetKernelArg(kernel, 1, sizeof streams[1], &streams[1] ); in test_work_group_scan_exclusive_min_int()
[all …]
Dtest_wg_scan_exclusive_add.cpp174 cl_mem streams[2]; in test_work_group_scan_exclusive_add_int() local
201 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_exclusive_add_int()
203 if (!streams[0]) in test_work_group_scan_exclusive_add_int()
209 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_exclusive_add_int()
211 if (!streams[1]) in test_work_group_scan_exclusive_add_int()
223 …err = clEnqueueWriteBuffer( queue, streams[0], true, 0, sizeof(cl_int) * num_elements, (void *)inp… in test_work_group_scan_exclusive_add_int()
230 values[0] = streams[0]; in test_work_group_scan_exclusive_add_int()
231 values[1] = streams[1]; in test_work_group_scan_exclusive_add_int()
232 err = clSetKernelArg(kernel, 0, sizeof streams[0], &streams[0] ); in test_work_group_scan_exclusive_add_int()
233 err |= clSetKernelArg(kernel, 1, sizeof streams[1], &streams[1] ); in test_work_group_scan_exclusive_add_int()
[all …]
Dtest_wg_scan_exclusive_max.cpp165 cl_mem streams[2]; in test_work_group_scan_exclusive_max_int() local
201 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_exclusive_max_int()
203 if (!streams[0]) in test_work_group_scan_exclusive_max_int()
209 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_exclusive_max_int()
211 if (!streams[1]) in test_work_group_scan_exclusive_max_int()
223 …err = clEnqueueWriteBuffer( queue, streams[0], true, 0, sizeof(cl_int) * num_elements, (void *)inp… in test_work_group_scan_exclusive_max_int()
230 values[0] = streams[0]; in test_work_group_scan_exclusive_max_int()
231 values[1] = streams[1]; in test_work_group_scan_exclusive_max_int()
232 err = clSetKernelArg(kernel, 0, sizeof streams[0], &streams[0] ); in test_work_group_scan_exclusive_max_int()
233 err |= clSetKernelArg(kernel, 1, sizeof streams[1], &streams[1] ); in test_work_group_scan_exclusive_max_int()
[all …]
Dtest_wg_reduce_max.cpp166 cl_mem streams[2]; in test_work_group_reduce_max_int() local
202 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_reduce_max_int()
204 if (!streams[0]) in test_work_group_reduce_max_int()
210 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_reduce_max_int()
212 if (!streams[1]) in test_work_group_reduce_max_int()
224 …err = clEnqueueWriteBuffer( queue, streams[0], true, 0, sizeof(cl_int) * num_elements, (void *)inp… in test_work_group_reduce_max_int()
231 values[0] = streams[0]; in test_work_group_reduce_max_int()
232 values[1] = streams[1]; in test_work_group_reduce_max_int()
233 err = clSetKernelArg(kernel, 0, sizeof streams[0], &streams[0] ); in test_work_group_reduce_max_int()
234 err |= clSetKernelArg(kernel, 1, sizeof streams[1], &streams[1] ); in test_work_group_reduce_max_int()
[all …]
Dtest_wg_reduce_min.cpp166 cl_mem streams[2]; in test_work_group_reduce_min_int() local
202 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_reduce_min_int()
204 if (!streams[0]) in test_work_group_reduce_min_int()
210 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_reduce_min_int()
212 if (!streams[1]) in test_work_group_reduce_min_int()
224 …err = clEnqueueWriteBuffer( queue, streams[0], true, 0, sizeof(cl_int) * num_elements, (void *)inp… in test_work_group_reduce_min_int()
231 values[0] = streams[0]; in test_work_group_reduce_min_int()
232 values[1] = streams[1]; in test_work_group_reduce_min_int()
233 err = clSetKernelArg(kernel, 0, sizeof streams[0], &streams[0] ); in test_work_group_reduce_min_int()
234 err |= clSetKernelArg(kernel, 1, sizeof streams[1], &streams[1] ); in test_work_group_reduce_min_int()
[all …]
Dtest_wg_broadcast.cpp164 cl_mem streams[2]; in test_work_group_broadcast_1D() local
191 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_broadcast_1D()
193 if (!streams[0]) in test_work_group_broadcast_1D()
199 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_broadcast_1D()
201 if (!streams[1]) in test_work_group_broadcast_1D()
215 …err = clEnqueueWriteBuffer( queue, streams[0], true, 0, sizeof(cl_float)*num_elements, (void *)inp… in test_work_group_broadcast_1D()
222 values[0] = streams[0]; in test_work_group_broadcast_1D()
223 values[1] = streams[1]; in test_work_group_broadcast_1D()
224 err = clSetKernelArg(kernel, 0, sizeof streams[0], &streams[0] ); in test_work_group_broadcast_1D()
225 err |= clSetKernelArg(kernel, 1, sizeof streams[1], &streams[1] ); in test_work_group_broadcast_1D()
[all …]
/external/adhd/cras/src/tests/
Dtiming_unittest.cc49 const std::vector<StreamPtr>& streams, in SingleInputDevNextWake() argument
58 for (auto const& stream : streams) { in SingleInputDevNextWake()
78 const std::vector<StreamPtr>& streams, in SingleOutputDevNextWake() argument
87 for (auto const& stream : streams) { in SingleOutputDevNextWake()
133 dev_stream_destroy(iodev->streams); in TEST_F()
187 std::vector<StreamPtr> streams; in TEST_F() local
189 SingleInputDevNextWake(4800000, 0, &start, &format, streams); in TEST_F()
217 std::vector<StreamPtr> streams; in TEST_F() local
218 streams.emplace_back(std::move(stream1)); in TEST_F()
219 streams.emplace_back(std::move(stream2)); in TEST_F()
[all …]
/external/OpenCL-CTS/test_conformance/commonfns/
Dtest_mix.cpp53 cl_mem streams[4]; in test_mix() local
69 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_mix()
71 if (!streams[0]) in test_mix()
76 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_mix()
78 if (!streams[1]) in test_mix()
83 streams[2] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_mix()
85 if (!streams[2]) in test_mix()
91 streams[3] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_mix()
93 if (!streams[3]) in test_mix()
117 …err = clEnqueueWriteBuffer( queue, streams[0], true, 0, sizeof(cl_float)*num_elements, (void *)inp… in test_mix()
[all …]
Dtest_step.cpp97 cl_mem streams[3]; in test_step() local
112 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_step()
114 if (!streams[0]) in test_step()
119 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_step()
121 if (!streams[1]) in test_step()
126 streams[2] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_step()
128 if (!streams[2]) in test_step()
147 …err = clEnqueueWriteBuffer( queue, streams[0], true, 0, sizeof(cl_float)*num_elements, (void *)inp… in test_step()
153 …err = clEnqueueWriteBuffer( queue, streams[1], true, 0, sizeof(cl_float)*num_elements, (void *)inp… in test_step()
179 values[0] = streams[0]; in test_step()
[all …]
/external/OpenCL-CTS/test_conformance/basic/
Dtest_writeimage.cpp112 cl_mem streams[6]; in test_writeimage() local
162streams[0] = clCreateImage2D(context, CL_MEM_READ_WRITE, &img_format, img_width, img_height, 0, NU… in test_writeimage()
163 if (!streams[0]) in test_writeimage()
172streams[1] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, img_width, img_height, 0, NU… in test_writeimage()
173 if (!streams[1]) in test_writeimage()
183streams[2] = clCreateImage2D(context, CL_MEM_WRITE_ONLY, &img_format, img_width, img_height, 0, NU… in test_writeimage()
184 if (!streams[2]) in test_writeimage()
193streams[3] = create_image_2d(context, CL_MEM_WRITE_ONLY, &img_format, img_width, img_height, 0, NU… in test_writeimage()
194 if (!streams[3]) in test_writeimage()
200 streams[4] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, NULL); in test_writeimage()
[all …]
Dtest_loop.cpp73 cl_mem streams[4]; in test_loop() local
86 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, NULL); in test_loop()
87 if (!streams[0]) in test_loop()
92 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, NULL); in test_loop()
93 if (!streams[1]) in test_loop()
98 streams[2] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, NULL); in test_loop()
99 if (!streams[2]) in test_loop()
104 streams[3] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, NULL); in test_loop()
105 if (!streams[3]) in test_loop()
120 err = clEnqueueWriteBuffer(queue, streams[0], CL_TRUE, 0, length, input_ptr, 0, NULL, NULL); in test_loop()
[all …]
Dtest_fpmath_float.cpp118 cl_mem streams[4]; in test_fpmath_float() local
164 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, &err); in test_fpmath_float()
166 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, &err); in test_fpmath_float()
168 streams[2] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, &err); in test_fpmath_float()
170 streams[3] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, &err); in test_fpmath_float()
183 err = clEnqueueWriteBuffer(queue, streams[0], CL_TRUE, 0, length, input_ptr[0], 0, NULL, NULL); in test_fpmath_float()
186 err = clEnqueueWriteBuffer(queue, streams[1], CL_TRUE, 0, length, input_ptr[1], 0, NULL, NULL); in test_fpmath_float()
189 err = clEnqueueWriteBuffer(queue, streams[2], CL_TRUE, 0, length, input_ptr[2], 0, NULL, NULL); in test_fpmath_float()
202 err = clSetKernelArg(kernel[0], 0, sizeof streams[0], &streams[0]); in test_fpmath_float()
203 err |= clSetKernelArg(kernel[0], 1, sizeof streams[1], &streams[1]); in test_fpmath_float()
[all …]
Dtest_fpmath_float2.cpp117 cl_mem streams[4]; in test_fpmath_float2() local
163 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, &err); in test_fpmath_float2()
165 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, &err); in test_fpmath_float2()
167 streams[2] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, &err); in test_fpmath_float2()
169 streams[3] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, &err); in test_fpmath_float2()
182 err = clEnqueueWriteBuffer(queue, streams[0], CL_TRUE, 0, length, input_ptr[0], 0, NULL, NULL); in test_fpmath_float2()
184 err = clEnqueueWriteBuffer(queue, streams[1], CL_TRUE, 0, length, input_ptr[1], 0, NULL, NULL); in test_fpmath_float2()
186 err = clEnqueueWriteBuffer(queue, streams[2], CL_TRUE, 0, length, input_ptr[2], 0, NULL, NULL); in test_fpmath_float2()
199 err = clSetKernelArg(kernel[0], 0, sizeof streams[0], &streams[0]); in test_fpmath_float2()
200 err |= clSetKernelArg(kernel[0], 1, sizeof streams[1], &streams[1]); in test_fpmath_float2()
[all …]
Dtest_fpmath_float4.cpp117 cl_mem streams[4]; in test_fpmath_float4() local
163 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, &err); in test_fpmath_float4()
165 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, &err); in test_fpmath_float4()
167 streams[2] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, &err); in test_fpmath_float4()
169 streams[3] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, &err); in test_fpmath_float4()
184 err = clEnqueueWriteBuffer(queue, streams[0], CL_TRUE, 0, length, input_ptr[0], 0, NULL, NULL); in test_fpmath_float4()
186 err = clEnqueueWriteBuffer(queue, streams[1], CL_TRUE, 0, length, input_ptr[1], 0, NULL, NULL); in test_fpmath_float4()
188 err = clEnqueueWriteBuffer(queue, streams[2], CL_TRUE, 0, length, input_ptr[2], 0, NULL, NULL); in test_fpmath_float4()
201 err = clSetKernelArg(kernel[0], 0, sizeof streams[0], &streams[0]); in test_fpmath_float4()
202 err |= clSetKernelArg(kernel[0], 1, sizeof streams[1], &streams[1]); in test_fpmath_float4()
[all …]
Dtest_imagedim.cpp72 cl_mem streams[2]; in test_imagedim_pow2() local
168 streams[0] = in test_imagedim_pow2()
171 if (!streams[0]) in test_imagedim_pow2()
181 streams[1] = in test_imagedim_pow2()
184 if (!streams[1]) in test_imagedim_pow2()
187 clReleaseMemObject(streams[0]); in test_imagedim_pow2()
196 …err = clEnqueueWriteImage(queue, streams[0], CL_FALSE, origin, region, 0, 0, input_ptr, 0, NULL, N… in test_imagedim_pow2()
200 clReleaseMemObject(streams[0]); in test_imagedim_pow2()
201 clReleaseMemObject(streams[1]); in test_imagedim_pow2()
208 err = clSetKernelArg(kernel, 0, sizeof streams[0], &streams[0]); in test_imagedim_pow2()
[all …]
Dtest_queue_priority.cpp197 cl_mem streams[4]; in test_queue_priority() local
243 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, &err); in test_queue_priority()
245 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, &err); in test_queue_priority()
247 streams[2] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, &err); in test_queue_priority()
249 streams[3] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, &err); in test_queue_priority()
262 err = clEnqueueWriteBuffer(queue, streams[0], CL_TRUE, 0, length, input_ptr[0], 0, NULL, NULL); in test_queue_priority()
265 err = clEnqueueWriteBuffer(queue, streams[1], CL_TRUE, 0, length, input_ptr[1], 0, NULL, NULL); in test_queue_priority()
268 err = clEnqueueWriteBuffer(queue, streams[2], CL_TRUE, 0, length, input_ptr[2], 0, NULL, NULL); in test_queue_priority()
285 err = clSetKernelArg(kernel[0], 0, sizeof streams[0], &streams[0]); in test_queue_priority()
286 err |= clSetKernelArg(kernel[0], 1, sizeof streams[1], &streams[1]); in test_queue_priority()
[all …]
/external/webrtc/modules/video_coding/
Dvideo_codec_initializer.cc33 const std::vector<VideoStream>& streams, in SetupCodec() argument
38 if (!SetupCodec(associated_config, streams, codec)) { in SetupCodec()
46 *codec = VideoEncoderConfigToVideoCodec(config, streams); in SetupCodec()
53 const std::vector<VideoStream>& streams) { in VideoEncoderConfigToVideoCodec() argument
55 RTC_DCHECK(!streams.empty()); in VideoEncoderConfigToVideoCodec()
75 static_cast<unsigned char>(streams.size()); in VideoEncoderConfigToVideoCodec()
76 video_codec.minBitrate = streams[0].min_bitrate_bps / 1000; in VideoEncoderConfigToVideoCodec()
78 // Active configuration might not be fully copied to |streams| for SVC yet. in VideoEncoderConfigToVideoCodec()
92 RTC_DCHECK_LE(streams.size(), kMaxSimulcastStreams); in VideoEncoderConfigToVideoCodec()
96 for (size_t i = 0; i < streams.size(); ++i) { in VideoEncoderConfigToVideoCodec()
[all …]
/external/llvm-project/llvm/tools/llvm-pdbutil/
DStreamUtil.cpp67 SmallVectorImpl<StreamInfo> &Streams) { in discoverStreamPurposes() argument
68 // It's OK if we fail to load some of these streams, we still attempt to print in discoverStreamPurposes()
97 Streams.resize(StreamCount); in discoverStreamPurposes()
100 Streams[StreamIdx] = in discoverStreamPurposes()
103 Streams[StreamIdx] = stream(StreamPurpose::PDB, "PDB Stream", StreamIdx); in discoverStreamPurposes()
105 Streams[StreamIdx] = stream(StreamPurpose::DBI, "DBI Stream", StreamIdx); in discoverStreamPurposes()
107 Streams[StreamIdx] = stream(StreamPurpose::TPI, "TPI Stream", StreamIdx); in discoverStreamPurposes()
109 Streams[StreamIdx] = stream(StreamPurpose::IPI, "IPI Stream", StreamIdx); in discoverStreamPurposes()
111 Streams[StreamIdx] = in discoverStreamPurposes()
114 Streams[StreamIdx] = in discoverStreamPurposes()
[all …]
/external/OpenCL-CTS/test_conformance/api/
Dtest_kernels.cpp179 clMemWrapper streams[2]; in test_execute_kernel_local_sizes() local
194 /* Create some I/O streams */ in test_execute_kernel_local_sizes()
195 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_execute_kernel_local_sizes()
198 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_execute_kernel_local_sizes()
206 error = clEnqueueWriteBuffer(queue, streams[0], CL_TRUE, 0, in test_execute_kernel_local_sizes()
212 error = clSetKernelArg( kernel, 0, sizeof( streams[0] ), &streams[0] ); in test_execute_kernel_local_sizes()
214 error = clSetKernelArg( kernel, 1, sizeof( streams[1] ), &streams[1] ); in test_execute_kernel_local_sizes()
225 error = clEnqueueReadBuffer(queue, streams[1], CL_TRUE, 0, in test_execute_kernel_local_sizes()
247 error = clEnqueueReadBuffer(queue, streams[1], CL_TRUE, 0, in test_execute_kernel_local_sizes()
269 error = clEnqueueReadBuffer(queue, streams[1], CL_TRUE, 0, in test_execute_kernel_local_sizes()
[all …]
/external/webrtc/media/base/
Dstream_params.h17 // E.x: Consider a source that is sent as 3 simulcast streams
30 // lines for redundancy streams, as the same RIDs appear in the redundancy
187 // For 1:1 calls, should be left empty (which means remote streams
188 // and local streams should not be mixed together). This is not used
253 const StreamParams* GetStream(const StreamParamsVec& streams, in GetStream() argument
255 auto found = absl::c_find_if(streams, condition); in GetStream()
256 return found == streams.end() ? nullptr : &(*found); in GetStream()
260 StreamParams* GetStream(StreamParamsVec& streams, Condition condition) { in GetStream() argument
261 auto found = absl::c_find_if(streams, condition); in GetStream()
262 return found == streams.end() ? nullptr : &(*found); in GetStream()
[all …]

12345678910>>...138