Lines Matching refs:rlength

210     s32  rlength;  in getDataR()  local
216 rlength = length & ~0x1f; in getDataR()
221 DVDReadAsync(&strm.finfoR, buffer, rlength, strm.offset, gottenData); in getDataR()
223 strm.rest -= rlength; in getDataR()
224 strm.offset += rlength; in getDataR()
254 s32 rlength; in getDataL() local
262 rlength = length & ~0x1f; in getDataL()
267 DVDReadAsync(&strm.finfoL, buffer, rlength, strm.offset, getDataR); in getDataL()
269 if (!((strm.rest - rlength) & ~0x1f)) in getDataL()
272 if (rlength) in getDataL()
274 strm.end_addr = (u32)OSCachedToPhysical(buffer) + rlength; in getDataL()
393 s32 rlength; in startStreamPcm16() local
418 rlength = length & ~0x1f; in startStreamPcm16()
420 memset(streamBufferL + rlength, 0, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm16()
421 memset(streamBufferR + rlength, 0, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm16()
423 DCFlushRange(streamBufferL + rlength, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm16()
424 DCFlushRange(streamBufferR + rlength, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm16()
426 DVDRead(&strm.finfoL, streamBufferL, rlength, strm.offset); in startStreamPcm16()
427 DVDRead(&strm.finfoR, streamBufferR, rlength, strm.offset); in startStreamPcm16()
429 strm.rest -= rlength; in startStreamPcm16()
430 strm.offset += rlength; in startStreamPcm16()
435 strm.end_addr = (u32)OSCachedToPhysical(streamBufferL) + rlength; in startStreamPcm16()
501 s32 rlength; in startStreamPcm8() local
526 rlength = length & ~0x1f; in startStreamPcm8()
528 memset(streamBufferL + rlength, 0, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm8()
529 memset(streamBufferR + rlength, 0, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm8()
531 DCFlushRange(streamBufferL + rlength, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm8()
532 DCFlushRange(streamBufferR + rlength, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm8()
534 DVDRead(&strm.finfoL, streamBufferL, rlength, strm.offset); in startStreamPcm8()
535 DVDRead(&strm.finfoR, streamBufferR, rlength, strm.offset); in startStreamPcm8()
537 strm.rest -= rlength; in startStreamPcm8()
538 strm.offset += rlength; in startStreamPcm8()
543 strm.end_addr = (u32)OSCachedToPhysical(streamBufferL) + rlength; in startStreamPcm8()
609 s32 rlength; in startStreamAdpcm() local
637 rlength = length & ~0x1f; in startStreamAdpcm()
639 memset(streamBufferL + rlength, 0, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamAdpcm()
640 memset(streamBufferR + rlength, 0, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamAdpcm()
642 DCFlushRange(streamBufferL + rlength, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamAdpcm()
643 DCFlushRange(streamBufferR + rlength, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamAdpcm()
645 DVDRead(&strm.finfoL, streamBufferL, rlength, strm.offset); in startStreamAdpcm()
646 DVDRead(&strm.finfoR, streamBufferR, rlength, strm.offset); in startStreamAdpcm()
648 strm.rest -= rlength; in startStreamAdpcm()
649 strm.offset += rlength; in startStreamAdpcm()
654 strm.end_addr = (u32)OSCachedToPhysical(streamBufferL) + rlength; in startStreamAdpcm()