Lines Matching refs:stream
20 struct pvr2_stream *stream;
43 cp->stream = NULL;
131 pvr2_stream_kill(cp->stream);
151 if (!(cp->stream)) return 0;
154 while ((bp = pvr2_stream_get_idle_buffer(cp->stream)) != NULL) {
183 return cp->stream;
194 if (cp->stream) {
199 pvr2_stream_kill(cp->stream);
200 if (pvr2_stream_get_buffer_count(cp->stream)) {
201 pvr2_stream_set_buffer_count(cp->stream,0);
203 cp->stream = NULL;
221 cp->stream = sp;
268 cp->c_buf = pvr2_stream_get_ready_buffer(cp->stream);
299 // Search the stream for our synchronization key. This is made
367 if (!pvr2_stream_get_ready_count(cp->stream)) {
372 if (pvr2_stream_get_ready_count(cp->stream) < BUFFER_COUNT/2) {
425 // the stream.