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()
256 s32 rlength; in getDataL() local
264 rlength = length & ~0x1f; in getDataL()
269 DVDReadAsync(&strm.finfoL, buffer, rlength, strm.offset, getDataR); in getDataL()
271 if (!((strm.rest - rlength) & ~0x1f)) in getDataL()
274 if (rlength) in getDataL()
276 strm.end_addr = (u32)OSCachedToPhysical(buffer) + rlength; in getDataL()
395 s32 rlength; in startStreamPcm16() local
420 rlength = length & ~0x1f; in startStreamPcm16()
422 memset(streamBufferL + rlength, 0, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm16()
423 memset(streamBufferR + rlength, 0, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm16()
425 DCFlushRange(streamBufferL + rlength, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm16()
426 DCFlushRange(streamBufferR + rlength, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm16()
428 DVDRead(&strm.finfoL, streamBufferL, rlength, strm.offset); in startStreamPcm16()
429 DVDRead(&strm.finfoR, streamBufferR, rlength, strm.offset); in startStreamPcm16()
431 strm.rest -= rlength; in startStreamPcm16()
432 strm.offset += rlength; in startStreamPcm16()
437 strm.end_addr = (u32)OSCachedToPhysical(streamBufferL) + rlength; in startStreamPcm16()
503 s32 rlength; in startStreamPcm8() local
528 rlength = length & ~0x1f; in startStreamPcm8()
530 memset(streamBufferL + rlength, 0, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm8()
531 memset(streamBufferR + rlength, 0, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm8()
533 DCFlushRange(streamBufferL + rlength, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm8()
534 DCFlushRange(streamBufferR + rlength, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamPcm8()
536 DVDRead(&strm.finfoL, streamBufferL, rlength, strm.offset); in startStreamPcm8()
537 DVDRead(&strm.finfoR, streamBufferR, rlength, strm.offset); in startStreamPcm8()
539 strm.rest -= rlength; in startStreamPcm8()
540 strm.offset += rlength; in startStreamPcm8()
545 strm.end_addr = (u32)OSCachedToPhysical(streamBufferL) + rlength; in startStreamPcm8()
611 s32 rlength; in startStreamAdpcm() local
639 rlength = length & ~0x1f; in startStreamAdpcm()
641 memset(streamBufferL + rlength, 0, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamAdpcm()
642 memset(streamBufferR + rlength, 0, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamAdpcm()
644 DCFlushRange(streamBufferL + rlength, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamAdpcm()
645 DCFlushRange(streamBufferR + rlength, (u32)(STREAMBUFFER_BYTES - rlength)); in startStreamAdpcm()
647 DVDRead(&strm.finfoL, streamBufferL, rlength, strm.offset); in startStreamAdpcm()
648 DVDRead(&strm.finfoR, streamBufferR, rlength, strm.offset); in startStreamAdpcm()
650 strm.rest -= rlength; in startStreamAdpcm()
651 strm.offset += rlength; in startStreamAdpcm()
656 strm.end_addr = (u32)OSCachedToPhysical(streamBufferL) + rlength; in startStreamAdpcm()