Show / Hide Table of Contents

Class TurboJpegDecoder

A IJpegDecoder implementation using the TurboJPEG library. Provides methods for decoding JPEG images.

Inheritance
System.Object
TurboJpegDecoder
Implements
IJpegDecoder
IDisposable
Namespace: MarcusW.VncClient.Protocol.Implementation.Services.Communication
Assembly: MarcusW.VncClient.dll
Syntax
public sealed class TurboJpegDecoder : object, IJpegDecoder, IDisposable

Properties

| Improve this Doc View Source

IsAvailable

Gets whether this decoder is available on the current system.

Declaration
public static bool IsAvailable { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

DecodeJpegTo32Bit(Span<Byte>, Span<Byte>, Int32, Int32, PixelFormat, out PixelFormat, CancellationToken)

Declaration
public void DecodeJpegTo32Bit(Span<byte> jpegBuffer, Span<byte> pixelsBuffer, int expectedWidth, int expectedHeight, PixelFormat preferredPixelFormat, out PixelFormat usedPixelFormat, CancellationToken cancellationToken = null)
Parameters
Type Name Description
Span<System.Byte> jpegBuffer
Span<System.Byte> pixelsBuffer
System.Int32 expectedWidth
System.Int32 expectedHeight
PixelFormat preferredPixelFormat
PixelFormat usedPixelFormat
CancellationToken cancellationToken
| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()
| Improve this Doc View Source

Finalize()

Declaration
protected void Finalize()

Implements

IJpegDecoder
IDisposable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX