Fast frame transfers from GPU memory to VPU.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Fast frame transfers from GPU memory to VPU.

跳至解决方案
3,979 次查看
JeremyStashluk
Contributor III

Is there a way to perform a transfer from the GPU framebuffer memory directly to the VPU for encoding?

I am using i.MX6 with the Vivante GPU.

glReadPixels takes ~28ms in my application at 960x720, which is almost my entire time budget.

标签 (3)
1 解答
2,179 次查看
andre_silva
NXP Employee
NXP Employee
Copying Prabhu´s answer for this question:

Re: Fast frame transfers from GPU memory to VPU.

Prabhu SundararajEmployee

always read pixels consumes lot of time. Configure virtual framebuffer, (check in the communty). Render to virtual framebuffer and use it in the VPU. There will be sample available as part of GPU sdk soon for download.

在原帖中查看解决方案

3 回复数
2,180 次查看
andre_silva
NXP Employee
NXP Employee
Copying Prabhu´s answer for this question:

Re: Fast frame transfers from GPU memory to VPU.

Prabhu SundararajEmployee

always read pixels consumes lot of time. Configure virtual framebuffer, (check in the communty). Render to virtual framebuffer and use it in the VPU. There will be sample available as part of GPU sdk soon for download.

2,179 次查看
JeremyStashluk
Contributor III

Any word on the SDK?  I wasn't able to locate anything helpful on the community.

0 项奖励
回复
2,179 次查看
davecbluechip
Contributor III
0 项奖励
回复