WICJpegYCrCbSubsamplingOption 列舉 (wincodec.h)

指定 JPEG YCrCB 子取樣選項。

Syntax

typedef enum WICJpegYCrCbSubsamplingOption {
  WICJpegYCrCbSubsamplingDefault = 0,
  WICJpegYCrCbSubsampling420 = 0x1,
  WICJpegYCrCbSubsampling422 = 0x2,
  WICJpegYCrCbSubsampling444 = 0x3,
  WICJpegYCrCbSubsampling440 = 0x4,
  WICJPEGYCRCBSUBSAMPLING_FORCE_DWORD = 0x7fffffff
} ;

常數

 
WICJpegYCrCbSubsamplingDefault
值: 0
默認子取樣選項。
WICJpegYCrCbSubsampling420
值: 0x1
使用水平和垂直遞減的子取樣選項。
WICJpegYCrCbSubsampling422
值: 0x2
使用水平遞減的子取樣選項。
WICJpegYCrCbSubsampling444
值: 0x3
不使用減數的子取樣選項。
WICJpegYCrCbSubsampling440
值: 0x4
僅使用 2 倍垂直向下取樣的子取樣選項。 此選項僅適用於 Windows 8.1 和更新版本。
WICJPEGYCRCBSUBSAMPLING_FORCE_DWORD
值: 0x7fffffff

備註

原生 JPEG 編碼器使用 WICJpegYCrCbSubsampling420

規格需求

需求
最低支援的用戶端 適用於 Windows Vista 的 Windows 7、Windows Vista SP2 和平臺更新 [僅限桌面應用程式]
最低支援的伺服器 Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008 [僅限傳統型應用程式]
標頭 wincodec.h