Lines Matching refs:dst

152             Uint8 *src, *dst;  in SDL_SW_UpdateYUVTexture()  local
158 dst = swdata->pixels + rect->y * swdata->w + rect->x; in SDL_SW_UpdateYUVTexture()
161 SDL_memcpy(dst, src, length); in SDL_SW_UpdateYUVTexture()
163 dst += swdata->w; in SDL_SW_UpdateYUVTexture()
168 dst = swdata->pixels + swdata->h * swdata->w; in SDL_SW_UpdateYUVTexture()
169 dst += rect->y/2 * ((swdata->w + 1) / 2) + rect->x/2; in SDL_SW_UpdateYUVTexture()
172 SDL_memcpy(dst, src, length); in SDL_SW_UpdateYUVTexture()
174 dst += (swdata->w + 1)/2; in SDL_SW_UpdateYUVTexture()
179 dst = swdata->pixels + swdata->h * swdata->w + in SDL_SW_UpdateYUVTexture()
181 dst += rect->y/2 * ((swdata->w + 1)/2) + rect->x/2; in SDL_SW_UpdateYUVTexture()
184 SDL_memcpy(dst, src, length); in SDL_SW_UpdateYUVTexture()
186 dst += (swdata->w + 1)/2; in SDL_SW_UpdateYUVTexture()
194 Uint8 *src, *dst; in SDL_SW_UpdateYUVTexture() local
199 dst = in SDL_SW_UpdateYUVTexture()
204 SDL_memcpy(dst, src, length); in SDL_SW_UpdateYUVTexture()
206 dst += swdata->pitches[0]; in SDL_SW_UpdateYUVTexture()
218 Uint8 *src, *dst; in SDL_SW_UpdateYUVTexture() local
224 dst = swdata->pixels + rect->y * swdata->w + rect->x; in SDL_SW_UpdateYUVTexture()
227 SDL_memcpy(dst, src, length); in SDL_SW_UpdateYUVTexture()
229 dst += swdata->w; in SDL_SW_UpdateYUVTexture()
234 dst = swdata->pixels + swdata->h * swdata->w; in SDL_SW_UpdateYUVTexture()
235 dst += 2 * ((rect->y + 1)/2) * ((swdata->w + 1) / 2) + 2 * (rect->x/2); in SDL_SW_UpdateYUVTexture()
238 SDL_memcpy(dst, src, length); in SDL_SW_UpdateYUVTexture()
240 dst += 2 * ((swdata->w + 1)/2); in SDL_SW_UpdateYUVTexture()
255 Uint8 *dst; in SDL_SW_UpdateYUVTexturePlanar() local
261 dst = swdata->pixels + rect->y * swdata->w + rect->x; in SDL_SW_UpdateYUVTexturePlanar()
264 SDL_memcpy(dst, src, length); in SDL_SW_UpdateYUVTexturePlanar()
266 dst += swdata->w; in SDL_SW_UpdateYUVTexturePlanar()
272 dst = swdata->pixels + swdata->h * swdata->w; in SDL_SW_UpdateYUVTexturePlanar()
274 dst = swdata->pixels + swdata->h * swdata->w + in SDL_SW_UpdateYUVTexturePlanar()
277 dst += rect->y/2 * ((swdata->w + 1)/2) + rect->x/2; in SDL_SW_UpdateYUVTexturePlanar()
280 SDL_memcpy(dst, src, length); in SDL_SW_UpdateYUVTexturePlanar()
282 dst += (swdata->w + 1)/2; in SDL_SW_UpdateYUVTexturePlanar()
288 dst = swdata->pixels + swdata->h * swdata->w; in SDL_SW_UpdateYUVTexturePlanar()
290 dst = swdata->pixels + swdata->h * swdata->w + in SDL_SW_UpdateYUVTexturePlanar()
293 dst += rect->y/2 * ((swdata->w + 1)/2) + rect->x/2; in SDL_SW_UpdateYUVTexturePlanar()
296 SDL_memcpy(dst, src, length); in SDL_SW_UpdateYUVTexturePlanar()
298 dst += (swdata->w + 1)/2; in SDL_SW_UpdateYUVTexturePlanar()