mirror of
https://github.com/wang-bin/QtAV.git
synced 2026-10-25 01:13:30 +08:00
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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user