VideoFormat Constructor (VideoType, Double, Resolution, PixelFormat) |
Namespace: Ozeki.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public VideoFormat(
VideoType codecType,
double maxFrameRate,
Resolution resolution,
PixelFormat pixelFormat = PixelFormat.Format24bppRgb
)
Public Sub New (
codecType As VideoType,
maxFrameRate As Double,
resolution As Resolution,
Optional pixelFormat As PixelFormat = PixelFormat.Format24bppRgb
)
public:
VideoFormat(
VideoType codecType,
double maxFrameRate,
Resolution^ resolution,
PixelFormat pixelFormat = PixelFormat::Format24bppRgb
)
new :
codecType : VideoType *
maxFrameRate : float *
resolution : Resolution *
?pixelFormat : PixelFormat
(* Defaults:
let _pixelFormat = defaultArg pixelFormat PixelFormat.Format24bppRgb
*)
-> VideoFormat
Parameters
- codecType
- Type: Ozeki.MediaVideoType
The type of the video. - maxFrameRate
- Type: SystemDouble
The maximum framerate for the video. - resolution
- Type: Ozeki.MediaResolution
The resolution of the video. - pixelFormat (Optional)
- Type: System.Drawing.ImagingPixelFormat
the pixel format of the image.
This is used only if the CodecType is Uncompressed because it describes bitmap image formats.
See Also