Lines Matching defs:pitch
831 int pitch;
839 if (SDL_LockTexture(*texture, NULL, &pixels, &pitch) < 0)
841 memset(pixels, 0, pitch * new_height);
909 int pitch[4];
910 if (!SDL_LockTexture(*tex, NULL, (void **)pixels, pitch)) {
912 0, frame->height, pixels, pitch);
975 int pitch[4];
1000 if (!SDL_LockTexture(is->sub_texture, (SDL_Rect *)sub_rect, (void **)pixels, pitch)) {
1002 0, sub_rect->h, pixels, pitch);
1156 int pitch;
1171 if (!SDL_LockTexture(s->vis_texture, &rect, (void **)&pixels, &pitch)) {
1172 pitch >>= 2;
1173 pixels += pitch * s->height;
1181 pixels -= pitch;
1652 int pitch, j;
1654 if (!SDL_LockTexture(is->sub_texture, (SDL_Rect *)sub_rect, (void **)&pixels, &pitch)) {
1655 for (j = 0; j < sub_rect->h; j++, pixels += pitch)