{"id":91,"date":"2006-10-14T12:45:11","date_gmt":"2006-10-14T12:45:11","guid":{"rendered":""},"modified":"2006-10-14T12:45:11","modified_gmt":"2006-10-14T12:45:11","slug":"one_thing_there","status":"publish","type":"post","link":"https:\/\/blogs.gentoo.org\/lu_zero\/2006\/10\/14\/one_thing_there\/","title":{"rendered":"One thing there"},"content":{"rendered":"<p>After getting some sense about memcpy and h264 (ok, my sample was short enough to make relevant some  optimizations that apply just on codec init, thus meaningless) I eventually got something in that seems to be relevant enough and tool quite few lines: I enabled prefetch.<\/p>\n<p>It is pretty much a single asm line and in certain cases it meant a 10% of overall decoding time shaved away. Before I tried using altivec prefetch and it didn&#8217;t show a great result so I just removed it, 2 days ago I implemented it with the generic instruction and the result was pleasant enough.<\/p>\n<p>If you happen to have non G4 systems please try to benchmark mpegvideo and h264 decoding for me and report results, the commit revision is 6669<\/p>\n<p>Hopefully I&#8217;ll try to provide a snapshot for gentoo in this weekend.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After getting some sense about memcpy and h264 (ok, my sample was short enough to make relevant some optimizations that apply just on codec init, thus meaningless) I eventually got something in that seems to be relevant enough and tool quite few lines: I enabled prefetch. It is pretty much a single asm line and &hellip; <a href=\"https:\/\/blogs.gentoo.org\/lu_zero\/2006\/10\/14\/one_thing_there\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">One thing there<\/span><\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[11,14],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p1aGWH-1t","_links":{"self":[{"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/posts\/91"}],"collection":[{"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/comments?post=91"}],"version-history":[{"count":0,"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/posts\/91\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/media?parent=91"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/categories?post=91"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.gentoo.org\/lu_zero\/wp-json\/wp\/v2\/tags?post=91"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}