Lines Matching refs:len_cvt
50 int i = cvt->len_cvt / 8; in SDL_ConvertStereoToMono_SSE3()
72 cvt->len_cvt /= 2; in SDL_ConvertStereoToMono_SSE3()
90 for (i = cvt->len_cvt / 8; i; --i, src += 2) { in SDL_ConvertStereoToMono()
94 cvt->len_cvt /= 2; in SDL_ConvertStereoToMono()
113 for (i = cvt->len_cvt / (sizeof (float) * 6); i; --i, src += 6, dst += 2) { in SDL_Convert51ToStereo()
119 cvt->len_cvt /= 3; in SDL_Convert51ToStereo()
137 for (i = cvt->len_cvt / (sizeof (float) * 4); i; --i, src += 4, dst += 2) { in SDL_ConvertQuadToStereo()
142 cvt->len_cvt /= 2; in SDL_ConvertQuadToStereo()
160 for (i = cvt->len_cvt / (sizeof (float) * 8); i; --i, src += 8, dst += 6) { in SDL_Convert71To51()
171 cvt->len_cvt /= 8; in SDL_Convert71To51()
172 cvt->len_cvt *= 6; in SDL_Convert71To51()
192 for (i = cvt->len_cvt / (sizeof (float) * 6); i; --i, src += 6, dst += 4) { in SDL_Convert51ToQuad()
200 cvt->len_cvt /= 6; in SDL_Convert51ToQuad()
201 cvt->len_cvt *= 4; in SDL_Convert51ToQuad()
212 const float *src = (const float *) (cvt->buf + cvt->len_cvt); in SDL_ConvertMonoToStereo()
213 float *dst = (float *) (cvt->buf + cvt->len_cvt * 2); in SDL_ConvertMonoToStereo()
219 for (i = cvt->len_cvt / sizeof (float); i; --i) { in SDL_ConvertMonoToStereo()
225 cvt->len_cvt *= 2; in SDL_ConvertMonoToStereo()
238 const float *src = (const float *) (cvt->buf + cvt->len_cvt); in SDL_ConvertStereoTo51()
239 float *dst = (float *) (cvt->buf + cvt->len_cvt * 3); in SDL_ConvertStereoTo51()
244 for (i = cvt->len_cvt / (sizeof(float) * 2); i; --i) { in SDL_ConvertStereoTo51()
259 cvt->len_cvt *= 3; in SDL_ConvertStereoTo51()
272 const float *src = (const float *) (cvt->buf + cvt->len_cvt); in SDL_ConvertQuadTo51()
273 float *dst = (float *) (cvt->buf + cvt->len_cvt * 3 / 2); in SDL_ConvertQuadTo51()
277 SDL_assert(cvt->len_cvt % (sizeof(float) * 4) == 0); in SDL_ConvertQuadTo51()
279 for (i = cvt->len_cvt / (sizeof(float) * 4); i; --i) { in SDL_ConvertQuadTo51()
296 cvt->len_cvt = cvt->len_cvt * 3 / 2; in SDL_ConvertQuadTo51()
307 const float *src = (const float *) (cvt->buf + cvt->len_cvt); in SDL_ConvertStereoToQuad()
308 float *dst = (float *) (cvt->buf + cvt->len_cvt * 2); in SDL_ConvertStereoToQuad()
315 for (i = cvt->len_cvt / (sizeof(float) * 2); i; --i) { in SDL_ConvertStereoToQuad()
326 cvt->len_cvt *= 2; in SDL_ConvertStereoToQuad()
339 const float *src = (const float *) (cvt->buf + cvt->len_cvt); in SDL_Convert51To71()
340 float *dst = (float *) (cvt->buf + cvt->len_cvt * 4 / 3); in SDL_Convert51To71()
344 SDL_assert(cvt->len_cvt % (sizeof(float) * 6) == 0); in SDL_Convert51To71()
346 for (i = cvt->len_cvt / (sizeof(float) * 6); i; --i) { in SDL_Convert51To71()
370 cvt->len_cvt = cvt->len_cvt * 4 / 3; in SDL_Convert51To71()
551 cvt->len_cvt = cvt->len; in SDL_ConvertAudio()
574 for (i = cvt->len_cvt / sizeof (*ptr); i; --i, ++ptr) { \ in SDL_Convert_Byteswap()
715 const int srclen = cvt->len_cvt; in SDL_ResampleCVT()
739 …cvt->len_cvt = SDL_ResampleAudio(chans, inrate, outrate, padding, padding, src, srclen, dst, dstle… in SDL_ResampleCVT()
743 …SDL_memmove(cvt->buf, dst, cvt->len_cvt); /* !!! FIXME: remove this if we can get the resampler t… in SDL_ResampleCVT()
1444 buflen = stream->cvt_before_resampling.len_cvt; in SDL_AudioStreamPutInternal()
1484 buflen = stream->cvt_after_resampling.len_cvt; in SDL_AudioStreamPutInternal()