mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 06:47:19 +00:00
[host] remove the remainder of the YUV420 support
This commit is contained in:
parent
f5587b6b6b
commit
14cc57071c
@ -33,7 +33,6 @@ typedef enum FrameType
|
|||||||
FRAME_TYPE_RGBA , // RGBA interleaved: R,G,B,A 32bpp
|
FRAME_TYPE_RGBA , // RGBA interleaved: R,G,B,A 32bpp
|
||||||
FRAME_TYPE_RGBA10 , // RGBA interleaved: R,G,B,A 10,10,10,2 bpp
|
FRAME_TYPE_RGBA10 , // RGBA interleaved: R,G,B,A 10,10,10,2 bpp
|
||||||
FRAME_TYPE_RGBA16F , // RGBA interleaved: R,G,B,A 16,16,16,16 bpp float
|
FRAME_TYPE_RGBA16F , // RGBA interleaved: R,G,B,A 16,16,16,16 bpp float
|
||||||
FRAME_TYPE_YUV420 , // YUV420
|
|
||||||
FRAME_TYPE_MAX , // sentinel value
|
FRAME_TYPE_MAX , // sentinel value
|
||||||
}
|
}
|
||||||
FrameType;
|
FrameType;
|
||||||
@ -66,7 +65,7 @@ typedef enum CursorType
|
|||||||
CursorType;
|
CursorType;
|
||||||
|
|
||||||
#define KVMFR_MAGIC "KVMFR---"
|
#define KVMFR_MAGIC "KVMFR---"
|
||||||
#define KVMFR_VERSION 7
|
#define KVMFR_VERSION 8
|
||||||
|
|
||||||
typedef struct KVMFR
|
typedef struct KVMFR
|
||||||
{
|
{
|
||||||
|
@ -25,6 +25,5 @@ const char * FrameTypeStr[FRAME_TYPE_MAX] =
|
|||||||
"FRAME_TYPE_BGRA",
|
"FRAME_TYPE_BGRA",
|
||||||
"FRAME_TYPE_RGBA",
|
"FRAME_TYPE_RGBA",
|
||||||
"FRAME_TYPE_RGBA10",
|
"FRAME_TYPE_RGBA10",
|
||||||
"FRAME_TYPE_RGBA16F",
|
"FRAME_TYPE_RGBA16F"
|
||||||
"FRAME_TYPE_YUV420"
|
|
||||||
};
|
};
|
||||||
|
@ -39,7 +39,6 @@ typedef enum CaptureFormat
|
|||||||
CAPTURE_FMT_RGBA ,
|
CAPTURE_FMT_RGBA ,
|
||||||
CAPTURE_FMT_RGBA10 ,
|
CAPTURE_FMT_RGBA10 ,
|
||||||
CAPTURE_FMT_RGBA16F,
|
CAPTURE_FMT_RGBA16F,
|
||||||
CAPTURE_FMT_YUV420 ,
|
|
||||||
|
|
||||||
// pointer formats
|
// pointer formats
|
||||||
CAPTURE_FMT_COLOR ,
|
CAPTURE_FMT_COLOR ,
|
||||||
|
@ -180,7 +180,6 @@ static int frameThread(void * opaque)
|
|||||||
case CAPTURE_FMT_RGBA : fi->type = FRAME_TYPE_RGBA ; break;
|
case CAPTURE_FMT_RGBA : fi->type = FRAME_TYPE_RGBA ; break;
|
||||||
case CAPTURE_FMT_RGBA10 : fi->type = FRAME_TYPE_RGBA10 ; break;
|
case CAPTURE_FMT_RGBA10 : fi->type = FRAME_TYPE_RGBA10 ; break;
|
||||||
case CAPTURE_FMT_RGBA16F: fi->type = FRAME_TYPE_RGBA16F; break;
|
case CAPTURE_FMT_RGBA16F: fi->type = FRAME_TYPE_RGBA16F; break;
|
||||||
case CAPTURE_FMT_YUV420 : fi->type = FRAME_TYPE_YUV420 ; break;
|
|
||||||
default:
|
default:
|
||||||
DEBUG_ERROR("Unsupported frame format %d, skipping frame", frame.format);
|
DEBUG_ERROR("Unsupported frame format %d, skipping frame", frame.format);
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user