[{"data":1,"prerenderedAt":394},["ShallowReactive",2],{"6IlWBug6bI":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":393,"_id":4},"VkChromaLocation","Position of downsampled chroma samples","VK_VERSION_1_1","enums",[],{"type":10,"children":11,"toc":391},"root",[12,28,272,277,358,385],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkChromaLocation",[25],{"type":18,"value":4},{"type":18,"value":27}," enum defines the location of downsampled chroma\ncomponent samples relative to the luma samples, and is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,124],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkChromaLocation {\n VK_CHROMA_LOCATION_COSITED_EVEN = 0,\n VK_CHROMA_LOCATION_MIDPOINT = 1,\n} VkChromaLocation;\n","C","c","",[41],{"type":13,"tag":42,"props":43,"children":44},"code",{"__ignoreMap":39},[45,68,93,115],{"type":13,"tag":46,"props":47,"children":50},"span",{"class":48,"line":49},"line",1,[51,57,62],{"type":13,"tag":46,"props":52,"children":54},{"style":53},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[55],{"type":18,"value":56},"typedef",{"type":13,"tag":46,"props":58,"children":59},{"style":53},[60],{"type":18,"value":61}," enum",{"type":13,"tag":46,"props":63,"children":65},{"style":64},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[66],{"type":18,"value":67}," VkChromaLocation {\n",{"type":13,"tag":46,"props":69,"children":71},{"class":48,"line":70},2,[72,77,82,88],{"type":13,"tag":46,"props":73,"children":74},{"style":64},[75],{"type":18,"value":76}," VK_CHROMA_LOCATION_COSITED_EVEN ",{"type":13,"tag":46,"props":78,"children":79},{"style":53},[80],{"type":18,"value":81},"=",{"type":13,"tag":46,"props":83,"children":85},{"style":84},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[86],{"type":18,"value":87}," 0",{"type":13,"tag":46,"props":89,"children":90},{"style":64},[91],{"type":18,"value":92},",\n",{"type":13,"tag":46,"props":94,"children":96},{"class":48,"line":95},3,[97,102,106,111],{"type":13,"tag":46,"props":98,"children":99},{"style":64},[100],{"type":18,"value":101}," VK_CHROMA_LOCATION_MIDPOINT ",{"type":13,"tag":46,"props":103,"children":104},{"style":53},[105],{"type":18,"value":81},{"type":13,"tag":46,"props":107,"children":108},{"style":84},[109],{"type":18,"value":110}," 1",{"type":13,"tag":46,"props":112,"children":113},{"style":64},[114],{"type":18,"value":92},{"type":13,"tag":46,"props":116,"children":118},{"class":48,"line":117},4,[119],{"type":13,"tag":46,"props":120,"children":121},{"style":64},[122],{"type":18,"value":123},"} VkChromaLocation;\n",{"type":13,"tag":33,"props":125,"children":130},{"className":126,"code":127,"filename":128,"language":129,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ChromaLocation(u32);\nimpl ChromaLocation {\n pub const COSITED_EVEN: Self = 0;\n pub const MIDPOINT: Self = 1;\n}\n","Rust","rs",[131],{"type":13,"tag":42,"props":132,"children":133},{"__ignoreMap":39},[134,168,185,227,263],{"type":13,"tag":46,"props":135,"children":136},{"class":48,"line":49},[137,142,147,153,158,163],{"type":13,"tag":46,"props":138,"children":139},{"style":53},[140],{"type":18,"value":141},"pub",{"type":13,"tag":46,"props":143,"children":144},{"style":53},[145],{"type":18,"value":146}," struct",{"type":13,"tag":46,"props":148,"children":150},{"style":149},"--shiki-default:#953800;--shiki-dark:#FFA657",[151],{"type":18,"value":152}," ChromaLocation",{"type":13,"tag":46,"props":154,"children":155},{"style":64},[156],{"type":18,"value":157},"(",{"type":13,"tag":46,"props":159,"children":160},{"style":149},[161],{"type":18,"value":162},"u32",{"type":13,"tag":46,"props":164,"children":165},{"style":64},[166],{"type":18,"value":167},");\n",{"type":13,"tag":46,"props":169,"children":170},{"class":48,"line":70},[171,176,180],{"type":13,"tag":46,"props":172,"children":173},{"style":53},[174],{"type":18,"value":175},"impl",{"type":13,"tag":46,"props":177,"children":178},{"style":149},[179],{"type":18,"value":152},{"type":13,"tag":46,"props":181,"children":182},{"style":64},[183],{"type":18,"value":184}," {\n",{"type":13,"tag":46,"props":186,"children":187},{"class":48,"line":95},[188,193,198,203,208,213,218,222],{"type":13,"tag":46,"props":189,"children":190},{"style":53},[191],{"type":18,"value":192}," pub",{"type":13,"tag":46,"props":194,"children":195},{"style":53},[196],{"type":18,"value":197}," const",{"type":13,"tag":46,"props":199,"children":200},{"style":84},[201],{"type":18,"value":202}," COSITED_EVEN",{"type":13,"tag":46,"props":204,"children":205},{"style":53},[206],{"type":18,"value":207},":",{"type":13,"tag":46,"props":209,"children":210},{"style":84},[211],{"type":18,"value":212}," Self",{"type":13,"tag":46,"props":214,"children":215},{"style":53},[216],{"type":18,"value":217}," =",{"type":13,"tag":46,"props":219,"children":220},{"style":84},[221],{"type":18,"value":87},{"type":13,"tag":46,"props":223,"children":224},{"style":64},[225],{"type":18,"value":226},";\n",{"type":13,"tag":46,"props":228,"children":229},{"class":48,"line":117},[230,234,238,243,247,251,255,259],{"type":13,"tag":46,"props":231,"children":232},{"style":53},[233],{"type":18,"value":192},{"type":13,"tag":46,"props":235,"children":236},{"style":53},[237],{"type":18,"value":197},{"type":13,"tag":46,"props":239,"children":240},{"style":84},[241],{"type":18,"value":242}," MIDPOINT",{"type":13,"tag":46,"props":244,"children":245},{"style":53},[246],{"type":18,"value":207},{"type":13,"tag":46,"props":248,"children":249},{"style":84},[250],{"type":18,"value":212},{"type":13,"tag":46,"props":252,"children":253},{"style":53},[254],{"type":18,"value":217},{"type":13,"tag":46,"props":256,"children":257},{"style":84},[258],{"type":18,"value":110},{"type":13,"tag":46,"props":260,"children":261},{"style":64},[262],{"type":18,"value":226},{"type":13,"tag":46,"props":264,"children":266},{"class":48,"line":265},5,[267],{"type":13,"tag":46,"props":268,"children":269},{"style":64},[270],{"type":18,"value":271},"}\n",{"type":13,"tag":14,"props":273,"children":274},{},[275],{"type":18,"value":276},"or the equivalent",{"type":13,"tag":29,"props":278,"children":279},{},[280,306],{"type":13,"tag":33,"props":281,"children":283},{"className":35,"code":282,"filename":37,"language":38,"meta":39,"style":39},"#define VkChromaLocationKHR VkChromaLocation\n",[284],{"type":13,"tag":42,"props":285,"children":286},{"__ignoreMap":39},[287],{"type":13,"tag":46,"props":288,"children":289},{"class":48,"line":49},[290,295,301],{"type":13,"tag":46,"props":291,"children":292},{"style":53},[293],{"type":18,"value":294},"#define",{"type":13,"tag":46,"props":296,"children":298},{"style":297},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[299],{"type":18,"value":300}," VkChromaLocationKHR",{"type":13,"tag":46,"props":302,"children":303},{"style":64},[304],{"type":18,"value":305}," VkChromaLocation\n",{"type":13,"tag":33,"props":307,"children":309},{"className":126,"code":308,"filename":128,"language":129,"meta":39,"style":39},"const ChromaLocationKHR: _ = vk::ChromaLocation;\n",[310],{"type":13,"tag":42,"props":311,"children":312},{"__ignoreMap":39},[313],{"type":13,"tag":46,"props":314,"children":315},{"class":48,"line":49},[316,321,326,330,335,339,344,349,354],{"type":13,"tag":46,"props":317,"children":318},{"style":53},[319],{"type":18,"value":320},"const",{"type":13,"tag":46,"props":322,"children":323},{"style":84},[324],{"type":18,"value":325}," ChromaLocationKHR",{"type":13,"tag":46,"props":327,"children":328},{"style":53},[329],{"type":18,"value":207},{"type":13,"tag":46,"props":331,"children":332},{"style":64},[333],{"type":18,"value":334}," _ ",{"type":13,"tag":46,"props":336,"children":337},{"style":53},[338],{"type":18,"value":81},{"type":13,"tag":46,"props":340,"children":341},{"style":149},[342],{"type":18,"value":343}," vk",{"type":13,"tag":46,"props":345,"children":346},{"style":53},[347],{"type":18,"value":348},"::",{"type":13,"tag":46,"props":350,"children":351},{"style":149},[352],{"type":18,"value":353},"ChromaLocation",{"type":13,"tag":46,"props":355,"children":356},{"style":64},[357],{"type":18,"value":226},{"type":13,"tag":359,"props":360,"children":361},"ul",{},[362,374],{"type":13,"tag":363,"props":364,"children":365},"li",{},[366,372],{"type":13,"tag":42,"props":367,"children":369},{"className":368},[],[370],{"type":18,"value":371},"VK_CHROMA_LOCATION_COSITED_EVEN",{"type":18,"value":373}," specifies that downsampled chroma\nsamples are aligned with luma samples with even coordinates.",{"type":13,"tag":363,"props":375,"children":376},{},[377,383],{"type":13,"tag":42,"props":378,"children":380},{"className":379},[],[381],{"type":18,"value":382},"VK_CHROMA_LOCATION_MIDPOINT",{"type":18,"value":384}," specifies that downsampled chroma\nsamples are located half way between each even luma sample and the\nnearest higher odd luma sample.",{"type":13,"tag":386,"props":387,"children":388},"style",{},[389],{"type":18,"value":390},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":39,"searchDepth":70,"depth":70,"links":392},[],"markdown",1725732542180]