Lines Matching refs:stretch
340 int stretch; in SDL_SW_CopyYUVToRGB() local
348 stretch = 0; in SDL_SW_CopyYUVToRGB()
355 stretch = 1; in SDL_SW_CopyYUVToRGB()
357 stretch = 1; in SDL_SW_CopyYUVToRGB()
359 if (stretch) { in SDL_SW_CopyYUVToRGB()
379 if (!swdata->stretch) { in SDL_SW_CopyYUVToRGB()
383 swdata->stretch = in SDL_SW_CopyYUVToRGB()
386 if (!swdata->stretch) { in SDL_SW_CopyYUVToRGB()
390 pixels = swdata->stretch->pixels; in SDL_SW_CopyYUVToRGB()
391 pitch = swdata->stretch->pitch; in SDL_SW_CopyYUVToRGB()
398 if (stretch) { in SDL_SW_CopyYUVToRGB()
400 SDL_SoftStretch(swdata->stretch, &rect, swdata->display, NULL); in SDL_SW_CopyYUVToRGB()
410 SDL_FreeSurface(swdata->stretch); in SDL_SW_DestroyYUVTexture()