[Libav-user] Keep hardware decoded frame in GPU memory
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?