Home
last modified time | relevance | path

Searched refs:image_resized (Results 1 – 10 of 10) sorted by relevance

/OK3568_Linux_fs/external/rknpu2/examples/rknn_api_demo/src/
H A Drknn_create_mem_demo.cpp110 … 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 Drknn_create_mem_with_rga_demo.cpp116 … 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 Drknn_with_mmz_demo.cpp111 … 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 Drknn_set_internal_mem_from_fd_demo.cpp111 … 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 Drknn_create_mem_demo.cpp110 … 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 Dmain_nhwc.cc194 … 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 Dmain.cc194 … 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 Dmain.cc130 … 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 Drknn_benchmark.cpp211 … 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 Drknn_internal_mem_reuse_demo.cc188 … 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()