vda: simd copy back from gpu to map to host memory

gpu copy with cache may crash, new function does not
This commit is contained in:
wang-bin
2015-06-27 02:42:19 +08:00
parent 3f8be7b7ba
commit bd257ec4a3
3 changed files with 4 additions and 7 deletions
-1
View File
@@ -66,7 +66,6 @@ VideoFrame VideoFrame::fromGPU(const VideoFormat& fmt, int width, int height, in
}
VideoFrame frame;
if (optimized) {
qDebug("simd");
int yuv_size = 0;
for (int i = 0; i < nb_planes; ++i) {
yuv_size += pitch[i]*h[i];