wzjmail

Results 3 comments of wzjmail

I also encountered this problem. I attempted to serialize this model and load again. but rdd[tree] cannot be deserialized correctly. it looks like that metricTree have some problem. if you...

换个rga_api。 img_rgb=cv::Mat(dst_height, dst_width, CV_8UC3, out_buffer.vir_addr).clone();通过这种方式拷贝,不再使用drm memory(uncache), 改用pysical cache memory。避免以cpu访问该段内存因为un-cached导致不必要的损失 **demo:** ``` src_buffer = wrapbuffer_virtualaddr((char*)mpp_buffer_get_ptr(buff), hor_stride, ver_stride, src_format); mid_buffer = wrapbuffer_virtualaddr((char*)malloc(width * height * get_bpp_from_format(src_format)), width,height, rc_format); im_rect src_rect; src_rect.x =...

> > 换个rga_api。 img_rgb=cv::Mat(dst_height, dst_width, CV_8UC3, out_buffer.vir_addr).clone();通过这种方式拷贝,不再使用drm memory(uncache), 改用pysical cache memory。避免以cpu访问该段内存因为un-cached导致不必要的损失 > > **demo:** > > ``` > > src_buffer = wrapbuffer_virtualaddr((char*)mpp_buffer_get_ptr(buff), hor_stride, ver_stride, src_format); > > mid_buffer = wrapbuffer_virtualaddr((char*)malloc(width...