Home
last modified time | relevance | path

Searched refs:video_bpp (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/SDL2/src/gfx/Test/
A DTestFramerate.c138 Uint8 video_bpp; in main() local
152 video_bpp = 32; in main()
157 video_bpp = atoi(argv[argc]); in main()
180 if ( (screen=SDL_SetVideoMode(WIDTH, HEIGHT, video_bpp, videoflags)) == NULL ) { in main()
181 …fprintf(stderr, "Couldn't set %ix%i %i bpp video mode: %s\n",WIDTH,HEIGHT,video_bpp,SDL_GetError()… in main()
A DTestABGR.c49 Uint8 video_bpp; in main() local
74 video_bpp = 32; in main()
79 video_bpp = atoi(argv[argc]); in main()
99 if ( (screen=SDL_SetVideoMode(WIDTH, HEIGHT, video_bpp, videoflags)) == NULL ) { in main()
100 …fprintf(stderr, "Couldn't set %ix%i %i bpp video mode: %s\n",WIDTH,HEIGHT,video_bpp,SDL_GetError()… in main()
A DTestFonts.c305 Uint8 video_bpp; in main() local
319 video_bpp = 32; in main()
324 video_bpp = atoi(argv[argc]); in main()
347 if ( (screen=SDL_SetVideoMode(WIDTH, HEIGHT, video_bpp, videoflags)) == NULL ) { in main()
348 …fprintf(stderr, "Couldn't set %ix%i %i bpp video mode: %s\n",WIDTH,HEIGHT,video_bpp,SDL_GetError()… in main()
A DTestGfxPrimitives.c2807 Uint8 video_bpp; in main() local
2827 video_bpp = info->vfmt->BitsPerPixel; in main()
2829 video_bpp = 16; in main()
2835 video_bpp = atoi(argv[argc]); in main()
2855 if ( (screen=SDL_SetVideoMode(WIDTH,HEIGHT,video_bpp,videoflags)) == NULL ) { in main()
2856 …fprintf(stderr, "Couldn't set %ix%i %i bpp video mode: %s\n",WIDTH,HEIGHT,video_bpp,SDL_GetError()… in main()

Completed in 8 milliseconds