| /OK3568_Linux_fs/external/rknpu2/examples/rknn_api_demo/src/ |
| H A D | rknn_create_mem_demo.cpp | 110 … unsigned char* image_resized = (unsigned char*)STBI_MALLOC(req_width * req_height * req_channel); in load_image() local 111 if (!image_resized) { in load_image() 116 …if (stbir_resize_uint8(image_data, width, height, 0, image_resized, req_width, req_height, 0, chan… in load_image() 122 image_data = image_resized; in load_image()
|
| H A D | rknn_create_mem_with_rga_demo.cpp | 116 … unsigned char* image_resized = (unsigned char*)STBI_MALLOC(req_width * req_height * req_channel); in load_image() local 117 if (!image_resized) { in load_image() 122 …if (stbir_resize_uint8(image_data, width, height, 0, image_resized, req_width, req_height, 0, chan… in load_image() 128 image_data = image_resized; in load_image()
|
| H A D | rknn_with_mmz_demo.cpp | 111 … unsigned char* image_resized = (unsigned char*)STBI_MALLOC(req_width * req_height * req_channel); in load_image() local 112 if (!image_resized) { in load_image() 117 …if (stbir_resize_uint8(image_data, width, height, 0, image_resized, req_width, req_height, 0, chan… in load_image() 123 image_data = image_resized; in load_image()
|
| H A D | rknn_set_internal_mem_from_fd_demo.cpp | 111 … unsigned char* image_resized = (unsigned char*)STBI_MALLOC(req_width * req_height * req_channel); in load_image() local 112 if (!image_resized) { in load_image() 117 …if (stbir_resize_uint8(image_data, width, height, 0, image_resized, req_width, req_height, 0, chan… in load_image() 123 image_data = image_resized; in load_image()
|
| /OK3568_Linux_fs/external/rknpu2/examples/librknn_api_android_demo/ |
| H A D | rknn_create_mem_demo.cpp | 110 … unsigned char* image_resized = (unsigned char*)STBI_MALLOC(req_width * req_height * req_channel); in load_image() local 111 if (!image_resized) { in load_image() 116 …if (stbir_resize_uint8(image_data, width, height, 0, image_resized, req_width, req_height, 0, chan… in load_image() 122 image_data = image_resized; in load_image()
|
| /OK3568_Linux_fs/external/rknpu2/examples/RV1106_RV1103/rknn_mobilenet_demo/src/ |
| H A D | main_nhwc.cc | 194 … unsigned char *image_resized = (unsigned char *)STBI_MALLOC(req_width * req_height * req_channel); in load_image() local 195 if (!image_resized) in load_image() 201 …if (stbir_resize_uint8(image_data, width, height, 0, image_resized, req_width, req_height, 0, chan… in load_image() 208 image_data = image_resized; in load_image()
|
| H A D | main.cc | 194 … unsigned char *image_resized = (unsigned char *)STBI_MALLOC(req_width * req_height * req_channel); in load_image() local 195 if (!image_resized) in load_image() 201 …if (stbir_resize_uint8(image_data, width, height, 0, image_resized, req_width, req_height, 0, chan… in load_image() 208 image_data = image_resized; in load_image()
|
| /OK3568_Linux_fs/external/rknpu2/examples/RV1106_RV1103/rknn_yolov5_demo/src/ |
| H A D | main.cc | 130 … unsigned char *image_resized = (unsigned char *)STBI_MALLOC(req_width * req_height * req_channel); in load_image() local 131 if (!image_resized) in load_image() 137 …if (stbir_resize_uint8(image_data, *img_width, *img_height, 0, image_resized, req_width, req_heigh… in load_image() 144 image_data = image_resized; in load_image()
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_benchmark/src/ |
| H A D | rknn_benchmark.cpp | 211 … unsigned char* image_resized = (unsigned char*)STBI_MALLOC(req_width * req_height * req_channel); in load_image() local 212 if (!image_resized) { in load_image() 217 …if (stbir_resize_uint8(image_data, width, height, 0, image_resized, req_width, req_height, 0, chan… in load_image() 223 image_data = image_resized; in load_image()
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_internal_mem_reuse_demo/src/ |
| H A D | rknn_internal_mem_reuse_demo.cc | 188 … unsigned char* image_resized = (unsigned char*)STBI_MALLOC(req_width * req_height * req_channel); in load_image() local 189 if (!image_resized) { in load_image() 194 …if (stbir_resize_uint8(image_data, width, height, 0, image_resized, req_width, req_height, 0, chan… in load_image() 200 image_data = image_resized; in load_image()
|