libomtnet
OMT Library for .NET
Loading...
Searching...
No Matches
libomtnet.codecs.OMTVMX1Codec Class Reference

VMX Encoder/Decoder for OMT. More...

Inheritance diagram for libomtnet.codecs.OMTVMX1Codec:
libomtnet.OMTBase

Public Member Functions

 OMTVMX1Codec (int width, int height, int framesPerSecond, VMXProfile profile=VMXProfile.Default, VMXColorSpace colorSpace=VMXColorSpace.Undefined)
float CalculatePSNR (byte[] image1, byte[] image2, int stride, int bytesPerPixel, OMTSize sz)
void SetQuality (int quality)
int Encode (VMXImageType itype, IntPtr src, int srcStride, byte[] dst, bool interlaced)
bool DecodePreview (VMXImageType itype, byte[] src, int srcLen, ref byte[] dst, int dstStride)
bool Decode (VMXImageType itype, byte[] src, int srcLen, ref byte[] dst, int dstStride)
OMTSize GetPreviewSize (bool interlaced)
int GetEncodedPreviewLength ()
Public Member Functions inherited from libomtnet.OMTBase
void Dispose ()

Protected Member Functions

override void DisposeInternal ()
Protected Member Functions inherited from libomtnet.OMTBase
void SetExiting ()
virtual void Dispose (bool disposing)

Properties

int Width [get]
int Height [get]
int FramesPerSecond [get]
VMXProfile Profile [get]
VMXColorSpace ColorSpace [get]
Properties inherited from libomtnet.OMTBase
bool Exiting [get]

Detailed Description

VMX Encoder/Decoder for OMT.

Constructor & Destructor Documentation

◆ OMTVMX1Codec()

libomtnet.codecs.OMTVMX1Codec.OMTVMX1Codec ( int width,
int height,
int framesPerSecond,
VMXProfile profile = VMXProfile::Default,
VMXColorSpace colorSpace = VMXColorSpace::Undefined )

Member Function Documentation

◆ CalculatePSNR()

float libomtnet.codecs.OMTVMX1Codec.CalculatePSNR ( byte[] image1,
byte[] image2,
int stride,
int bytesPerPixel,
OMTSize sz )

◆ Decode()

bool libomtnet.codecs.OMTVMX1Codec.Decode ( VMXImageType itype,
byte[] src,
int srcLen,
ref byte[] dst,
int dstStride )

◆ DecodePreview()

bool libomtnet.codecs.OMTVMX1Codec.DecodePreview ( VMXImageType itype,
byte[] src,
int srcLen,
ref byte[] dst,
int dstStride )

◆ DisposeInternal()

override void libomtnet.codecs.OMTVMX1Codec.DisposeInternal ( )
protectedvirtual

Reimplemented from libomtnet.OMTBase.

◆ Encode()

int libomtnet.codecs.OMTVMX1Codec.Encode ( VMXImageType itype,
IntPtr src,
int srcStride,
byte[] dst,
bool interlaced )

◆ GetEncodedPreviewLength()

int libomtnet.codecs.OMTVMX1Codec.GetEncodedPreviewLength ( )

◆ GetPreviewSize()

OMTSize libomtnet.codecs.OMTVMX1Codec.GetPreviewSize ( bool interlaced)

◆ SetQuality()

void libomtnet.codecs.OMTVMX1Codec.SetQuality ( int quality)

Property Documentation

◆ ColorSpace

VMXColorSpace libomtnet.codecs.OMTVMX1Codec.ColorSpace
get

◆ FramesPerSecond

int libomtnet.codecs.OMTVMX1Codec.FramesPerSecond
get

◆ Height

int libomtnet.codecs.OMTVMX1Codec.Height
get

◆ Profile

VMXProfile libomtnet.codecs.OMTVMX1Codec.Profile
get

◆ Width

int libomtnet.codecs.OMTVMX1Codec.Width
get

The documentation for this class was generated from the following file: