Lines Matching refs:rlength

213     s32  rlength;  in getDataR()  local
219 rlength = length & ~0x1f; in getDataR()
224 DVDReadAsync(&strm.finfoR, buffer, rlength, strm.offset, gottenData); in getDataR()
226 strm.rest -= rlength; in getDataR()
227 strm.offset += rlength; in getDataR()
257 s32 rlength; in getDataL() local
265 rlength = length & ~0x1f; in getDataL()
270 DVDReadAsync(&strm.finfoL, buffer, rlength, strm.offset, getDataR); in getDataL()
272 if (!((strm.rest - rlength) & ~0x1f)) in getDataL()
275 if (rlength) in getDataL()
277 strm.end_addr = (u32)OSCachedToPhysical(buffer) + rlength; in getDataL()
396 s32 rlength; in startStreamPcm16() local
421 rlength = length & ~0x1f; in startStreamPcm16()
423 memset(streamBufferL + rlength, 0, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm16()
424 memset(streamBufferR + rlength, 0, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm16()
426 DCFlushRange(streamBufferL + rlength, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm16()
427 DCFlushRange(streamBufferR + rlength, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm16()
429 DVDRead(&strm.finfoL, streamBufferL, rlength, strm.offset); in startStreamPcm16()
430 DVDRead(&strm.finfoR, streamBufferR, rlength, strm.offset); in startStreamPcm16()
432 strm.rest -= rlength; in startStreamPcm16()
433 strm.offset += rlength; in startStreamPcm16()
438 strm.end_addr = (u32)OSCachedToPhysical(streamBufferL) + rlength; in startStreamPcm16()
504 s32 rlength; in startStreamPcm8() local
529 rlength = length & ~0x1f; in startStreamPcm8()
531 memset(streamBufferL + rlength, 0, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm8()
532 memset(streamBufferR + rlength, 0, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm8()
534 DCFlushRange(streamBufferL + rlength, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm8()
535 DCFlushRange(streamBufferR + rlength, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm8()
537 DVDRead(&strm.finfoL, streamBufferL, rlength, strm.offset); in startStreamPcm8()
538 DVDRead(&strm.finfoR, streamBufferR, rlength, strm.offset); in startStreamPcm8()
540 strm.rest -= rlength; in startStreamPcm8()
541 strm.offset += rlength; in startStreamPcm8()
546 strm.end_addr = (u32)OSCachedToPhysical(streamBufferL) + rlength; in startStreamPcm8()
612 s32 rlength; in startStreamAdpcm() local
640 rlength = length & ~0x1f; in startStreamAdpcm()
642 memset(streamBufferL + rlength, 0, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamAdpcm()
643 memset(streamBufferR + rlength, 0, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamAdpcm()
645 DCFlushRange(streamBufferL + rlength, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamAdpcm()
646 DCFlushRange(streamBufferR + rlength, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamAdpcm()
648 DVDRead(&strm.finfoL, streamBufferL, rlength, strm.offset); in startStreamAdpcm()
649 DVDRead(&strm.finfoR, streamBufferR, rlength, strm.offset); in startStreamAdpcm()
651 strm.rest -= rlength; in startStreamAdpcm()
652 strm.offset += rlength; in startStreamAdpcm()
657 strm.end_addr = (u32)OSCachedToPhysical(streamBufferL) + rlength; in startStreamAdpcm()