| /OK3568_Linux_fs/external/linux-rga/samples/resize_demo/src/ |
| H A D | rga_resize_rect_demo.cpp | 47 int dst_width, dst_height, dst_format; in main() local 63 dst_width = 1920; in main() 68 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 88 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 105 dst_rect[0].width = dst_width / 2; in main() 108 dst_rect[1].x = dst_width / 2; in main() 110 dst_rect[1].width = dst_width / 2; in main() 115 dst_rect[2].width = dst_width / 2; in main() 118 dst_rect[3].x = dst_width / 2; in main() 120 dst_rect[3].width = dst_width / 2; in main() [all …]
|
| H A D | rga_resize_demo.cpp | 48 int dst_width, dst_height, dst_format; in main() local 62 dst_width = 1920; in main() 67 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 87 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 114 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/mosaic_demo/src/ |
| H A D | rga_mosaic_demo.cpp | 43 int dst_width, dst_height, dst_format; in main() local 50 dst_width = 1280; in main() 54 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 59 if (0 != read_image_from_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0)) { in main() 61 draw_rgba(dst_buf, dst_width, dst_height); in main() 71 dst = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 105 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/copy_demo/src/ |
| H A D | rga_copy_tile8x8_demo.cpp | 47 int dst_width, dst_height, dst_format; in main() local 61 dst_width = 1280; in main() 66 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 90 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 91 tile8_img = wrapbuffer_handle(tile8_handle, dst_width, dst_height, dst_format); in main() 114 write_image_to_file(tile8_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main() 137 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 1); in main()
|
| H A D | rga_copy_fbc_demo.cpp | 47 int dst_width, dst_height, dst_format; in main() local 61 dst_width = 1280; in main() 66 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 91 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 92 fbc_img = wrapbuffer_handle(fbc_handle, dst_width, dst_height, dst_format); in main() 115 write_image_to_fbc_file(fbc_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main() 138 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 1); in main()
|
| H A D | rga_copy_demo.cpp | 47 int dst_width, dst_height, dst_format; in main() local 61 dst_width = 1280; in main() 66 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 86 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 112 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/allocator_demo/src/ |
| H A D | rga_allocator_dma_cache_demo.cpp | 45 int dst_width, dst_height, dst_format; in main() local 59 dst_width = 1280; in main() 64 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 105 dst = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 124 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main() 131 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 1); in main()
|
| H A D | rga_allocator_dma32_demo.cpp | 44 int dst_width, dst_height, dst_format; in main() local 52 dst_width = 1280; in main() 56 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 82 dst = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 106 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| H A D | rga_allocator_graphicbuffer_demo.cpp | 57 int dst_width, dst_height, dst_format; in main() local 71 dst_width = 1280; in main() 76 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 87 sp<GraphicBuffer> dst_gb(new GraphicBuffer(dst_width, dst_height, dst_format, 0, dst_gb_flags)); in main() 139 dst = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 164 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| H A D | rga_allocator_malloc_demo.cpp | 44 int dst_width, dst_height, dst_format; in main() local 57 dst_width = 1280; in main() 62 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 91 dst = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 110 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/fill_demo/src/ |
| H A D | rga_fill_rectangle_demo.cpp | 43 int dst_width, dst_height, dst_format; in main() local 51 dst_width = 1280; in main() 55 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 82 dst = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 114 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| H A D | rga_fill_rectangle_array_demo.cpp | 43 int dst_width, dst_height, dst_format; in main() local 51 dst_width = 1280; in main() 55 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 82 dst = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 117 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| H A D | rga_fill_demo.cpp | 43 int dst_width, dst_height, dst_format; in main() local 51 dst_width = 1280; in main() 55 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 82 dst = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 114 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| H A D | rga_fill_rectangle_task_demo.cpp | 43 int dst_width, dst_height, dst_format; in main() local 52 dst_width = 1280; in main() 56 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 83 dst = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 147 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/cvtcolor_demo/src/ |
| H A D | rga_cvtcolor_csc_demo.cpp | 48 int dst_width, dst_height, dst_format; in main() local 62 dst_width = 1280; in main() 67 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 87 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 103 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| H A D | rga_cvtcolor_demo.cpp | 48 int dst_width, dst_height, dst_format; in main() local 62 dst_width = 1280; in main() 67 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 87 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 103 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| H A D | rga_cvtcolor_gray256_demo.cpp | 48 int dst_width, dst_height, dst_format; in main() local 62 dst_width = 1280; in main() 67 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 87 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 110 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/transform_demo/src/ |
| H A D | rga_transform_rotate_flip_demo.cpp | 48 int dst_width, dst_height, dst_format; in main() local 62 dst_width = 720; in main() 67 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 87 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 114 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| H A D | rga_transform_flip_demo.cpp | 48 int dst_width, dst_height, dst_format; in main() local 62 dst_width = 1280; in main() 67 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 87 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 113 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| H A D | rga_transform_rotate_demo.cpp | 48 int dst_width, dst_height, dst_format; in main() local 62 dst_width = 720; in main() 67 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 87 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 114 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/rop_demo/src/ |
| H A D | rga_rop_demo.cpp | 48 int dst_width, dst_height, dst_format; in main() local 62 dst_width = 1280; in main() 67 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 87 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 113 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/config_demo/src/ |
| H A D | rga_config_thread_core_demo.cpp | 47 int dst_width, dst_height, dst_format; in main() local 61 dst_width = 1280; in main() 66 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 86 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 106 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| H A D | rga_config_single_core_demo.cpp | 47 int dst_width, dst_height, dst_format; in main() local 63 dst_width = 1280; in main() 68 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 88 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 106 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| /OK3568_Linux_fs/external/linux-rga/samples/crop_demo/src/ |
| H A D | rga_crop_demo.cpp | 48 int dst_width, dst_height, dst_format; in main() local 64 dst_width = 200; in main() 69 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 89 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 121 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|
| H A D | rga_crop_rect_demo.cpp | 48 int dst_width, dst_height, dst_format; in main() local 65 dst_width = 1280; in main() 70 dst_buf_size = dst_width * dst_height * get_bpp_from_format(dst_format); in main() 90 dst_img = wrapbuffer_handle(dst_handle, dst_width, dst_height, dst_format); in main() 130 write_image_to_file(dst_buf, LOCAL_FILE_PATH, dst_width, dst_height, dst_format, 0); in main()
|