| /OK3568_Linux_fs/external/rknpu2/examples/rknn_benchmark/src/ |
| H A D | rknn_benchmark.cpp | 90 int req_width = 0; in load_npy() local 98 req_width = input_attr->dims[2]; in load_npy() 103 req_width = input_attr->dims[3]; in load_npy() 147 (width != req_width || height != req_height || channel != req_channel)) { in load_npy() 148 …hape match failed!, (%d, %d, %d) != (%d, %d, %d)\n", height, width, channel, req_height, req_width, in load_npy() 181 int req_width = 0; in load_image() local 187 req_width = input_attr->dims[2]; in load_image() 192 req_width = input_attr->dims[3]; in load_image() 210 if (width != req_width || height != req_height) { in load_image() 211 … unsigned char* image_resized = (unsigned char*)STBI_MALLOC(req_width * req_height * req_channel); in load_image() [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_internal_mem_reuse_demo/src/ |
| H A D | rknn_internal_mem_reuse_demo.cc | 158 int req_width = 0; in load_image() local 164 req_width = input_attr->dims[2]; in load_image() 169 req_width = input_attr->dims[3]; in load_image() 187 if (width != req_width || height != req_height) { in load_image() 188 … unsigned char* image_resized = (unsigned char*)STBI_MALLOC(req_width * req_height * req_channel); in load_image() 194 …if (stbir_resize_uint8(image_data, width, height, 0, image_resized, req_width, req_height, 0, chan… in load_image() 210 int req_width = 0; in load_npy() local 218 req_width = input_attr->dims[2]; in load_npy() 223 req_width = input_attr->dims[3]; in load_npy() 265 (width != req_width || height != req_height || channel != req_channel)) { in load_npy() [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_common_test/src/ |
| H A D | main.cc | 166 int req_width = 0; in main() local 172 req_width = input_attrs[0].dims[2]; in main() 177 req_width = input_attrs[0].dims[3]; in main() 200 if (orig_img.cols != req_width || orig_img.rows != req_height) { in main() 201 printf("resize %d %d to %d %d\n", orig_img.cols, orig_img.rows, req_width, req_height); in main() 202 cv::resize(orig_img_rgb, img, cv::Size(req_width, req_height), 0, 0, cv::INTER_LINEAR); in main()
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_api_demo/src/ |
| H A D | rknn_create_mem_demo.cpp | 80 int req_width = 0; in load_image() local 86 req_width = input_attr->dims[2]; in load_image() 91 req_width = input_attr->dims[3]; in load_image() 109 if (width != req_width || height != req_height) { in load_image() 110 … unsigned char* image_resized = (unsigned char*)STBI_MALLOC(req_width * req_height * req_channel); in load_image() 116 …if (stbir_resize_uint8(image_data, width, height, 0, image_resized, req_width, req_height, 0, chan… in load_image()
|
| H A D | rknn_create_mem_with_rga_demo.cpp | 86 int req_width = 0; in load_image() local 92 req_width = input_attr->dims[2]; in load_image() 97 req_width = input_attr->dims[3]; in load_image() 115 if (width != req_width || height != req_height) { in load_image() 116 … unsigned char* image_resized = (unsigned char*)STBI_MALLOC(req_width * req_height * req_channel); in load_image() 122 …if (stbir_resize_uint8(image_data, width, height, 0, image_resized, req_width, req_height, 0, chan… in load_image()
|
| H A D | rknn_with_mmz_demo.cpp | 81 int req_width = 0; in load_image() local 87 req_width = input_attr->dims[2]; in load_image() 92 req_width = input_attr->dims[3]; in load_image() 110 if (width != req_width || height != req_height) { in load_image() 111 … unsigned char* image_resized = (unsigned char*)STBI_MALLOC(req_width * req_height * req_channel); in load_image() 117 …if (stbir_resize_uint8(image_data, width, height, 0, image_resized, req_width, req_height, 0, chan… in load_image()
|
| H A D | rknn_set_internal_mem_from_fd_demo.cpp | 81 int req_width = 0; in load_image() local 87 req_width = input_attr->dims[2]; in load_image() 92 req_width = input_attr->dims[3]; in load_image() 110 if (width != req_width || height != req_height) { in load_image() 111 … unsigned char* image_resized = (unsigned char*)STBI_MALLOC(req_width * req_height * req_channel); in load_image() 117 …if (stbir_resize_uint8(image_data, width, height, 0, image_resized, req_width, req_height, 0, chan… in load_image()
|
| /OK3568_Linux_fs/external/rknpu2/examples/librknn_api_android_demo/ |
| H A D | rknn_create_mem_demo.cpp | 80 int req_width = 0; in load_image() local 86 req_width = input_attr->dims[2]; in load_image() 91 req_width = input_attr->dims[3]; in load_image() 109 if (width != req_width || height != req_height) { in load_image() 110 … unsigned char* image_resized = (unsigned char*)STBI_MALLOC(req_width * req_height * req_channel); in load_image() 116 …if (stbir_resize_uint8(image_data, width, height, 0, image_resized, req_width, req_height, 0, chan… in load_image()
|
| /OK3568_Linux_fs/external/rknpu2/examples/RV1106_RV1103/rknn_mobilenet_demo/src/ |
| H A D | main_nhwc.cc | 161 int req_width = 0; in load_image() local 168 req_width = input_attr->dims[2]; in load_image() 173 req_width = input_attr->dims[3]; in load_image() 192 if (width != req_width || height != req_height) in load_image() 194 … unsigned char *image_resized = (unsigned char *)STBI_MALLOC(req_width * req_height * req_channel); in load_image() 201 …if (stbir_resize_uint8(image_data, width, height, 0, image_resized, req_width, req_height, 0, chan… in load_image()
|
| H A D | main.cc | 161 int req_width = 0; in load_image() local 168 req_width = input_attr->dims[2]; in load_image() 173 req_width = input_attr->dims[3]; in load_image() 192 if (width != req_width || height != req_height) in load_image() 194 … unsigned char *image_resized = (unsigned char *)STBI_MALLOC(req_width * req_height * req_channel); in load_image() 201 …if (stbir_resize_uint8(image_data, width, height, 0, image_resized, req_width, req_height, 0, chan… in load_image()
|
| /OK3568_Linux_fs/external/rknpu2/examples/RV1106_RV1103/rknn_yolov5_demo/src/ |
| H A D | main.cc | 99 int req_width = 0; in load_image() local 106 req_width = input_attr->dims[2]; in load_image() 111 req_width = input_attr->dims[3]; in load_image() 128 if (*img_width != req_width || *img_height != req_height) in load_image() 130 … unsigned char *image_resized = (unsigned char *)STBI_MALLOC(req_width * req_height * req_channel); in load_image() 137 …if (stbir_resize_uint8(image_data, *img_width, *img_height, 0, image_resized, req_width, req_heigh… in load_image()
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_dynamic_shape_input_demo/src/ |
| H A D | rknn_dynshape_inference.cc | 115 int req_width = input_attr->dims[2]; in load_npy() local 147 (width != req_width || height != req_height || channel != req_channel)) in load_npy() 150 height, width, channel, req_height, req_width, req_channel); in load_npy()
|
| H A D | rknn_dynshape_inference_zero_copy.cc | 115 int req_width = input_attr->dims[2]; in load_npy() local 147 (width != req_width || height != req_height || channel != req_channel)) in load_npy() 150 height, width, channel, req_height, req_width, req_channel); in load_npy()
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/cpia2/ |
| H A D | cpia2_core.c | 1122 int req_width, int req_height) in configure_sensor() argument 1131 retval = config_sensor_410(cam, req_width, req_height); in configure_sensor() 1134 retval = config_sensor_500(cam, req_width, req_height); in configure_sensor() 1149 int req_width, int req_height) in config_sensor_410() argument 1155 int width = req_width; in config_sensor_410() 1335 int req_width, int req_height) in config_sensor_500() argument 1341 int width = req_width; in config_sensor_500()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dml/ |
| H A D | display_rq_dlg_helpers.c | 120 dml_print("DML_RQ_DLG_CALC: req_width = %0d\n", rq_misc_param.req_width); in print__data_rq_misc_params_st()
|
| H A D | display_mode_structs.h | 386 unsigned int req_width; member
|