Searched refs:img_hnd (Results 1 – 1 of 1) sorted by relevance
35 IMG_native_handle_t* img_hnd = (IMG_native_handle_t*)handle; in DRMFramebuffer() local36 int ret = drmPrimeFDToHandle(drm_fd, img_hnd->fd[0], &gem_handle); in DRMFramebuffer()42 this->width = img_hnd->iWidth; in DRMFramebuffer()43 this->height = img_hnd->iHeight; in DRMFramebuffer()44 this->format = convert_hal_to_drm_format(img_hnd->iFormat, true); in DRMFramebuffer()46 this->pitches[0] = ALIGN(img_hnd->iWidth, HW_ALIGN) * get_format_bpp(img_hnd->iFormat) >> 3; in DRMFramebuffer()55 this->pitches[0] = ALIGN(img_hnd->iWidth, HW_ALIGN); in DRMFramebuffer()58 this->offsets[1] = this->pitches[0] * img_hnd->iHeight; in DRMFramebuffer()