[{"data":1,"prerenderedAt":531},["ShallowReactive",2],{"4rLRykJ3wF":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":530,"_id":4},"VkVideoChromaSubsamplingFlagBitsKHR","Video format chroma subsampling bits","VK_KHR_video_queue","enums",[],{"type":10,"children":11,"toc":528},"root",[12,20,459,522],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","The video format chroma subsampling is defined with the following enums:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,199],{"type":13,"tag":25,"props":26,"children":32},"pre",{"className":27,"code":28,"filename":29,"language":30,"meta":31,"style":31},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkVideoChromaSubsamplingFlagBitsKHR {\n VK_VIDEO_CHROMA_SUBSAMPLING_INVALID_KHR = 0,\n VK_VIDEO_CHROMA_SUBSAMPLING_MONOCHROME_BIT_KHR = 0x00000001,\n VK_VIDEO_CHROMA_SUBSAMPLING_420_BIT_KHR = 0x00000002,\n VK_VIDEO_CHROMA_SUBSAMPLING_422_BIT_KHR = 0x00000004,\n VK_VIDEO_CHROMA_SUBSAMPLING_444_BIT_KHR = 0x00000008,\n} VkVideoChromaSubsamplingFlagBitsKHR;\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,60,85,112,138,164,190],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,54],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[47],{"type":18,"value":48},"typedef",{"type":13,"tag":38,"props":50,"children":51},{"style":45},[52],{"type":18,"value":53}," enum",{"type":13,"tag":38,"props":55,"children":57},{"style":56},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[58],{"type":18,"value":59}," VkVideoChromaSubsamplingFlagBitsKHR {\n",{"type":13,"tag":38,"props":61,"children":63},{"class":40,"line":62},2,[64,69,74,80],{"type":13,"tag":38,"props":65,"children":66},{"style":56},[67],{"type":18,"value":68}," VK_VIDEO_CHROMA_SUBSAMPLING_INVALID_KHR ",{"type":13,"tag":38,"props":70,"children":71},{"style":45},[72],{"type":18,"value":73},"=",{"type":13,"tag":38,"props":75,"children":77},{"style":76},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[78],{"type":18,"value":79}," 0",{"type":13,"tag":38,"props":81,"children":82},{"style":56},[83],{"type":18,"value":84},",\n",{"type":13,"tag":38,"props":86,"children":88},{"class":40,"line":87},3,[89,94,98,103,108],{"type":13,"tag":38,"props":90,"children":91},{"style":56},[92],{"type":18,"value":93}," VK_VIDEO_CHROMA_SUBSAMPLING_MONOCHROME_BIT_KHR ",{"type":13,"tag":38,"props":95,"children":96},{"style":45},[97],{"type":18,"value":73},{"type":13,"tag":38,"props":99,"children":100},{"style":45},[101],{"type":18,"value":102}," 0x",{"type":13,"tag":38,"props":104,"children":105},{"style":76},[106],{"type":18,"value":107},"00000001",{"type":13,"tag":38,"props":109,"children":110},{"style":56},[111],{"type":18,"value":84},{"type":13,"tag":38,"props":113,"children":115},{"class":40,"line":114},4,[116,121,125,129,134],{"type":13,"tag":38,"props":117,"children":118},{"style":56},[119],{"type":18,"value":120}," VK_VIDEO_CHROMA_SUBSAMPLING_420_BIT_KHR ",{"type":13,"tag":38,"props":122,"children":123},{"style":45},[124],{"type":18,"value":73},{"type":13,"tag":38,"props":126,"children":127},{"style":45},[128],{"type":18,"value":102},{"type":13,"tag":38,"props":130,"children":131},{"style":76},[132],{"type":18,"value":133},"00000002",{"type":13,"tag":38,"props":135,"children":136},{"style":56},[137],{"type":18,"value":84},{"type":13,"tag":38,"props":139,"children":141},{"class":40,"line":140},5,[142,147,151,155,160],{"type":13,"tag":38,"props":143,"children":144},{"style":56},[145],{"type":18,"value":146}," VK_VIDEO_CHROMA_SUBSAMPLING_422_BIT_KHR ",{"type":13,"tag":38,"props":148,"children":149},{"style":45},[150],{"type":18,"value":73},{"type":13,"tag":38,"props":152,"children":153},{"style":45},[154],{"type":18,"value":102},{"type":13,"tag":38,"props":156,"children":157},{"style":76},[158],{"type":18,"value":159},"00000004",{"type":13,"tag":38,"props":161,"children":162},{"style":56},[163],{"type":18,"value":84},{"type":13,"tag":38,"props":165,"children":167},{"class":40,"line":166},6,[168,173,177,181,186],{"type":13,"tag":38,"props":169,"children":170},{"style":56},[171],{"type":18,"value":172}," VK_VIDEO_CHROMA_SUBSAMPLING_444_BIT_KHR ",{"type":13,"tag":38,"props":174,"children":175},{"style":45},[176],{"type":18,"value":73},{"type":13,"tag":38,"props":178,"children":179},{"style":45},[180],{"type":18,"value":102},{"type":13,"tag":38,"props":182,"children":183},{"style":76},[184],{"type":18,"value":185},"00000008",{"type":13,"tag":38,"props":187,"children":188},{"style":56},[189],{"type":18,"value":84},{"type":13,"tag":38,"props":191,"children":193},{"class":40,"line":192},7,[194],{"type":13,"tag":38,"props":195,"children":196},{"style":56},[197],{"type":18,"value":198},"} VkVideoChromaSubsamplingFlagBitsKHR;\n",{"type":13,"tag":25,"props":200,"children":205},{"className":201,"code":202,"filename":203,"language":204,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct VideoChromaSubsamplingFlagBitsKHR(u32);\nimpl VideoChromaSubsamplingFlagBitsKHR {\n pub const INVALID: Self = 0;\n pub const MONOCHROME: Self = 0x00000001;\n pub const TYPE_420: Self = 0x00000002;\n pub const TYPE_422: Self = 0x00000004;\n pub const TYPE_444: Self = 0x00000008;\n}\n","Rust","rs",[206],{"type":13,"tag":34,"props":207,"children":208},{"__ignoreMap":31},[209,243,260,302,339,376,413,450],{"type":13,"tag":38,"props":210,"children":211},{"class":40,"line":41},[212,217,222,228,233,238],{"type":13,"tag":38,"props":213,"children":214},{"style":45},[215],{"type":18,"value":216},"pub",{"type":13,"tag":38,"props":218,"children":219},{"style":45},[220],{"type":18,"value":221}," struct",{"type":13,"tag":38,"props":223,"children":225},{"style":224},"--shiki-default:#953800;--shiki-dark:#FFA657",[226],{"type":18,"value":227}," VideoChromaSubsamplingFlagBitsKHR",{"type":13,"tag":38,"props":229,"children":230},{"style":56},[231],{"type":18,"value":232},"(",{"type":13,"tag":38,"props":234,"children":235},{"style":224},[236],{"type":18,"value":237},"u32",{"type":13,"tag":38,"props":239,"children":240},{"style":56},[241],{"type":18,"value":242},");\n",{"type":13,"tag":38,"props":244,"children":245},{"class":40,"line":62},[246,251,255],{"type":13,"tag":38,"props":247,"children":248},{"style":45},[249],{"type":18,"value":250},"impl",{"type":13,"tag":38,"props":252,"children":253},{"style":224},[254],{"type":18,"value":227},{"type":13,"tag":38,"props":256,"children":257},{"style":56},[258],{"type":18,"value":259}," {\n",{"type":13,"tag":38,"props":261,"children":262},{"class":40,"line":87},[263,268,273,278,283,288,293,297],{"type":13,"tag":38,"props":264,"children":265},{"style":45},[266],{"type":18,"value":267}," pub",{"type":13,"tag":38,"props":269,"children":270},{"style":45},[271],{"type":18,"value":272}," const",{"type":13,"tag":38,"props":274,"children":275},{"style":76},[276],{"type":18,"value":277}," INVALID",{"type":13,"tag":38,"props":279,"children":280},{"style":45},[281],{"type":18,"value":282},":",{"type":13,"tag":38,"props":284,"children":285},{"style":76},[286],{"type":18,"value":287}," Self",{"type":13,"tag":38,"props":289,"children":290},{"style":45},[291],{"type":18,"value":292}," =",{"type":13,"tag":38,"props":294,"children":295},{"style":76},[296],{"type":18,"value":79},{"type":13,"tag":38,"props":298,"children":299},{"style":56},[300],{"type":18,"value":301},";\n",{"type":13,"tag":38,"props":303,"children":304},{"class":40,"line":114},[305,309,313,318,322,326,330,335],{"type":13,"tag":38,"props":306,"children":307},{"style":45},[308],{"type":18,"value":267},{"type":13,"tag":38,"props":310,"children":311},{"style":45},[312],{"type":18,"value":272},{"type":13,"tag":38,"props":314,"children":315},{"style":76},[316],{"type":18,"value":317}," MONOCHROME",{"type":13,"tag":38,"props":319,"children":320},{"style":45},[321],{"type":18,"value":282},{"type":13,"tag":38,"props":323,"children":324},{"style":76},[325],{"type":18,"value":287},{"type":13,"tag":38,"props":327,"children":328},{"style":45},[329],{"type":18,"value":292},{"type":13,"tag":38,"props":331,"children":332},{"style":76},[333],{"type":18,"value":334}," 0x00000001",{"type":13,"tag":38,"props":336,"children":337},{"style":56},[338],{"type":18,"value":301},{"type":13,"tag":38,"props":340,"children":341},{"class":40,"line":140},[342,346,350,355,359,363,367,372],{"type":13,"tag":38,"props":343,"children":344},{"style":45},[345],{"type":18,"value":267},{"type":13,"tag":38,"props":347,"children":348},{"style":45},[349],{"type":18,"value":272},{"type":13,"tag":38,"props":351,"children":352},{"style":76},[353],{"type":18,"value":354}," TYPE_420",{"type":13,"tag":38,"props":356,"children":357},{"style":45},[358],{"type":18,"value":282},{"type":13,"tag":38,"props":360,"children":361},{"style":76},[362],{"type":18,"value":287},{"type":13,"tag":38,"props":364,"children":365},{"style":45},[366],{"type":18,"value":292},{"type":13,"tag":38,"props":368,"children":369},{"style":76},[370],{"type":18,"value":371}," 0x00000002",{"type":13,"tag":38,"props":373,"children":374},{"style":56},[375],{"type":18,"value":301},{"type":13,"tag":38,"props":377,"children":378},{"class":40,"line":166},[379,383,387,392,396,400,404,409],{"type":13,"tag":38,"props":380,"children":381},{"style":45},[382],{"type":18,"value":267},{"type":13,"tag":38,"props":384,"children":385},{"style":45},[386],{"type":18,"value":272},{"type":13,"tag":38,"props":388,"children":389},{"style":76},[390],{"type":18,"value":391}," TYPE_422",{"type":13,"tag":38,"props":393,"children":394},{"style":45},[395],{"type":18,"value":282},{"type":13,"tag":38,"props":397,"children":398},{"style":76},[399],{"type":18,"value":287},{"type":13,"tag":38,"props":401,"children":402},{"style":45},[403],{"type":18,"value":292},{"type":13,"tag":38,"props":405,"children":406},{"style":76},[407],{"type":18,"value":408}," 0x00000004",{"type":13,"tag":38,"props":410,"children":411},{"style":56},[412],{"type":18,"value":301},{"type":13,"tag":38,"props":414,"children":415},{"class":40,"line":192},[416,420,424,429,433,437,441,446],{"type":13,"tag":38,"props":417,"children":418},{"style":45},[419],{"type":18,"value":267},{"type":13,"tag":38,"props":421,"children":422},{"style":45},[423],{"type":18,"value":272},{"type":13,"tag":38,"props":425,"children":426},{"style":76},[427],{"type":18,"value":428}," TYPE_444",{"type":13,"tag":38,"props":430,"children":431},{"style":45},[432],{"type":18,"value":282},{"type":13,"tag":38,"props":434,"children":435},{"style":76},[436],{"type":18,"value":287},{"type":13,"tag":38,"props":438,"children":439},{"style":45},[440],{"type":18,"value":292},{"type":13,"tag":38,"props":442,"children":443},{"style":76},[444],{"type":18,"value":445}," 0x00000008",{"type":13,"tag":38,"props":447,"children":448},{"style":56},[449],{"type":18,"value":301},{"type":13,"tag":38,"props":451,"children":453},{"class":40,"line":452},8,[454],{"type":13,"tag":38,"props":455,"children":456},{"style":56},[457],{"type":18,"value":458},"}\n",{"type":13,"tag":460,"props":461,"children":462},"ul",{},[463,475,486,497],{"type":13,"tag":464,"props":465,"children":466},"li",{},[467,473],{"type":13,"tag":34,"props":468,"children":470},{"className":469},[],[471],{"type":18,"value":472},"VK_VIDEO_CHROMA_SUBSAMPLING_MONOCHROME_BIT_KHR",{"type":18,"value":474}," specifies that the\nformat is monochrome.",{"type":13,"tag":464,"props":476,"children":477},{},[478,484],{"type":13,"tag":34,"props":479,"children":481},{"className":480},[],[482],{"type":18,"value":483},"VK_VIDEO_CHROMA_SUBSAMPLING_420_BIT_KHR",{"type":18,"value":485}," specified that the format\nis 4:2:0 chroma subsampled, i.e. the two chroma components are sampled\nhorizontally and vertically at half the sample rate of the luma\ncomponent.",{"type":13,"tag":464,"props":487,"children":488},{},[489,495],{"type":13,"tag":34,"props":490,"children":492},{"className":491},[],[493],{"type":18,"value":494},"VK_VIDEO_CHROMA_SUBSAMPLING_422_BIT_KHR",{"type":18,"value":496}," - the format is 4:2:2\nchroma subsampled, i.e. the two chroma components are sampled\nhorizontally at half the sample rate of luma component.",{"type":13,"tag":464,"props":498,"children":499},{},[500,506,508,514,515,520],{"type":13,"tag":34,"props":501,"children":503},{"className":502},[],[504],{"type":18,"value":505},"VK_VIDEO_CHROMA_SUBSAMPLING_444_BIT_KHR",{"type":18,"value":507}," - the format is 4:4:4\nchroma sampled, i.e. all three components of the Y′C",{"type":13,"tag":509,"props":510,"children":511},"sub",{},[512],{"type":18,"value":513},"B",{"type":18,"value":29},{"type":13,"tag":509,"props":516,"children":517},{},[518],{"type":18,"value":519},"R",{"type":18,"value":521}," format are\nsampled at the same rate, thus there is no chroma subsampling.",{"type":13,"tag":523,"props":524,"children":525},"style",{},[526],{"type":18,"value":527},"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":31,"searchDepth":62,"depth":62,"links":529},[],"markdown",1725732591325]