{"id":2966,"date":"2010-10-15T22:37:48","date_gmt":"2010-10-16T05:37:48","guid":{"rendered":"http:\/\/multimedia.cx\/eggs\/?p=2966"},"modified":"2010-10-15T22:37:48","modified_gmt":"2010-10-16T05:37:48","slug":"vp8-misplaced-plane","status":"publish","type":"post","link":"https:\/\/multimedia.cx\/eggs\/vp8-misplaced-plane\/","title":{"rendered":"VP8 Misplaced Plane"},"content":{"rendered":"<p>So I&#8217;m stubbornly plugging away at <a href=\"http:\/\/multimedia.cx\/eggs\/the-worst-vp8-encoder\/\">my toy VP8 encoder<\/a> and I managed to produce this gem. See if you can spot the subtle mistake:<\/p>\n<p><center><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2010\/10\/bbb-misplaced-color-plane.jpg\" alt=\"\" title=\"Big Buck Bunny title with misplaced color plane\" width=\"400\" height=\"225\" class=\"aligncenter size-full wp-image-2967\" srcset=\"https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2010\/10\/bbb-misplaced-color-plane.jpg 400w, https:\/\/multimedia.cx\/eggs\/wp-content\/uploads\/2010\/10\/bbb-misplaced-color-plane-300x168.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><br \/>\n<\/center><\/p>\n<p>The misplaced color plane resulted from using the luma plane stride where it was not appropriate. I fixed that and now chroma planes are wired to use to the same naive prediction algorithm as the luma plane.<\/p>\n<p>Also, I fixed the entropy encoder so that end of block conditions are signaled correctly (instead of my original, suboptimal hack to just encode all zeros). I was disappointed to see that this did not result in a major compression improvement. Then again, I&#8217;m using the lowest possible quantization settings for this outing, so perhaps this is to be expected.<\/p>\n<p><em>Sigh&#8230;<\/em> 4&#215;4 luma prediction is next. Wish me luck.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is what happens when you get your luma and chroma strides confused<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[219],"tags":[],"class_list":["post-2966","post","type-post","status-publish","format-standard","hentry","category-vp8"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2966","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/comments?post=2966"}],"version-history":[{"count":3,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2966\/revisions"}],"predecessor-version":[{"id":2970,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/posts\/2966\/revisions\/2970"}],"wp:attachment":[{"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/media?parent=2966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/categories?post=2966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multimedia.cx\/eggs\/wp-json\/wp\/v2\/tags?post=2966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}