Yaroslav-Korchevsky said:Where this file is available for download?
This file isn't available publicly, sorry. What are you actually trying to do? We might be able to suggest an alternative.
I access GPU memory directly to accelerate data reading
void EGLImageWrapper::CopyToCpuUnpack(cv::Mat1b &dst)
static EGLint attribs_rgba =
void *mali_elg_img = mali_egl_image_lock_ptr(gl_img_);
unsigned char *p_buf = (unsigned char*)mali_egl_image_map_buffer(mali_elg_img, attribs_rgba);
unsigned char *p_tmp = tmp_buf_.ptr();
for (int i = 0; i < roi_height_adj_; i+= 16, p_tmp += roi_block_size_, p_buf += block_size_)
memcpy(p_tmp, p_buf, roi_block_size_);
// Repack data here