[host] remove the remainder of the YUV420 support

This commit is contained in:
Geoffrey McRae
2021-01-18 13:55:44 +11:00
parent f5587b6b6b
commit 14cc57071c
4 changed files with 2 additions and 6 deletions

View File

@@ -39,7 +39,6 @@ typedef enum CaptureFormat
CAPTURE_FMT_RGBA ,
CAPTURE_FMT_RGBA10 ,
CAPTURE_FMT_RGBA16F,
CAPTURE_FMT_YUV420 ,
// pointer formats
CAPTURE_FMT_COLOR ,

View File

@@ -180,7 +180,6 @@ static int frameThread(void * opaque)
case CAPTURE_FMT_RGBA : fi->type = FRAME_TYPE_RGBA ; break;
case CAPTURE_FMT_RGBA10 : fi->type = FRAME_TYPE_RGBA10 ; break;
case CAPTURE_FMT_RGBA16F: fi->type = FRAME_TYPE_RGBA16F; break;
case CAPTURE_FMT_YUV420 : fi->type = FRAME_TYPE_YUV420 ; break;
default:
DEBUG_ERROR("Unsupported frame format %d, skipping frame", frame.format);
continue;