[common,codecs] use an enum to define codecs

This commit is contained in:
Armin Novak 2023-10-24 13:36:17 +02:00 committed by akallabeth
parent 6eb4ff6212
commit 1a5cea0023

View File

@ -33,16 +33,19 @@
#include <freerdp/codec/interleaved.h>
#include <freerdp/codec/progressive.h>
#define FREERDP_CODEC_INTERLEAVED 0x00000001
#define FREERDP_CODEC_PLANAR 0x00000002
#define FREERDP_CODEC_NSCODEC 0x00000004
#define FREERDP_CODEC_REMOTEFX 0x00000008
#define FREERDP_CODEC_CLEARCODEC 0x00000010
#define FREERDP_CODEC_ALPHACODEC 0x00000020
#define FREERDP_CODEC_PROGRESSIVE 0x00000040
#define FREERDP_CODEC_AVC420 0x00000080
#define FREERDP_CODEC_AVC444 0x00000100
#define FREERDP_CODEC_ALL 0xFFFFFFFF
typedef enum
{
FREERDP_CODEC_INTERLEAVED = 0x00000001,
FREERDP_CODEC_PLANAR = 0x00000002,
FREERDP_CODEC_NSCODEC = 0x00000004,
FREERDP_CODEC_REMOTEFX = 0x00000008,
FREERDP_CODEC_CLEARCODEC = 0x00000010,
FREERDP_CODEC_ALPHACODEC = 0x00000020,
FREERDP_CODEC_PROGRESSIVE = 0x00000040,
FREERDP_CODEC_AVC420 = 0x00000080,
FREERDP_CODEC_AVC444 = 0x00000100,
FREERDP_CODEC_ALL = 0xFFFFFFFF
} FreeRDP_CodecFlags;
#ifdef __cplusplus
extern "C"