[{"data":1,"prerenderedAt":567},["ShallowReactive",2],{"$fF5J2flQ0--4MdZ5B8Uqm0Ro1cM4igA6T5o1p_5oX3Tg":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":9,"xrefs":10,"body":11,"_type":566,"_id":4},"VkVideoEncodeRgbConversionCapabilitiesVALVE","Structure describing video encode rgb conversion capabilities for a video profile","VK_VALVE_video_encode_rgb_conversion",[8],"VkVideoCapabilitiesKHR","structs",[],{"type":12,"children":13,"toc":564},"root",[14,69,81,399,526,558],{"type":15,"tag":16,"props":17,"children":18},"element","p",{},[19,22,29,31,38,40,45,47,52,54,60,62,67],{"type":20,"value":21},"text","When calling ",{"type":15,"tag":23,"props":24,"children":26},"a",{"href":25},"/man/vkGetPhysicalDeviceVideoCapabilitiesKHR",[27],{"type":20,"value":28},"vkGetPhysicalDeviceVideoCapabilitiesKHR",{"type":20,"value":30}," with\n",{"type":15,"tag":32,"props":33,"children":35},"code",{"className":34},[],[36],{"type":20,"value":37},"pVideoProfile→videoCodecOperation",{"type":20,"value":39}," specifying an encode operation, the\n",{"type":15,"tag":23,"props":41,"children":43},{"href":42},"/man/VkVideoEncodeRgbConversionCapabilitiesVALVE",[44],{"type":20,"value":4},{"type":20,"value":46}," structure ",{"type":15,"tag":48,"props":49,"children":51},"normative",{"type":50},"can",[],{"type":20,"value":53}," be included\nin the ",{"type":15,"tag":32,"props":55,"children":57},{"className":56},[],[58],{"type":20,"value":59},"pNext",{"type":20,"value":61}," chain of the ",{"type":15,"tag":23,"props":63,"children":65},{"href":64},"/man/VkVideoCapabilitiesKHR",[66],{"type":20,"value":8},{"type":20,"value":68}," structure to\nretrieve capabilities specific to video encode R′G′B′ conversion.",{"type":15,"tag":16,"props":70,"children":71},{},[72,74,79],{"type":20,"value":73},"The ",{"type":15,"tag":32,"props":75,"children":77},{"className":76},[],[78],{"type":20,"value":4},{"type":20,"value":80}," structure is defined\nas:",{"type":15,"tag":82,"props":83,"children":84},"code-group",{},[85,188],{"type":15,"tag":86,"props":87,"children":93},"pre",{"className":88,"code":89,"filename":90,"language":91,"meta":92,"style":92},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkVideoEncodeRgbConversionCapabilitiesVALVE {\n VkStructureType sType;\n void* pNext;\n VkVideoEncodeRgbModelConversionFlagsVALVE rgbModels;\n VkVideoEncodeRgbRangeCompressionFlagsVALVE rgbRanges;\n VkVideoEncodeRgbChromaOffsetFlagsVALVE xChromaOffsets;\n VkVideoEncodeRgbChromaOffsetFlagsVALVE yChromaOffsets;\n} VkVideoEncodeRgbConversionCapabilitiesVALVE;\n","C","c","",[94],{"type":15,"tag":32,"props":95,"children":96},{"__ignoreMap":92},[97,120,129,143,152,161,170,179],{"type":15,"tag":98,"props":99,"children":102},"span",{"class":100,"line":101},"line",1,[103,109,114],{"type":15,"tag":98,"props":104,"children":106},{"style":105},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[107],{"type":20,"value":108},"typedef",{"type":15,"tag":98,"props":110,"children":111},{"style":105},[112],{"type":20,"value":113}," struct",{"type":15,"tag":98,"props":115,"children":117},{"style":116},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[118],{"type":20,"value":119}," VkVideoEncodeRgbConversionCapabilitiesVALVE {\n",{"type":15,"tag":98,"props":121,"children":123},{"class":100,"line":122},2,[124],{"type":15,"tag":98,"props":125,"children":126},{"style":116},[127],{"type":20,"value":128}," VkStructureType sType;\n",{"type":15,"tag":98,"props":130,"children":132},{"class":100,"line":131},3,[133,138],{"type":15,"tag":98,"props":134,"children":135},{"style":105},[136],{"type":20,"value":137}," void*",{"type":15,"tag":98,"props":139,"children":140},{"style":116},[141],{"type":20,"value":142}," pNext;\n",{"type":15,"tag":98,"props":144,"children":146},{"class":100,"line":145},4,[147],{"type":15,"tag":98,"props":148,"children":149},{"style":116},[150],{"type":20,"value":151}," VkVideoEncodeRgbModelConversionFlagsVALVE rgbModels;\n",{"type":15,"tag":98,"props":153,"children":155},{"class":100,"line":154},5,[156],{"type":15,"tag":98,"props":157,"children":158},{"style":116},[159],{"type":20,"value":160}," VkVideoEncodeRgbRangeCompressionFlagsVALVE rgbRanges;\n",{"type":15,"tag":98,"props":162,"children":164},{"class":100,"line":163},6,[165],{"type":15,"tag":98,"props":166,"children":167},{"style":116},[168],{"type":20,"value":169}," VkVideoEncodeRgbChromaOffsetFlagsVALVE xChromaOffsets;\n",{"type":15,"tag":98,"props":171,"children":173},{"class":100,"line":172},7,[174],{"type":15,"tag":98,"props":175,"children":176},{"style":116},[177],{"type":20,"value":178}," VkVideoEncodeRgbChromaOffsetFlagsVALVE yChromaOffsets;\n",{"type":15,"tag":98,"props":180,"children":182},{"class":100,"line":181},8,[183],{"type":15,"tag":98,"props":184,"children":185},{"style":116},[186],{"type":20,"value":187},"} VkVideoEncodeRgbConversionCapabilitiesVALVE;\n",{"type":15,"tag":86,"props":189,"children":194},{"className":190,"code":191,"filename":192,"language":193,"meta":92,"style":92},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct VideoEncodeRgbConversionCapabilitiesVALVE {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n rgb_models: vk::VideoEncodeRgbModelConversionFlagsVALVE,\n rgb_ranges: vk::VideoEncodeRgbRangeCompressionFlagsVALVE,\n x_chroma_offsets: vk::VideoEncodeRgbChromaOffsetFlagsVALVE,\n y_chroma_offsets: vk::VideoEncodeRgbChromaOffsetFlagsVALVE,\n}\n","Rust","rs",[195],{"type":15,"tag":32,"props":196,"children":197},{"__ignoreMap":92},[198,221,254,276,305,334,363,391],{"type":15,"tag":98,"props":199,"children":200},{"class":100,"line":101},[201,206,210,216],{"type":15,"tag":98,"props":202,"children":203},{"style":105},[204],{"type":20,"value":205},"pub",{"type":15,"tag":98,"props":207,"children":208},{"style":105},[209],{"type":20,"value":113},{"type":15,"tag":98,"props":211,"children":213},{"style":212},"--shiki-default:#953800;--shiki-dark:#FFA657",[214],{"type":20,"value":215}," VideoEncodeRgbConversionCapabilitiesVALVE",{"type":15,"tag":98,"props":217,"children":218},{"style":116},[219],{"type":20,"value":220}," {\n",{"type":15,"tag":98,"props":222,"children":223},{"class":100,"line":122},[224,229,234,239,244,249],{"type":15,"tag":98,"props":225,"children":226},{"style":116},[227],{"type":20,"value":228}," s_type",{"type":15,"tag":98,"props":230,"children":231},{"style":105},[232],{"type":20,"value":233},":",{"type":15,"tag":98,"props":235,"children":236},{"style":212},[237],{"type":20,"value":238}," vk",{"type":15,"tag":98,"props":240,"children":241},{"style":105},[242],{"type":20,"value":243},"::",{"type":15,"tag":98,"props":245,"children":246},{"style":212},[247],{"type":20,"value":248},"StructureType",{"type":15,"tag":98,"props":250,"children":251},{"style":116},[252],{"type":20,"value":253},",\n",{"type":15,"tag":98,"props":255,"children":256},{"class":100,"line":131},[257,262,266,271],{"type":15,"tag":98,"props":258,"children":259},{"style":116},[260],{"type":20,"value":261}," p_next",{"type":15,"tag":98,"props":263,"children":264},{"style":105},[265],{"type":20,"value":233},{"type":15,"tag":98,"props":267,"children":268},{"style":105},[269],{"type":20,"value":270}," *mut",{"type":15,"tag":98,"props":272,"children":273},{"style":116},[274],{"type":20,"value":275}," c_void,\n",{"type":15,"tag":98,"props":277,"children":278},{"class":100,"line":145},[279,284,288,292,296,301],{"type":15,"tag":98,"props":280,"children":281},{"style":116},[282],{"type":20,"value":283}," rgb_models",{"type":15,"tag":98,"props":285,"children":286},{"style":105},[287],{"type":20,"value":233},{"type":15,"tag":98,"props":289,"children":290},{"style":212},[291],{"type":20,"value":238},{"type":15,"tag":98,"props":293,"children":294},{"style":105},[295],{"type":20,"value":243},{"type":15,"tag":98,"props":297,"children":298},{"style":212},[299],{"type":20,"value":300},"VideoEncodeRgbModelConversionFlagsVALVE",{"type":15,"tag":98,"props":302,"children":303},{"style":116},[304],{"type":20,"value":253},{"type":15,"tag":98,"props":306,"children":307},{"class":100,"line":154},[308,313,317,321,325,330],{"type":15,"tag":98,"props":309,"children":310},{"style":116},[311],{"type":20,"value":312}," rgb_ranges",{"type":15,"tag":98,"props":314,"children":315},{"style":105},[316],{"type":20,"value":233},{"type":15,"tag":98,"props":318,"children":319},{"style":212},[320],{"type":20,"value":238},{"type":15,"tag":98,"props":322,"children":323},{"style":105},[324],{"type":20,"value":243},{"type":15,"tag":98,"props":326,"children":327},{"style":212},[328],{"type":20,"value":329},"VideoEncodeRgbRangeCompressionFlagsVALVE",{"type":15,"tag":98,"props":331,"children":332},{"style":116},[333],{"type":20,"value":253},{"type":15,"tag":98,"props":335,"children":336},{"class":100,"line":163},[337,342,346,350,354,359],{"type":15,"tag":98,"props":338,"children":339},{"style":116},[340],{"type":20,"value":341}," x_chroma_offsets",{"type":15,"tag":98,"props":343,"children":344},{"style":105},[345],{"type":20,"value":233},{"type":15,"tag":98,"props":347,"children":348},{"style":212},[349],{"type":20,"value":238},{"type":15,"tag":98,"props":351,"children":352},{"style":105},[353],{"type":20,"value":243},{"type":15,"tag":98,"props":355,"children":356},{"style":212},[357],{"type":20,"value":358},"VideoEncodeRgbChromaOffsetFlagsVALVE",{"type":15,"tag":98,"props":360,"children":361},{"style":116},[362],{"type":20,"value":253},{"type":15,"tag":98,"props":364,"children":365},{"class":100,"line":172},[366,371,375,379,383,387],{"type":15,"tag":98,"props":367,"children":368},{"style":116},[369],{"type":20,"value":370}," y_chroma_offsets",{"type":15,"tag":98,"props":372,"children":373},{"style":105},[374],{"type":20,"value":233},{"type":15,"tag":98,"props":376,"children":377},{"style":212},[378],{"type":20,"value":238},{"type":15,"tag":98,"props":380,"children":381},{"style":105},[382],{"type":20,"value":243},{"type":15,"tag":98,"props":384,"children":385},{"style":212},[386],{"type":20,"value":358},{"type":15,"tag":98,"props":388,"children":389},{"style":116},[390],{"type":20,"value":253},{"type":15,"tag":98,"props":392,"children":393},{"class":100,"line":181},[394],{"type":15,"tag":98,"props":395,"children":396},{"style":116},[397],{"type":20,"value":398},"}\n",{"type":15,"tag":400,"props":401,"children":402},"ul",{},[403,423,441,468,492,510],{"type":15,"tag":404,"props":405,"children":406},"li",{},[407,413,415,421],{"type":15,"tag":32,"props":408,"children":410},{"className":409},[],[411],{"type":20,"value":412},"sType",{"type":20,"value":414}," is a ",{"type":15,"tag":23,"props":416,"children":418},{"href":417},"/man/VkStructureType",[419],{"type":20,"value":420},"VkStructureType",{"type":20,"value":422}," value identifying this structure.",{"type":15,"tag":404,"props":424,"children":425},{},[426,431,433,439],{"type":15,"tag":32,"props":427,"children":429},{"className":428},[],[430],{"type":20,"value":59},{"type":20,"value":432}," is ",{"type":15,"tag":32,"props":434,"children":436},{"className":435},[],[437],{"type":20,"value":438},"NULL",{"type":20,"value":440}," or a pointer to a structure extending this\nstructure.",{"type":15,"tag":404,"props":442,"children":443},{},[444,450,452,458,460,466],{"type":15,"tag":32,"props":445,"children":447},{"className":446},[],[448],{"type":20,"value":449},"rgbModels",{"type":20,"value":451}," is a bitmask of\n",{"type":15,"tag":23,"props":453,"children":455},{"href":454},"/man/VkVideoEncodeRgbModelConversionFlagBitsVALVE",[456],{"type":20,"value":457},"VkVideoEncodeRgbModelConversionFlagBitsVALVE",{"type":20,"value":459}," describing supported\n",{"type":15,"tag":23,"props":461,"children":463},{"href":462},"/chapters/video-coding#encode-rgb-conversion-model-conversion",[464],{"type":20,"value":465},"model conversions",{"type":20,"value":467}," for video\nencode R′G′B′ conversion.",{"type":15,"tag":404,"props":469,"children":470},{},[471,477,478,484,485,491],{"type":15,"tag":32,"props":472,"children":474},{"className":473},[],[475],{"type":20,"value":476},"rgbRanges",{"type":20,"value":451},{"type":15,"tag":23,"props":479,"children":481},{"href":480},"/man/VkVideoEncodeRgbRangeCompressionFlagBitsVALVE",[482],{"type":20,"value":483},"VkVideoEncodeRgbRangeCompressionFlagBitsVALVE",{"type":20,"value":459},{"type":15,"tag":23,"props":486,"children":488},{"href":487},"/chapters/video-coding#encode-rgb-conversion-range-compression",[489],{"type":20,"value":490},"range compressions",{"type":20,"value":467},{"type":15,"tag":404,"props":493,"children":494},{},[495,501,502,508],{"type":15,"tag":32,"props":496,"children":498},{"className":497},[],[499],{"type":20,"value":500},"xChromaOffsets",{"type":20,"value":451},{"type":15,"tag":23,"props":503,"children":505},{"href":504},"/man/VkVideoEncodeRgbChromaOffsetFlagBitsVALVE",[506],{"type":20,"value":507},"VkVideoEncodeRgbChromaOffsetFlagBitsVALVE",{"type":20,"value":509}," describing supported\noffsets of the output location of the downsampled chroma component on\nthe X axis for video encode R′G′B′ conversion.",{"type":15,"tag":404,"props":511,"children":512},{},[513,519,520,524],{"type":15,"tag":32,"props":514,"children":516},{"className":515},[],[517],{"type":20,"value":518},"yChromaOffsets",{"type":20,"value":451},{"type":15,"tag":23,"props":521,"children":522},{"href":504},[523],{"type":20,"value":507},{"type":20,"value":525}," describing supported\noffsets of the output location of the downsampled chroma component on\nthe Y axis for video encode R′G′B′ conversion.",{"type":15,"tag":527,"props":528,"children":530},"validity-group",{"name":529},"Valid Usage (Implicit)",[531],{"type":15,"tag":532,"props":533,"children":535},"validity-field",{"name":534},"VUID-VkVideoEncodeRgbConversionCapabilitiesVALVE-sType-sType",[536],{"type":15,"tag":16,"props":537,"children":538},{},[539,544,546,550,552],{"type":15,"tag":32,"props":540,"children":542},{"className":541},[],[543],{"type":20,"value":412},{"type":20,"value":545}," ",{"type":15,"tag":48,"props":547,"children":549},{"type":548},"must",[],{"type":20,"value":551}," be ",{"type":15,"tag":32,"props":553,"children":555},{"className":554},[],[556],{"type":20,"value":557},"VK_STRUCTURE_TYPE_VIDEO_ENCODE_RGB_CONVERSION_CAPABILITIES_VALVE",{"type":15,"tag":559,"props":560,"children":561},"style",{},[562],{"type":20,"value":563},"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":92,"searchDepth":122,"depth":122,"links":565},[],"markdown",1773165471706]