Show / Hide Table of Contents

Namespace FFmpeg.Images

Classes

Image

Represents an image stored in consecutive memory with utilities for handling image data and memory buffers.

PixelFormatExtensions

Provides extension methods for working with PixelFormat values.

SwsContext

Represents a context for scaling and converting image frames between different sizes and pixel formats. This class provides an interface for configuring the source and destination image properties and performing the conversion using the FFmpeg scaling library.

Structs

ImageInfo

Represents image metadata including width, height, pixel format, and memory alignment.

SwsAlgorithm

Represents a scaling algorithm for use with FFmpeg's libswscale, encapsulating the algorithm flags and optional scaling parameters. These parameters can tune the behavior of the scaling algorithm for finer control over image scaling quality.

Enums

AlphaMode

Specifies how an alpha channel is represented in relation to the color components.

ChromaLocation

Specifies the location of chroma samples in the video.

ColorPrimaries

Represents the chromaticity coordinates of the source primaries, matching values defined by ISO/IEC 23091-2_2019 and ITU-T H.273.

ColorRange

Represents the visual content value range.

ColorSpace

Represents various color space types. These values are based on ISO/IEC 23091-2_2019 subclause 8.3.

ColorTransferCharacteristic

Represents the color transfer characteristics, which define how color values are encoded and transformed. These values match the ones defined by ISO/IEC 23091-2_2019 subclause 8.2.

FFLoss

Represents different types of data loss in video compression as flags. These values are defined in the FFmpeg library (ffmpeg.FF_LOSS_*).

FieldOrder

Specifies the field order of interlaced video. These values match the ones defined by various video standards.

PixelFormat

Represents the various pixel formats available.

SwsFlags

Represents the various flags and scaling algorithms used in FFmpeg's libswscale for sws_getContext.

In this article
Back to top Generated by DocFX