[{"data":1,"prerenderedAt":629},["ShallowReactive",2],{"jqI8hbt2wK":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":628,"_id":4},"VkVideoEncodeH264RateControlFlagBitsKHR","H.264 encode rate control bits","VK_KHR_video_encode_h264","enums",[],{"type":10,"children":11,"toc":626},"root",[12,45,488,620],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,34,36,43],{"type":18,"value":19},"text","Bits which ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," be set in\n",{"type":13,"tag":28,"props":29,"children":31},"a",{"href":30},"/man/VkVideoEncodeH264RateControlInfoKHR",[32],{"type":18,"value":33},"VkVideoEncodeH264RateControlInfoKHR",{"type":18,"value":35},"::",{"type":13,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":18,"value":42},"flags",{"type":18,"value":44},", specifying H.264\nrate control flags, are:",{"type":13,"tag":46,"props":47,"children":48},"code-group",{},[49,227],{"type":13,"tag":50,"props":51,"children":57},"pre",{"className":52,"code":53,"filename":54,"language":55,"meta":56,"style":56},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkVideoEncodeH264RateControlFlagBitsKHR {\n VK_VIDEO_ENCODE_H264_RATE_CONTROL_ATTEMPT_HRD_COMPLIANCE_BIT_KHR = 0x00000001,\n VK_VIDEO_ENCODE_H264_RATE_CONTROL_REGULAR_GOP_BIT_KHR = 0x00000002,\n VK_VIDEO_ENCODE_H264_RATE_CONTROL_REFERENCE_PATTERN_FLAT_BIT_KHR = 0x00000004,\n VK_VIDEO_ENCODE_H264_RATE_CONTROL_REFERENCE_PATTERN_DYADIC_BIT_KHR = 0x00000008,\n VK_VIDEO_ENCODE_H264_RATE_CONTROL_TEMPORAL_LAYER_PATTERN_DYADIC_BIT_KHR = 0x00000010,\n} VkVideoEncodeH264RateControlFlagBitsKHR;\n","C","c","",[58],{"type":13,"tag":37,"props":59,"children":60},{"__ignoreMap":56},[61,84,114,140,166,192,218],{"type":13,"tag":62,"props":63,"children":66},"span",{"class":64,"line":65},"line",1,[67,73,78],{"type":13,"tag":62,"props":68,"children":70},{"style":69},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[71],{"type":18,"value":72},"typedef",{"type":13,"tag":62,"props":74,"children":75},{"style":69},[76],{"type":18,"value":77}," enum",{"type":13,"tag":62,"props":79,"children":81},{"style":80},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[82],{"type":18,"value":83}," VkVideoEncodeH264RateControlFlagBitsKHR {\n",{"type":13,"tag":62,"props":85,"children":87},{"class":64,"line":86},2,[88,93,98,103,109],{"type":13,"tag":62,"props":89,"children":90},{"style":80},[91],{"type":18,"value":92}," VK_VIDEO_ENCODE_H264_RATE_CONTROL_ATTEMPT_HRD_COMPLIANCE_BIT_KHR ",{"type":13,"tag":62,"props":94,"children":95},{"style":69},[96],{"type":18,"value":97},"=",{"type":13,"tag":62,"props":99,"children":100},{"style":69},[101],{"type":18,"value":102}," 0x",{"type":13,"tag":62,"props":104,"children":106},{"style":105},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[107],{"type":18,"value":108},"00000001",{"type":13,"tag":62,"props":110,"children":111},{"style":80},[112],{"type":18,"value":113},",\n",{"type":13,"tag":62,"props":115,"children":117},{"class":64,"line":116},3,[118,123,127,131,136],{"type":13,"tag":62,"props":119,"children":120},{"style":80},[121],{"type":18,"value":122}," VK_VIDEO_ENCODE_H264_RATE_CONTROL_REGULAR_GOP_BIT_KHR ",{"type":13,"tag":62,"props":124,"children":125},{"style":69},[126],{"type":18,"value":97},{"type":13,"tag":62,"props":128,"children":129},{"style":69},[130],{"type":18,"value":102},{"type":13,"tag":62,"props":132,"children":133},{"style":105},[134],{"type":18,"value":135},"00000002",{"type":13,"tag":62,"props":137,"children":138},{"style":80},[139],{"type":18,"value":113},{"type":13,"tag":62,"props":141,"children":143},{"class":64,"line":142},4,[144,149,153,157,162],{"type":13,"tag":62,"props":145,"children":146},{"style":80},[147],{"type":18,"value":148}," VK_VIDEO_ENCODE_H264_RATE_CONTROL_REFERENCE_PATTERN_FLAT_BIT_KHR ",{"type":13,"tag":62,"props":150,"children":151},{"style":69},[152],{"type":18,"value":97},{"type":13,"tag":62,"props":154,"children":155},{"style":69},[156],{"type":18,"value":102},{"type":13,"tag":62,"props":158,"children":159},{"style":105},[160],{"type":18,"value":161},"00000004",{"type":13,"tag":62,"props":163,"children":164},{"style":80},[165],{"type":18,"value":113},{"type":13,"tag":62,"props":167,"children":169},{"class":64,"line":168},5,[170,175,179,183,188],{"type":13,"tag":62,"props":171,"children":172},{"style":80},[173],{"type":18,"value":174}," VK_VIDEO_ENCODE_H264_RATE_CONTROL_REFERENCE_PATTERN_DYADIC_BIT_KHR ",{"type":13,"tag":62,"props":176,"children":177},{"style":69},[178],{"type":18,"value":97},{"type":13,"tag":62,"props":180,"children":181},{"style":69},[182],{"type":18,"value":102},{"type":13,"tag":62,"props":184,"children":185},{"style":105},[186],{"type":18,"value":187},"00000008",{"type":13,"tag":62,"props":189,"children":190},{"style":80},[191],{"type":18,"value":113},{"type":13,"tag":62,"props":193,"children":195},{"class":64,"line":194},6,[196,201,205,209,214],{"type":13,"tag":62,"props":197,"children":198},{"style":80},[199],{"type":18,"value":200}," VK_VIDEO_ENCODE_H264_RATE_CONTROL_TEMPORAL_LAYER_PATTERN_DYADIC_BIT_KHR ",{"type":13,"tag":62,"props":202,"children":203},{"style":69},[204],{"type":18,"value":97},{"type":13,"tag":62,"props":206,"children":207},{"style":69},[208],{"type":18,"value":102},{"type":13,"tag":62,"props":210,"children":211},{"style":105},[212],{"type":18,"value":213},"00000010",{"type":13,"tag":62,"props":215,"children":216},{"style":80},[217],{"type":18,"value":113},{"type":13,"tag":62,"props":219,"children":221},{"class":64,"line":220},7,[222],{"type":13,"tag":62,"props":223,"children":224},{"style":80},[225],{"type":18,"value":226},"} VkVideoEncodeH264RateControlFlagBitsKHR;\n",{"type":13,"tag":50,"props":228,"children":233},{"className":229,"code":230,"filename":231,"language":232,"meta":56,"style":56},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct VideoEncodeH264RateControlFlagBitsKHR(u32);\nimpl VideoEncodeH264RateControlFlagBitsKHR {\n pub const ATTEMPT_HRD_COMPLIANCE: Self = 0x00000001;\n pub const REGULAR_GOP: Self = 0x00000002;\n pub const REFERENCE_PATTERN_FLAT: Self = 0x00000004;\n pub const REFERENCE_PATTERN_DYADIC: Self = 0x00000008;\n pub const TEMPORAL_LAYER_PATTERN_DYADIC: Self = 0x00000010;\n}\n","Rust","rs",[234],{"type":13,"tag":37,"props":235,"children":236},{"__ignoreMap":56},[237,271,288,331,368,405,442,479],{"type":13,"tag":62,"props":238,"children":239},{"class":64,"line":65},[240,245,250,256,261,266],{"type":13,"tag":62,"props":241,"children":242},{"style":69},[243],{"type":18,"value":244},"pub",{"type":13,"tag":62,"props":246,"children":247},{"style":69},[248],{"type":18,"value":249}," struct",{"type":13,"tag":62,"props":251,"children":253},{"style":252},"--shiki-default:#953800;--shiki-dark:#FFA657",[254],{"type":18,"value":255}," VideoEncodeH264RateControlFlagBitsKHR",{"type":13,"tag":62,"props":257,"children":258},{"style":80},[259],{"type":18,"value":260},"(",{"type":13,"tag":62,"props":262,"children":263},{"style":252},[264],{"type":18,"value":265},"u32",{"type":13,"tag":62,"props":267,"children":268},{"style":80},[269],{"type":18,"value":270},");\n",{"type":13,"tag":62,"props":272,"children":273},{"class":64,"line":86},[274,279,283],{"type":13,"tag":62,"props":275,"children":276},{"style":69},[277],{"type":18,"value":278},"impl",{"type":13,"tag":62,"props":280,"children":281},{"style":252},[282],{"type":18,"value":255},{"type":13,"tag":62,"props":284,"children":285},{"style":80},[286],{"type":18,"value":287}," {\n",{"type":13,"tag":62,"props":289,"children":290},{"class":64,"line":116},[291,296,301,306,311,316,321,326],{"type":13,"tag":62,"props":292,"children":293},{"style":69},[294],{"type":18,"value":295}," pub",{"type":13,"tag":62,"props":297,"children":298},{"style":69},[299],{"type":18,"value":300}," const",{"type":13,"tag":62,"props":302,"children":303},{"style":105},[304],{"type":18,"value":305}," ATTEMPT_HRD_COMPLIANCE",{"type":13,"tag":62,"props":307,"children":308},{"style":69},[309],{"type":18,"value":310},":",{"type":13,"tag":62,"props":312,"children":313},{"style":105},[314],{"type":18,"value":315}," Self",{"type":13,"tag":62,"props":317,"children":318},{"style":69},[319],{"type":18,"value":320}," =",{"type":13,"tag":62,"props":322,"children":323},{"style":105},[324],{"type":18,"value":325}," 0x00000001",{"type":13,"tag":62,"props":327,"children":328},{"style":80},[329],{"type":18,"value":330},";\n",{"type":13,"tag":62,"props":332,"children":333},{"class":64,"line":142},[334,338,342,347,351,355,359,364],{"type":13,"tag":62,"props":335,"children":336},{"style":69},[337],{"type":18,"value":295},{"type":13,"tag":62,"props":339,"children":340},{"style":69},[341],{"type":18,"value":300},{"type":13,"tag":62,"props":343,"children":344},{"style":105},[345],{"type":18,"value":346}," REGULAR_GOP",{"type":13,"tag":62,"props":348,"children":349},{"style":69},[350],{"type":18,"value":310},{"type":13,"tag":62,"props":352,"children":353},{"style":105},[354],{"type":18,"value":315},{"type":13,"tag":62,"props":356,"children":357},{"style":69},[358],{"type":18,"value":320},{"type":13,"tag":62,"props":360,"children":361},{"style":105},[362],{"type":18,"value":363}," 0x00000002",{"type":13,"tag":62,"props":365,"children":366},{"style":80},[367],{"type":18,"value":330},{"type":13,"tag":62,"props":369,"children":370},{"class":64,"line":168},[371,375,379,384,388,392,396,401],{"type":13,"tag":62,"props":372,"children":373},{"style":69},[374],{"type":18,"value":295},{"type":13,"tag":62,"props":376,"children":377},{"style":69},[378],{"type":18,"value":300},{"type":13,"tag":62,"props":380,"children":381},{"style":105},[382],{"type":18,"value":383}," REFERENCE_PATTERN_FLAT",{"type":13,"tag":62,"props":385,"children":386},{"style":69},[387],{"type":18,"value":310},{"type":13,"tag":62,"props":389,"children":390},{"style":105},[391],{"type":18,"value":315},{"type":13,"tag":62,"props":393,"children":394},{"style":69},[395],{"type":18,"value":320},{"type":13,"tag":62,"props":397,"children":398},{"style":105},[399],{"type":18,"value":400}," 0x00000004",{"type":13,"tag":62,"props":402,"children":403},{"style":80},[404],{"type":18,"value":330},{"type":13,"tag":62,"props":406,"children":407},{"class":64,"line":194},[408,412,416,421,425,429,433,438],{"type":13,"tag":62,"props":409,"children":410},{"style":69},[411],{"type":18,"value":295},{"type":13,"tag":62,"props":413,"children":414},{"style":69},[415],{"type":18,"value":300},{"type":13,"tag":62,"props":417,"children":418},{"style":105},[419],{"type":18,"value":420}," REFERENCE_PATTERN_DYADIC",{"type":13,"tag":62,"props":422,"children":423},{"style":69},[424],{"type":18,"value":310},{"type":13,"tag":62,"props":426,"children":427},{"style":105},[428],{"type":18,"value":315},{"type":13,"tag":62,"props":430,"children":431},{"style":69},[432],{"type":18,"value":320},{"type":13,"tag":62,"props":434,"children":435},{"style":105},[436],{"type":18,"value":437}," 0x00000008",{"type":13,"tag":62,"props":439,"children":440},{"style":80},[441],{"type":18,"value":330},{"type":13,"tag":62,"props":443,"children":444},{"class":64,"line":220},[445,449,453,458,462,466,470,475],{"type":13,"tag":62,"props":446,"children":447},{"style":69},[448],{"type":18,"value":295},{"type":13,"tag":62,"props":450,"children":451},{"style":69},[452],{"type":18,"value":300},{"type":13,"tag":62,"props":454,"children":455},{"style":105},[456],{"type":18,"value":457}," TEMPORAL_LAYER_PATTERN_DYADIC",{"type":13,"tag":62,"props":459,"children":460},{"style":69},[461],{"type":18,"value":310},{"type":13,"tag":62,"props":463,"children":464},{"style":105},[465],{"type":18,"value":315},{"type":13,"tag":62,"props":467,"children":468},{"style":69},[469],{"type":18,"value":320},{"type":13,"tag":62,"props":471,"children":472},{"style":105},[473],{"type":18,"value":474}," 0x00000010",{"type":13,"tag":62,"props":476,"children":477},{"style":80},[478],{"type":18,"value":330},{"type":13,"tag":62,"props":480,"children":482},{"class":64,"line":481},8,[483],{"type":13,"tag":62,"props":484,"children":485},{"style":80},[486],{"type":18,"value":487},"}\n",{"type":13,"tag":489,"props":490,"children":491},"ul",{},[492,518,567,586,603],{"type":13,"tag":493,"props":494,"children":495},"li",{},[496,502,504,508,510,516],{"type":13,"tag":37,"props":497,"children":499},{"className":498},[],[500],{"type":18,"value":501},"VK_VIDEO_ENCODE_H264_RATE_CONTROL_ATTEMPT_HRD_COMPLIANCE_BIT_KHR",{"type":18,"value":503},"\nspecifies that rate control ",{"type":13,"tag":21,"props":505,"children":507},{"type":506},"should",[],{"type":18,"value":509}," attempt to produce an HRD compliant\nbitstream, as defined in annex C of the ",{"type":13,"tag":28,"props":511,"children":513},{"href":512},"/chapters/introduction#itu-t-h264",[514],{"type":18,"value":515},"ITU-T H.264\nSpecification",{"type":18,"value":517},".",{"type":13,"tag":493,"props":519,"children":520},{},[521,527,529,535,537,543,545,551,553,559,561,565],{"type":13,"tag":37,"props":522,"children":524},{"className":523},[],[525],{"type":18,"value":526},"VK_VIDEO_ENCODE_H264_RATE_CONTROL_REGULAR_GOP_BIT_KHR",{"type":18,"value":528}," specifies\nthat the application intends to use a ",{"type":13,"tag":28,"props":530,"children":532},{"href":531},"/chapters/video-coding#encode-h264-regular-gop",[533],{"type":18,"value":534},"regular\nGOP structure",{"type":18,"value":536}," according to the parameters specified in the\n",{"type":13,"tag":37,"props":538,"children":540},{"className":539},[],[541],{"type":18,"value":542},"gopFrameCount",{"type":18,"value":544},", ",{"type":13,"tag":37,"props":546,"children":548},{"className":547},[],[549],{"type":18,"value":550},"idrPeriod",{"type":18,"value":552},", and ",{"type":13,"tag":37,"props":554,"children":556},{"className":555},[],[557],{"type":18,"value":558},"consecutiveBFrameCount",{"type":18,"value":560},"\nmembers of the ",{"type":13,"tag":28,"props":562,"children":563},{"href":30},[564],{"type":18,"value":33},{"type":18,"value":566}," structure.",{"type":13,"tag":493,"props":568,"children":569},{},[570,576,578,584],{"type":13,"tag":37,"props":571,"children":573},{"className":572},[],[574],{"type":18,"value":575},"VK_VIDEO_ENCODE_H264_RATE_CONTROL_REFERENCE_PATTERN_FLAT_BIT_KHR",{"type":18,"value":577},"\nspecifies that the application intends to follow a\n",{"type":13,"tag":28,"props":579,"children":581},{"href":580},"/404#encode-h264-ref-pattern-flat",[582],{"type":18,"value":583},"flat reference pattern",{"type":18,"value":585}," in the GOP.",{"type":13,"tag":493,"props":587,"children":588},{},[589,595,596,602],{"type":13,"tag":37,"props":590,"children":592},{"className":591},[],[593],{"type":18,"value":594},"VK_VIDEO_ENCODE_H264_RATE_CONTROL_REFERENCE_PATTERN_DYADIC_BIT_KHR",{"type":18,"value":577},{"type":13,"tag":28,"props":597,"children":599},{"href":598},"/404#encode-h264-ref-pattern-dyadic",[600],{"type":18,"value":601},"dyadic reference pattern",{"type":18,"value":585},{"type":13,"tag":493,"props":604,"children":605},{},[606,612,613,619],{"type":13,"tag":37,"props":607,"children":609},{"className":608},[],[610],{"type":18,"value":611},"VK_VIDEO_ENCODE_H264_RATE_CONTROL_TEMPORAL_LAYER_PATTERN_DYADIC_BIT_KHR",{"type":18,"value":577},{"type":13,"tag":28,"props":614,"children":616},{"href":615},"/404#encode-h264-layer-pattern-dyadic",[617],{"type":18,"value":618},"dyadic temporal layer pattern",{"type":18,"value":517},{"type":13,"tag":621,"props":622,"children":623},"style",{},[624],{"type":18,"value":625},"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":56,"searchDepth":86,"depth":86,"links":627},[],"markdown",1725732593227]