[{"data":1,"prerenderedAt":409},["ShallowReactive",2],{"TAnL2S0OCb":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":408,"_id":4},"VkVideoEncodeAV1RateControlGroupKHR","AV1 encode rate control group","VK_KHR_video_encode_av1","enums",[],{"type":10,"children":11,"toc":406},"root",[12,20,322,391,400],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","Possible AV1 encode rate control groups are as follows:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,138],{"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 VkVideoEncodeAV1RateControlGroupKHR {\n VK_VIDEO_ENCODE_AV1_RATE_CONTROL_GROUP_INTRA_KHR = 0,\n VK_VIDEO_ENCODE_AV1_RATE_CONTROL_GROUP_PREDICTIVE_KHR = 1,\n VK_VIDEO_ENCODE_AV1_RATE_CONTROL_GROUP_BIPREDICTIVE_KHR = 2,\n} VkVideoEncodeAV1RateControlGroupKHR;\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,60,85,107,129],{"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}," VkVideoEncodeAV1RateControlGroupKHR {\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_ENCODE_AV1_RATE_CONTROL_GROUP_INTRA_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],{"type":13,"tag":38,"props":90,"children":91},{"style":56},[92],{"type":18,"value":93}," VK_VIDEO_ENCODE_AV1_RATE_CONTROL_GROUP_PREDICTIVE_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":76},[101],{"type":18,"value":102}," 1",{"type":13,"tag":38,"props":104,"children":105},{"style":56},[106],{"type":18,"value":84},{"type":13,"tag":38,"props":108,"children":110},{"class":40,"line":109},4,[111,116,120,125],{"type":13,"tag":38,"props":112,"children":113},{"style":56},[114],{"type":18,"value":115}," VK_VIDEO_ENCODE_AV1_RATE_CONTROL_GROUP_BIPREDICTIVE_KHR ",{"type":13,"tag":38,"props":117,"children":118},{"style":45},[119],{"type":18,"value":73},{"type":13,"tag":38,"props":121,"children":122},{"style":76},[123],{"type":18,"value":124}," 2",{"type":13,"tag":38,"props":126,"children":127},{"style":56},[128],{"type":18,"value":84},{"type":13,"tag":38,"props":130,"children":132},{"class":40,"line":131},5,[133],{"type":13,"tag":38,"props":134,"children":135},{"style":56},[136],{"type":18,"value":137},"} VkVideoEncodeAV1RateControlGroupKHR;\n",{"type":13,"tag":25,"props":139,"children":144},{"className":140,"code":141,"filename":142,"language":143,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct VideoEncodeAV1RateControlGroupKHR(u32);\nimpl VideoEncodeAV1RateControlGroupKHR {\n pub const INTRA: Self = 0;\n pub const PREDICTIVE: Self = 1;\n pub const BIPREDICTIVE: Self = 2;\n}\n","Rust","rs",[145],{"type":13,"tag":34,"props":146,"children":147},{"__ignoreMap":31},[148,182,199,241,277,313],{"type":13,"tag":38,"props":149,"children":150},{"class":40,"line":41},[151,156,161,167,172,177],{"type":13,"tag":38,"props":152,"children":153},{"style":45},[154],{"type":18,"value":155},"pub",{"type":13,"tag":38,"props":157,"children":158},{"style":45},[159],{"type":18,"value":160}," struct",{"type":13,"tag":38,"props":162,"children":164},{"style":163},"--shiki-default:#953800;--shiki-dark:#FFA657",[165],{"type":18,"value":166}," VideoEncodeAV1RateControlGroupKHR",{"type":13,"tag":38,"props":168,"children":169},{"style":56},[170],{"type":18,"value":171},"(",{"type":13,"tag":38,"props":173,"children":174},{"style":163},[175],{"type":18,"value":176},"u32",{"type":13,"tag":38,"props":178,"children":179},{"style":56},[180],{"type":18,"value":181},");\n",{"type":13,"tag":38,"props":183,"children":184},{"class":40,"line":62},[185,190,194],{"type":13,"tag":38,"props":186,"children":187},{"style":45},[188],{"type":18,"value":189},"impl",{"type":13,"tag":38,"props":191,"children":192},{"style":163},[193],{"type":18,"value":166},{"type":13,"tag":38,"props":195,"children":196},{"style":56},[197],{"type":18,"value":198}," {\n",{"type":13,"tag":38,"props":200,"children":201},{"class":40,"line":87},[202,207,212,217,222,227,232,236],{"type":13,"tag":38,"props":203,"children":204},{"style":45},[205],{"type":18,"value":206}," pub",{"type":13,"tag":38,"props":208,"children":209},{"style":45},[210],{"type":18,"value":211}," const",{"type":13,"tag":38,"props":213,"children":214},{"style":76},[215],{"type":18,"value":216}," INTRA",{"type":13,"tag":38,"props":218,"children":219},{"style":45},[220],{"type":18,"value":221},":",{"type":13,"tag":38,"props":223,"children":224},{"style":76},[225],{"type":18,"value":226}," Self",{"type":13,"tag":38,"props":228,"children":229},{"style":45},[230],{"type":18,"value":231}," =",{"type":13,"tag":38,"props":233,"children":234},{"style":76},[235],{"type":18,"value":79},{"type":13,"tag":38,"props":237,"children":238},{"style":56},[239],{"type":18,"value":240},";\n",{"type":13,"tag":38,"props":242,"children":243},{"class":40,"line":109},[244,248,252,257,261,265,269,273],{"type":13,"tag":38,"props":245,"children":246},{"style":45},[247],{"type":18,"value":206},{"type":13,"tag":38,"props":249,"children":250},{"style":45},[251],{"type":18,"value":211},{"type":13,"tag":38,"props":253,"children":254},{"style":76},[255],{"type":18,"value":256}," PREDICTIVE",{"type":13,"tag":38,"props":258,"children":259},{"style":45},[260],{"type":18,"value":221},{"type":13,"tag":38,"props":262,"children":263},{"style":76},[264],{"type":18,"value":226},{"type":13,"tag":38,"props":266,"children":267},{"style":45},[268],{"type":18,"value":231},{"type":13,"tag":38,"props":270,"children":271},{"style":76},[272],{"type":18,"value":102},{"type":13,"tag":38,"props":274,"children":275},{"style":56},[276],{"type":18,"value":240},{"type":13,"tag":38,"props":278,"children":279},{"class":40,"line":131},[280,284,288,293,297,301,305,309],{"type":13,"tag":38,"props":281,"children":282},{"style":45},[283],{"type":18,"value":206},{"type":13,"tag":38,"props":285,"children":286},{"style":45},[287],{"type":18,"value":211},{"type":13,"tag":38,"props":289,"children":290},{"style":76},[291],{"type":18,"value":292}," BIPREDICTIVE",{"type":13,"tag":38,"props":294,"children":295},{"style":45},[296],{"type":18,"value":221},{"type":13,"tag":38,"props":298,"children":299},{"style":76},[300],{"type":18,"value":226},{"type":13,"tag":38,"props":302,"children":303},{"style":45},[304],{"type":18,"value":231},{"type":13,"tag":38,"props":306,"children":307},{"style":76},[308],{"type":18,"value":124},{"type":13,"tag":38,"props":310,"children":311},{"style":56},[312],{"type":18,"value":240},{"type":13,"tag":38,"props":314,"children":316},{"class":40,"line":315},6,[317],{"type":13,"tag":38,"props":318,"children":319},{"style":56},[320],{"type":18,"value":321},"}\n",{"type":13,"tag":323,"props":324,"children":325},"ul",{},[326,361,376],{"type":13,"tag":327,"props":328,"children":329},"li",{},[330,336,338,343,345,351,353,359],{"type":13,"tag":34,"props":331,"children":333},{"className":332},[],[334],{"type":18,"value":335},"VK_VIDEO_ENCODE_AV1_RATE_CONTROL_GROUP_INTRA_KHR",{"type":18,"value":337}," ",{"type":13,"tag":339,"props":340,"children":342},"normative",{"type":341},"should",[],{"type":18,"value":344}," be\nspecified when encoding AV1 frames that use intra-only prediction (e.g.\nwhen encoding AV1 frames of type ",{"type":13,"tag":34,"props":346,"children":348},{"className":347},[],[349],{"type":18,"value":350},"STD_VIDEO_AV1_FRAME_TYPE_KEY",{"type":18,"value":352}," or\n",{"type":13,"tag":34,"props":354,"children":356},{"className":355},[],[357],{"type":18,"value":358},"STD_VIDEO_AV1_FRAME_TYPE_INTRA_ONLY",{"type":18,"value":360},").",{"type":13,"tag":327,"props":362,"children":363},{},[364,370,371,374],{"type":13,"tag":34,"props":365,"children":367},{"className":366},[],[368],{"type":18,"value":369},"VK_VIDEO_ENCODE_AV1_RATE_CONTROL_GROUP_PREDICTIVE_KHR",{"type":18,"value":337},{"type":13,"tag":339,"props":372,"children":373},{"type":341},[],{"type":18,"value":375}," be\nspecified when encoding AV1 frames that only have forward references in\ndisplay order.",{"type":13,"tag":327,"props":377,"children":378},{},[379,385,386,389],{"type":13,"tag":34,"props":380,"children":382},{"className":381},[],[383],{"type":18,"value":384},"VK_VIDEO_ENCODE_AV1_RATE_CONTROL_GROUP_BIPREDICTIVE_KHR",{"type":18,"value":337},{"type":13,"tag":339,"props":387,"children":388},{"type":341},[],{"type":18,"value":390}," be\nspecified when encoding AV1 frames that have backward references in\ndisplay order.",{"type":13,"tag":392,"props":393,"children":394},"note",{},[395],{"type":13,"tag":14,"props":396,"children":397},{},[398],{"type":18,"value":399},"While the application can specify any rate control group for any frame,\nindifferent of the frame type, prediction mode, or prediction direction,\nspecifying a rate control group that does not reflect the prediction\ndirection used by the encoded frame may result in unexpected behavior of the\nimplementation’s rate control algorithm.",{"type":13,"tag":401,"props":402,"children":403},"style",{},[404],{"type":18,"value":405},"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":407},[],"markdown",1744876577185]