Fast frame transfers from GPU memory to VPU.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Fast frame transfers from GPU memory to VPU.

Jump to solution
2,965 Views
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.

Labels (3)
1 Solution
1,165 Views
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.

View solution in original post

3 Replies
1,166 Views
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.

1,165 Views
JeremyStashluk
Contributor III

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

0 Kudos