[host/client] added experimental RGBA16 float support (EGL only)

This commit is contained in:
Geoffrey McRae
2020-10-11 19:22:31 +11:00
parent 4f40ce4b40
commit 9c6bd888fd
8 changed files with 47 additions and 13 deletions

View File

@@ -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;