diff options
author | wm4 <wm4@nowhere> | 2013-09-27 16:48:45 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-27 17:59:44 +0200 |
commit | 4d2f354da651a3c1fd9776ed5829f57961a46c10 (patch) | |
tree | aade31a57f48ec4b387ba19077154fca5012f62f /mpvcore/parser-cfg.c | |
parent | ede652774ee83d2d311763358a1d3b820d9f5e17 (diff) | |
download | mpv-4d2f354da651a3c1fd9776ed5829f57961a46c10.tar.bz2 mpv-4d2f354da651a3c1fd9776ed5829f57961a46c10.tar.xz |
vaapi: potentially make reading surfaces back to system RAM faster
Don't allocate a VAImage and a mp_image every time. VAImage are cached
in the surfaces themselves, and for mp_image an explicit pool is
created. The retry loop runs only once for each surface now.
This also makes use of vaDeriveImage() if possible.
Diffstat (limited to 'mpvcore/parser-cfg.c')
0 files changed, 0 insertions, 0 deletions