{"id":1760,"date":"2017-05-17T12:03:20","date_gmt":"2017-05-17T10:03:20","guid":{"rendered":"https:\/\/alax.info\/blog\/?p=1760"},"modified":"2017-05-17T12:03:20","modified_gmt":"2017-05-17T10:03:20","slug":"d3d11_video_decoder_buffer_desc-documentation-quality","status":"publish","type":"post","link":"https:\/\/alax.info\/blog\/1760","title":{"rendered":"D3D11_VIDEO_DECODER_BUFFER_DESC Documentation Quality"},"content":{"rendered":"<p>Direct3D 11 DXVA decoding documentation lacks accuracy. The API, sadly, lacks other things too but it is a different story.<\/p>\n<p><code>D3D11_VIDEO_DECODER_BUFFER_DESC<\/code> as defined in Windows SDK:<\/p>\n<p><a href=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2017\/05\/1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1761\" src=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2017\/05\/1.png\" alt=\"\" width=\"412\" height=\"136\" srcset=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2017\/05\/1.png 412w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2017\/05\/1-320x106.png 320w\" sizes=\"auto, (max-width: 412px) 100vw, 412px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/hh447641\">MSDN documentation<\/a> lost <code>DataSize<\/code> field, which is &#8211; ironically &#8211; the most important one along with buffer type.<\/p>\n<p><a href=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2017\/05\/2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1762\" src=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2017\/05\/2.png\" alt=\"\" width=\"441\" height=\"137\" srcset=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2017\/05\/2.png 441w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2017\/05\/2-320x99.png 320w\" sizes=\"auto, (max-width: 441px) 100vw, 441px\" \/><\/a><\/p>\n<p>Related <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/hardware\/hh450940\"><code>D3D11_1DDI_VIDEO_DECODERR_BUFFER_DESC<\/code> structure<\/a> has both fields but the Members section has an obvious copy\/paste typo:<\/p>\n<p><a href=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2017\/05\/3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1763\" src=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2017\/05\/3.png\" alt=\"\" width=\"718\" height=\"118\" srcset=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2017\/05\/3.png 718w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2017\/05\/3-320x53.png 320w\" sizes=\"auto, (max-width: 718px) 100vw, 718px\" \/><\/a><\/p>\n<p>The structure and the API itself is presumably not so popular.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Direct3D 11 DXVA decoding documentation lacks accuracy. The API, sadly, lacks other things too but it is a different story. D3D11_VIDEO_DECODER_BUFFER_DESC as defined in Windows SDK: MSDN documentation lost DataSize field, which is &#8211; ironically &#8211; the most important one along with buffer type. Related D3D11_1DDI_VIDEO_DECODERR_BUFFER_DESC structure has both fields but the Members section has&hellip; <\/p>\n<p><a class=\"moretag\" href=\"https:\/\/alax.info\/blog\/1760\">Read the full article<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[81,408,541,542,329,486],"class_list":["post-1760","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-api","tag-direct3d","tag-documentation","tag-dxva","tag-msdn","tag-video"],"_links":{"self":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/1760","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/comments?post=1760"}],"version-history":[{"count":0,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/1760\/revisions"}],"wp:attachment":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/media?parent=1760"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/categories?post=1760"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/tags?post=1760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}