/AliOS-Things-master/components/SDL2/src/gfx/Test/ |
A D | TestGfxPrimitives.c | 24 #define WIDTH 640 macro 172 for (x=WIDTH/2; x<WIDTH; x++) { in ClearScreen() 219 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestPixel() 268 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkPixel() 299 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestHline() 348 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkHline() 380 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestVline() 429 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in BenchmarkVline() 461 SetClip(screen,WIDTH/2,60,WIDTH,60+(HEIGHT-80)/2); in TestRectangle() 1112 cx = WIDTH/2 + WIDTH/4; in TestThickLineAccuracy() [all …]
|
A D | TestFramerate.c | 26 #define WIDTH 640 macro 106 stringRGBA (screen, WIDTH/2-4*strlen(message),HEIGHT-12,message,255,255,255,255); in Draw() 109 stringRGBA (screen, WIDTH/2-4*strlen(message2),HEIGHT-24,message2,255,255,255,255); in Draw() 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 D | TestABGR.c | 24 #define WIDTH 400 macro 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() 198 stringRGBA (screen, WIDTH/2-4*strlen(message),HEIGHT-12,message,255,255,255,255); in main()
|
A D | TestFonts.c | 24 #define WIDTH 1024 macro 216 x=WIDTH - 14; in Draw() 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()
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/dbs/ |
A D | tiff-bi.c | 32 #define WIDTH 512 macro 33 #define HEIGHT WIDTH 51 TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, WIDTH); in main() 61 scan_line = (unsigned char *) malloc(WIDTH / 8); in main() 63 for (i = 0; i < (WIDTH / 8) / 2; i++) in main() 66 for (i = (WIDTH / 8) / 2; i < (WIDTH / 8); i++) in main() 72 for (i = 0; i < (WIDTH / 8) / 2; i++) in main() 75 for (i = (WIDTH / 8) / 2; i < (WIDTH / 8); i++) in main()
|
A D | tiff-grayscale.c | 35 #define WIDTH 512 macro 36 #define HEIGHT WIDTH 93 TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, WIDTH); in main() 105 scan_line = (unsigned char *) malloc(WIDTH / (8 / bits_per_pixel)); in main() 108 for (j = 0, k = 0; j < WIDTH;) { in main()
|
A D | tiff-palette.c | 33 #define WIDTH 512 macro 34 #define HEIGHT WIDTH 226 TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, WIDTH); in main() 237 scan_line = (unsigned char *) malloc(WIDTH / (8 / bits_per_pixel)); in main() 240 for (j = 0, k = 0; j < WIDTH;) { in main()
|
A D | tiff-rgb.c | 36 #define WIDTH 525 macro 89 TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, WIDTH); in main() 105 scan_line = (unsigned char *) malloc(WIDTH * 3); in main()
|
/AliOS-Things-master/components/ugraphics/example/ |
A D | ugraphics_example.c | 17 #define WIDTH SCREEN_W macro 29 ret = ugraphics_init(WIDTH, HEIGHT); in ugraphics_comp_example() 43 ret = ugraphics_fill_rect(0, 0, WIDTH, HEIGHT); in ugraphics_comp_example() 57 ret = ugraphics_draw_rect(0, 0, WIDTH / 2, HEIGHT / 2); in ugraphics_comp_example() 72 ret = ugraphics_draw_line(0, HEIGHT / 4, WIDTH, HEIGHT / 4); in ugraphics_comp_example() 114 ugraphics_draw_string("Welcome to AliOS Things!", WIDTH / 8, HEIGHT / 2); in ugraphics_comp_example() 128 ret = ugraphics_fill_rect(0, 0, WIDTH, HEIGHT); in ugraphics_comp_example() 142 ret = ugraphics_fill_rect(0, 0, WIDTH / 2, HEIGHT / 2); in ugraphics_comp_example() 170 ret = ugraphics_fill_rect(0, 0, WIDTH, HEIGHT); in ugraphics_comp_example()
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/tags/ |
A D | maketif.c | 13 #define WIDTH 20 macro 42 TIFFSetField(tif,TIFFTAG_IMAGEWIDTH,WIDTH); in SetUpTIFFDirectory() 60 char buffer[WIDTH]; in WriteImage()
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | ecp_curves.c | 892 #define WIDTH 8 / sizeof( mbedtls_mpi_uint ) macro 893 #define A( i ) N->p + i * WIDTH 895 #define NEXT p += WIDTH; carry64( p, &c ) 896 #define LAST p += WIDTH; *p = c; while( ++p < end ) *p = 0 908 MBEDTLS_MPI_CHK( mbedtls_mpi_grow( N, 6 * WIDTH ) ); in ecp_mod_p192() 921 #undef WIDTH
|
/AliOS-Things-master/components/SDL2/test/ |
A D | testgesture.c | 29 #define WIDTH 640 macro 277 state->window_w = WIDTH; in main()
|
/AliOS-Things-master/components/py_engine/framework/ |
A D | st7789py.py | 550 and x0+font.WIDTH <= self.width 651 and x0+font.WIDTH <= self.width 797 x0 += font.WIDTH 812 if font.WIDTH == 8: 829 bitmap_size = bitmap.HEIGHT * bitmap.WIDTH 846 to_col = x + bitmap.WIDTH - 1
|
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dec/ |
A D | buffer_dec.c | 38 #define MIN_BUFFER_SIZE(WIDTH, HEIGHT, STRIDE) \ argument 39 ((uint64_t)(STRIDE) * ((HEIGHT) - 1) + (WIDTH))
|