| /OK3568_Linux_fs/external/rknpu2/examples/rknn_benchmark/src/ |
| H A D | rknn_benchmark.cpp | 89 int req_height = 0; in load_npy() local 97 req_height = input_attr->dims[1]; in load_npy() 102 req_height = input_attr->dims[2]; 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() 180 int req_height = 0; in load_image() local 186 req_height = input_attr->dims[1]; in load_image() 191 req_height = input_attr->dims[2]; 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 | 157 int req_height = 0; in load_image() local 163 req_height = input_attr->dims[1]; in load_image() 168 req_height = input_attr->dims[2]; 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() 209 int req_height = 0; in load_npy() local 217 req_height = input_attr->dims[1]; in load_npy() 222 req_height = input_attr->dims[2]; 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 | 165 int req_height = 0; in main() local 171 req_height = input_attrs[0].dims[1]; in main() 176 req_height = input_attrs[0].dims[2]; 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 | 79 int req_height = 0; in load_image() local 85 req_height = input_attr->dims[1]; in load_image() 90 req_height = input_attr->dims[2]; 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 | 85 int req_height = 0; in load_image() local 91 req_height = input_attr->dims[1]; in load_image() 96 req_height = input_attr->dims[2]; 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 | 80 int req_height = 0; in load_image() local 86 req_height = input_attr->dims[1]; in load_image() 91 req_height = input_attr->dims[2]; 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 | 80 int req_height = 0; in load_image() local 86 req_height = input_attr->dims[1]; in load_image() 91 req_height = input_attr->dims[2]; 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 | 79 int req_height = 0; in load_image() local 85 req_height = input_attr->dims[1]; in load_image() 90 req_height = input_attr->dims[2]; 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 | 160 int req_height = 0; in load_image() local 167 req_height = input_attr->dims[1]; in load_image() 172 req_height = input_attr->dims[2]; 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 | 160 int req_height = 0; in load_image() local 167 req_height = input_attr->dims[1]; in load_image() 172 req_height = input_attr->dims[2]; 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 | 98 int req_height = 0; in load_image() local 105 req_height = input_attr->dims[1]; in load_image() 110 req_height = input_attr->dims[2]; 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 …int8(image_data, *img_width, *img_height, 0, image_resized, req_width, req_height, 0, channel) != … in load_image()
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_dynamic_shape_input_demo/src/ |
| H A D | rknn_dynshape_inference.cc | 114 int req_height = input_attr->dims[1]; 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 | 114 int req_height = input_attr->dims[1]; 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 1156 int height = req_height; in config_sensor_410() 1335 int req_width, int req_height) in config_sensor_500() argument 1342 int height = req_height; in config_sensor_500()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dml/ |
| H A D | display_rq_dlg_helpers.c | 121 dml_print("DML_RQ_DLG_CALC: req_height = %0d\n", rq_misc_param.req_height); in print__data_rq_misc_params_st()
|
| H A D | display_mode_structs.h | 385 unsigned int req_height; member
|