QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
GstD3D11PictureCopy.h
Go to the documentation of this file.
1#pragma once
2
3#include <QtCore/qglobal.h>
4
5#if defined(QGC_HAS_GST_D3D11_GPU_PATH)
6
7#include <d3d11.h>
8#include <private/qhwvideobuffer_p.h>
9
10#include <QtCore/QRect>
11
14namespace GstD3D11PictureCopy {
15
17bool onDevice(ID3D11Texture2D* texture, ID3D11Device* device);
18
20bool hasEvenSizes(DXGI_FORMAT format);
21
26ID3D11Texture2D* copy(ID3D11Device* device, ID3D11DeviceContext* context, ID3D11Texture2D* source, UINT slice,
27 QRect picture, const QVideoFrameTexturesUPtr& old, int plane);
28
29} // namespace GstD3D11PictureCopy
30
31#endif // QGC_HAS_GST_D3D11_GPU_PATH