Search Results for

    Show / Hide Table of Contents

    Interface IYccImageFrame

    An image frame within an IImageContainer. The frame exposes 3 IPixelSource values, representing the Y', Cb, and Cr planes.

    Inherited Members
    IImageFrame.PixelSource
    Namespace: PhotoSauce.MagicScaler
    Assembly: PhotoSauce.MagicScaler.dll
    Syntax
    public interface IYccImageFrame : IImageFrame
    Remarks

    Implementation note: The PixelSource property should return the Y' (luma) plane.

    Properties

    ChromaPosition

    The position of subsampled chroma components relative to their associated luma components.

    Declaration
    ChromaPosition ChromaPosition { get; }
    Property Value
    Type Description
    ChromaPosition

    IsFullRange

    True if the encoding uses the full 0-255 range for pixel values, false if it uses video range (16-235 luma and 16-240 chroma).

    Declaration
    bool IsFullRange { get; }
    Property Value
    Type Description
    System.Boolean

    PixelSourceCb

    The IPixelSource to retrieve pixels from the Cb (blue-yellow) chroma plane.

    Declaration
    IPixelSource PixelSourceCb { get; }
    Property Value
    Type Description
    IPixelSource

    PixelSourceCr

    The IPixelSource to retrieve pixels from the Cr (red-green) chroma plane.

    Declaration
    IPixelSource PixelSourceCr { get; }
    Property Value
    Type Description
    IPixelSource

    RgbYccMatrix

    A 3x3 matrix containing the coefficients for converting from R'G'B' to the Y'CbCr format of this image frame.

    Declaration
    Matrix4x4 RgbYccMatrix { get; }
    Property Value
    Type Description
    System.Numerics.Matrix4x4
    Remarks

    The fourth row and column will be ignored. See YccMatrix for standard values.

    In This Article
    Back to top Copyright © 2022 Clinton Ingram
    Generated with DocFX