FreeRDP
Loading...
Searching...
No Matches
gdi/gfx.h
1
20#ifndef FREERDP_GDI_GFX_H
21#define FREERDP_GDI_GFX_H
22
23#include <freerdp/api.h>
24#include <freerdp/gdi/gdi.h>
25
26#ifdef __cplusplus
27extern "C"
28{
29#endif
30
32 {
33 UINT16 surfaceId;
34 rdpCodecs* codecs;
35 H264_CONTEXT* h264;
36 UINT32 width;
37 UINT32 height;
38 UINT32 mappedWidth;
39 UINT32 mappedHeight;
40 BYTE* data;
41 UINT32 scanline;
42 UINT32 format;
43 BOOL outputMapped;
44 UINT32 outputOriginX;
45 UINT32 outputOriginY;
46 REGION16 invalidRegion;
47 UINT64 windowId;
48 UINT32 outputTargetWidth;
49 UINT32 outputTargetHeight;
50 BOOL windowMapped;
51 BOOL handleInUpdateSurfaceArea;
52#if defined(WITH_GFX_AV1)
53 FREERDP_AV1_CONTEXT* av1;
54#else
55 void* reservedAV1;
56#endif
57 };
58 typedef struct gdi_gfx_surface gdiGfxSurface;
59
61 {
62 UINT64 cacheKey;
63 UINT32 width;
64 UINT32 height;
65 BYTE* data;
66 UINT32 scanline;
67 UINT32 format;
68 };
69 typedef struct gdi_gfx_cache_entry gdiGfxCacheEntry;
70
71 FREERDP_API BOOL gdi_graphics_pipeline_init(rdpGdi* gdi, RdpgfxClientContext* gfx);
72
73 FREERDP_API BOOL gdi_graphics_pipeline_init_ex(rdpGdi* gdi, RdpgfxClientContext* gfx,
74 pcRdpgfxMapWindowForSurface map,
75 pcRdpgfxUnmapWindowForSurface unmap,
76 pcRdpgfxUpdateSurfaceArea update);
77 FREERDP_API void gdi_graphics_pipeline_uninit(rdpGdi* gdi, RdpgfxClientContext* gfx);
78
79#ifdef __cplusplus
80}
81#endif
82
83#endif /* FREERDP_GDI_GFX_H */
Definition gdi/gfx.h:61