mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-12 13:29:45 -05:00
Merge branch 'bt709' into 'master'
Consistently use BT.709 encoding for YUV->RGB See merge request wlroots/wlroots!5067
This commit is contained in:
commit
e55bf74acc
6 changed files with 56 additions and 5 deletions
|
|
@ -1990,7 +1990,7 @@ struct wlr_vk_pipeline_layout *get_or_create_pipeline_layout(
|
|||
VkSamplerYcbcrConversionCreateInfo conversion_create_info = {
|
||||
.sType = VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO,
|
||||
.format = key->ycbcr_format->vk,
|
||||
.ycbcrModel = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601,
|
||||
.ycbcrModel = VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709,
|
||||
.ycbcrRange = VK_SAMPLER_YCBCR_RANGE_ITU_NARROW,
|
||||
.xChromaOffset = VK_CHROMA_LOCATION_MIDPOINT,
|
||||
.yChromaOffset = VK_CHROMA_LOCATION_MIDPOINT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue