mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[host/client] added experimental RGBA16 float support (EGL only)
This commit is contained in:
@@ -440,6 +440,11 @@ static int frameThread(void * unused)
|
||||
lgrFormat.bpp = 32;
|
||||
break;
|
||||
|
||||
case FRAME_TYPE_RGBA16F:
|
||||
dataSize = lgrFormat.height * lgrFormat.pitch;
|
||||
lgrFormat.bpp = 64;
|
||||
break;
|
||||
|
||||
case FRAME_TYPE_YUV420:
|
||||
dataSize = lgrFormat.height * lgrFormat.width;
|
||||
dataSize += (dataSize / 4) * 2;
|
||||
|
Reference in New Issue
Block a user