[Libav-user] Keep hardware decoded frame in GPU memory

Arthur Hugeat arthur.hugeat at jet1oeil.com
Fri Jul 10 15:28:08 EEST 2020


Hello,

I work on an application which needs to decode H264 frames. These
frames are scaled and displayed.
I have adapted the example code 'hw_decode.c' but the call at
'av_hwframe_transfer_data' is too expensive in execution time.
Is it possible to keep in GPU memory the decoded frames to scale it
and display it directly? Or I always have to retrieve the data from
the GPU to process it on the CPU?

Thanks,
Arthur HUGEAT


More information about the Libav-user mailing list