Skip to content

KDGpu::YCbCrConversionOptions

#include <ycbcr_conversion_options.h>

Public Attributes

Name
std::string_view label
Format format
SamplerYCbCrModelConversion model
SamplerYCbCrRange range
ComponentMapping components
ChromaLocation xChromaOffset
ChromaLocation yChromaOffset
FilterMode chromaFilter
bool forceExplicitReconstruction

Public Attributes Documentation

variable label

1
std::string_view label;

variable format

1
Format format;

variable model

1
SamplerYCbCrModelConversion model { SamplerYCbCrModelConversion::RgbIdentity };

variable range

1
SamplerYCbCrRange range { SamplerYCbCrRange::ItuFull };

variable components

1
2
3
4
5
6
ComponentMapping components {
        .r = ComponentSwizzle::Identity,
        .g = ComponentSwizzle::Identity,
        .b = ComponentSwizzle::Identity,
        .a = ComponentSwizzle::Identity,
    };

variable xChromaOffset

1
ChromaLocation xChromaOffset { ChromaLocation::CositedEven };

variable yChromaOffset

1
ChromaLocation yChromaOffset { ChromaLocation::CositedEven };

variable chromaFilter

1
FilterMode chromaFilter { FilterMode::Nearest };

variable forceExplicitReconstruction

1
bool forceExplicitReconstruction { false };

Updated on 2025-05-15 at 00:04:19 +0000