mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-14 07:47:19 +00:00
[client/idd] network: process only damaged PyroWave blocks
Limit GPU encoding and client decoding to damage-derived regions. Preserve per-level sparse transform state and cover mirrored inverse edges. Keep cumulative canonical packets so dropped frames remain recoverable.
This commit is contained in:
@@ -35,6 +35,7 @@ typedef struct NetworkVideoDecoder NetworkVideoDecoder;
|
||||
typedef enum NetworkVideoDecodeResult
|
||||
{
|
||||
NETWORK_VIDEO_DECODE_OK,
|
||||
NETWORK_VIDEO_DECODE_NO_FRAME,
|
||||
NETWORK_VIDEO_DECODE_UNSUPPORTED,
|
||||
NETWORK_VIDEO_DECODE_CORRUPT,
|
||||
NETWORK_VIDEO_DECODE_ERROR,
|
||||
@@ -43,10 +44,12 @@ NetworkVideoDecodeResult;
|
||||
|
||||
typedef struct NetworkVideoDecodedFrame
|
||||
{
|
||||
LG_ExternalFrame * externalFrame;
|
||||
LG_TransportFrameFormat format;
|
||||
LG_TransportFrameTiming timing;
|
||||
uint64_t decodeTimeNs;
|
||||
LG_ExternalFrame * externalFrame;
|
||||
LG_TransportFrameFormat format;
|
||||
LG_TransportFrameTiming timing;
|
||||
KVMFRFrameDamageRect damageRects[LG_TRANSPORT_MAX_DAMAGE_RECTS];
|
||||
uint32_t damageRectsCount;
|
||||
uint64_t decodeTimeNs;
|
||||
}
|
||||
NetworkVideoDecodedFrame;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user