libweed  2.0.0
Macros
weed-palettes.h File Reference

Go to the source code of this file.

Macros

#define WEED_PALETTES_VERSION   200
 
#define WEED_PALETTE_NONE   0
 
#define WEED_PALETTE_END   WEED_PALETTE_NONE
 
#define WEED_PALETTE_RGB24   1
 
#define WEED_PALETTE_RGB888   WEED_PALETTE_RGB24
 
#define WEED_PALETTE_BGR24   2
 
#define WEED_PALETTE_BGR888   WEED_PALETTE_BGR24
 
#define WEED_PALETTE_RGBA32   3
 
#define WEED_PALETTE_RGBA8888   WEED_PALETTE_RGBA32
 
#define WEED_PALETTE_BGRA32   4
 
#define WEED_PALETTE_BGRA8888   WEED_PALETTE_BGRA32
 
#define WEED_PALETTE_ARGB32   5
 
#define WEED_PALETTE_ARGB8888   WEED_PALETTE_ARGB32
 
#define WEED_PALETTE_RGBFLOAT   64
 
#define WEED_PALETTE_RGBAFLOAT   65
 
#define WEED_PALETTE_YUV420P   512
 
#define WEED_PALETTE_I420   WEED_PALETTE_YUV420P
 
#define WEED_PALETTE_IYUV   WEED_PALETTE_YUV420P
 
#define WEED_PALETTE_YVU420P   513
 
#define WEED_PALETTE_YV12   WEED_PALETTE_YVU420P
 
#define WEED_PALETTE_YUV422P   522
 
#define WEED_PALETTE_P422   WEED_PALETTE_YUV422P
 
#define WEED_PALETTE_YUV444P   544
 
#define WEED_PALETTE_YUVA4444P   545
 
#define WEED_PALETTE_UYVY   564
 
#define WEED_PALETTE_UYVY8888   WEED_PALETTE_UYVY
 
#define WEED_PALETTE_UYVY422   WEED_PALETTE_UYVY
 
#define WEED_PALETTE_Y422   WEED_PALETTE_UYVY
 
#define WEED_PALETTE_HDYC   WEED_PALETTE_UYVY
 
#define WEED_PALETTE_YUYV   565
 
#define WEED_PALETTE_YUYV8888   WEED_PALETTE_YUYV
 
#define WEED_PALETTE_YUYV422   WEED_PALETTE_YUYV
 
#define WEED_PALETTE_YUY2   WEED_PALETTE_YUYV
 
#define WEED_PALETTE_YUV888   588
 
#define WEED_PALETTE_IYU2   WEED_PALETTE_YUV888
 
#define WEED_PALETTE_YUVA8888   589
 
#define WEED_PALETTE_YUV411   595
 
#define WEED_PALETTE_IYU1   WEED_PALETTE_YUV411
 
#define WEED_PALETTE_A8   1024
 
#define WEED_PALETTE_A1   1025
 
#define WEED_PALETTE_AFLOAT   1064
 
#define WEED_PALETTE_FIRST_CUSTOM   8192
 
#define WEED_YUV_SAMPLING_DEFAULT   0
 
#define WEED_YUV_SAMPLING_JPEG   0
 jpeg/mpeg1 - samples centered horizontally: 0.5, 2.5 etc. More...
 
#define WEED_YUV_SAMPLING_MPEG   1
 mpeg2 - samples aligned horizontally: left 0,2,4 etc; More...
 
#define WEED_YUV_SAMPLING_DVPAL   2
 separated Cb and Cr More...
 
#define WEED_YUV_SAMPLING_DVNTSC   3
 not used - only for 411 planar More...
 
#define WEED_YUV_SAMPLING_FIRST_CUSTOM   512
 
#define WEED_YUV_CLAMPING_CLAMPED   0
 
#define WEED_YUV_CLAMPING_MPEG   WEED_YUV_CLAMPING_CLAMPED
 
#define WEED_YUV_CLAMPING_UNCLAMPED   1
 
#define WEED_YUV_CLAMPING_JPEG   WEED_YUV_CLAMPING_UNCLAMPED
 
#define WEED_YUV_CLAMPING_FIRST_CUSTOM   512
 
#define WEED_YUV_SUBSPACE_YUV   0
 
#define WEED_YUV_SUBSPACE_YCBCR   1
 
#define WEED_YUV_SUBSPACE_BT709   2
 
#define WEED_YUV_SUBSPACE_ITU709   WEED_YUV_SUBSPACE_BT709
 
#define WEED_YUV_SUBSPACE_FIRST_CUSTOM   512
 
#define WEED_GAMMA_UNKNOWN   0
 
#define WEED_GAMMA_LINEAR   -1
 
#define WEED_GAMMA_SRGB   1
 
#define WEED_GAMMA_BT709   2
 
#define WEED_GAMMA_FIRST_CUSTOM   512
 

Macro Definition Documentation

◆ WEED_GAMMA_BT709

#define WEED_GAMMA_BT709   2

◆ WEED_GAMMA_FIRST_CUSTOM

#define WEED_GAMMA_FIRST_CUSTOM   512

◆ WEED_GAMMA_LINEAR

#define WEED_GAMMA_LINEAR   -1

◆ WEED_GAMMA_SRGB

#define WEED_GAMMA_SRGB   1

◆ WEED_GAMMA_UNKNOWN

#define WEED_GAMMA_UNKNOWN   0

◆ WEED_PALETTE_A1

#define WEED_PALETTE_A1   1025

◆ WEED_PALETTE_A8

#define WEED_PALETTE_A8   1024

◆ WEED_PALETTE_AFLOAT

#define WEED_PALETTE_AFLOAT   1064

◆ WEED_PALETTE_ARGB32

#define WEED_PALETTE_ARGB32   5

◆ WEED_PALETTE_ARGB8888

#define WEED_PALETTE_ARGB8888   WEED_PALETTE_ARGB32

◆ WEED_PALETTE_BGR24

#define WEED_PALETTE_BGR24   2

◆ WEED_PALETTE_BGR888

#define WEED_PALETTE_BGR888   WEED_PALETTE_BGR24

◆ WEED_PALETTE_BGRA32

#define WEED_PALETTE_BGRA32   4

◆ WEED_PALETTE_BGRA8888

#define WEED_PALETTE_BGRA8888   WEED_PALETTE_BGRA32

◆ WEED_PALETTE_END

#define WEED_PALETTE_END   WEED_PALETTE_NONE

◆ WEED_PALETTE_FIRST_CUSTOM

#define WEED_PALETTE_FIRST_CUSTOM   8192

◆ WEED_PALETTE_HDYC

#define WEED_PALETTE_HDYC   WEED_PALETTE_UYVY

◆ WEED_PALETTE_I420

#define WEED_PALETTE_I420   WEED_PALETTE_YUV420P

◆ WEED_PALETTE_IYU1

#define WEED_PALETTE_IYU1   WEED_PALETTE_YUV411

◆ WEED_PALETTE_IYU2

#define WEED_PALETTE_IYU2   WEED_PALETTE_YUV888

◆ WEED_PALETTE_IYUV

#define WEED_PALETTE_IYUV   WEED_PALETTE_YUV420P

◆ WEED_PALETTE_NONE

#define WEED_PALETTE_NONE   0

◆ WEED_PALETTE_P422

#define WEED_PALETTE_P422   WEED_PALETTE_YUV422P

◆ WEED_PALETTE_RGB24

#define WEED_PALETTE_RGB24   1

◆ WEED_PALETTE_RGB888

#define WEED_PALETTE_RGB888   WEED_PALETTE_RGB24

◆ WEED_PALETTE_RGBA32

#define WEED_PALETTE_RGBA32   3

◆ WEED_PALETTE_RGBA8888

#define WEED_PALETTE_RGBA8888   WEED_PALETTE_RGBA32

◆ WEED_PALETTE_RGBAFLOAT

#define WEED_PALETTE_RGBAFLOAT   65

◆ WEED_PALETTE_RGBFLOAT

#define WEED_PALETTE_RGBFLOAT   64

◆ WEED_PALETTE_UYVY

#define WEED_PALETTE_UYVY   564

◆ WEED_PALETTE_UYVY422

#define WEED_PALETTE_UYVY422   WEED_PALETTE_UYVY

◆ WEED_PALETTE_UYVY8888

#define WEED_PALETTE_UYVY8888   WEED_PALETTE_UYVY

◆ WEED_PALETTE_Y422

#define WEED_PALETTE_Y422   WEED_PALETTE_UYVY

◆ WEED_PALETTE_YUV411

#define WEED_PALETTE_YUV411   595

◆ WEED_PALETTE_YUV420P

#define WEED_PALETTE_YUV420P   512

◆ WEED_PALETTE_YUV422P

#define WEED_PALETTE_YUV422P   522

◆ WEED_PALETTE_YUV444P

#define WEED_PALETTE_YUV444P   544

◆ WEED_PALETTE_YUV888

#define WEED_PALETTE_YUV888   588

◆ WEED_PALETTE_YUVA4444P

#define WEED_PALETTE_YUVA4444P   545

◆ WEED_PALETTE_YUVA8888

#define WEED_PALETTE_YUVA8888   589

◆ WEED_PALETTE_YUY2

#define WEED_PALETTE_YUY2   WEED_PALETTE_YUYV

◆ WEED_PALETTE_YUYV

#define WEED_PALETTE_YUYV   565

◆ WEED_PALETTE_YUYV422

#define WEED_PALETTE_YUYV422   WEED_PALETTE_YUYV

◆ WEED_PALETTE_YUYV8888

#define WEED_PALETTE_YUYV8888   WEED_PALETTE_YUYV

◆ WEED_PALETTE_YV12

#define WEED_PALETTE_YV12   WEED_PALETTE_YVU420P

◆ WEED_PALETTE_YVU420P

#define WEED_PALETTE_YVU420P   513

◆ WEED_PALETTES_VERSION

#define WEED_PALETTES_VERSION   200

◆ WEED_YUV_CLAMPING_CLAMPED

#define WEED_YUV_CLAMPING_CLAMPED   0

◆ WEED_YUV_CLAMPING_FIRST_CUSTOM

#define WEED_YUV_CLAMPING_FIRST_CUSTOM   512

◆ WEED_YUV_CLAMPING_JPEG

#define WEED_YUV_CLAMPING_JPEG   WEED_YUV_CLAMPING_UNCLAMPED

◆ WEED_YUV_CLAMPING_MPEG

#define WEED_YUV_CLAMPING_MPEG   WEED_YUV_CLAMPING_CLAMPED

◆ WEED_YUV_CLAMPING_UNCLAMPED

#define WEED_YUV_CLAMPING_UNCLAMPED   1

◆ WEED_YUV_SAMPLING_DEFAULT

#define WEED_YUV_SAMPLING_DEFAULT   0

◆ WEED_YUV_SAMPLING_DVNTSC

#define WEED_YUV_SAMPLING_DVNTSC   3

not used - only for 411 planar

◆ WEED_YUV_SAMPLING_DVPAL

#define WEED_YUV_SAMPLING_DVPAL   2

separated Cb and Cr

◆ WEED_YUV_SAMPLING_FIRST_CUSTOM

#define WEED_YUV_SAMPLING_FIRST_CUSTOM   512

◆ WEED_YUV_SAMPLING_JPEG

#define WEED_YUV_SAMPLING_JPEG   0

jpeg/mpeg1 - samples centered horizontally: 0.5, 2.5 etc.

◆ WEED_YUV_SAMPLING_MPEG

#define WEED_YUV_SAMPLING_MPEG   1

mpeg2 - samples aligned horizontally: left 0,2,4 etc;

◆ WEED_YUV_SUBSPACE_BT709

#define WEED_YUV_SUBSPACE_BT709   2

◆ WEED_YUV_SUBSPACE_FIRST_CUSTOM

#define WEED_YUV_SUBSPACE_FIRST_CUSTOM   512

◆ WEED_YUV_SUBSPACE_ITU709

#define WEED_YUV_SUBSPACE_ITU709   WEED_YUV_SUBSPACE_BT709

◆ WEED_YUV_SUBSPACE_YCBCR

#define WEED_YUV_SUBSPACE_YCBCR   1

◆ WEED_YUV_SUBSPACE_YUV

#define WEED_YUV_SUBSPACE_YUV   0