Class ColorFormatHelper
Inheritance
System.Object
ColorFormatHelper
Assembly: Emby.Media.Model.dll
public class ColorFormatHelper
Methods
Declaration
public static int? GetBitDepth(ColorFormats colorFormat)
Parameters
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public static int? GetBitDepth(PixelFormat pixelFormat)
Parameters
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public static int? GetBitDepthFromPixelFormat(string pixelFormat)
Parameters
Type |
Name |
Description |
System.String |
pixelFormat |
|
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public static int? GetBitsPerPixel(ColorFormats colorFormat)
Parameters
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public static int? GetBitsPerPixel(PixelFormat pixelFormat)
Parameters
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public static int? GetBitsPerPixelFromPixelFormat(string pixelFormat)
Parameters
Type |
Name |
Description |
System.String |
pixelFormat |
|
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
Declaration
public static bool GetIsHdr(ColorTransfers? colorTransfer)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Declaration
public static bool GetIsHdr(string colorTransfer)
Parameters
Type |
Name |
Description |
System.String |
colorTransfer |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods