{"id":1553,"date":"2010-03-13T17:01:22","date_gmt":"2010-03-13T08:01:22","guid":{"rendered":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=1553"},"modified":"2010-08-23T12:25:09","modified_gmt":"2010-08-23T03:25:09","slug":"utvideo-amd-%e3%83%9e%e3%82%b7%e3%83%b3%e3%81%a7-ulrgulra-%e3%81%8c%e5%a6%99%e3%81%ab%e9%81%85%e3%81%84%e7%90%86%e7%94%b1","status":"publish","type":"post","link":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=1553","title":{"rendered":"[UtVideo] AMD \u30de\u30b7\u30f3\u3067 ULRG\/ULRA \u304c\u5999\u306b\u9045\u3044\u7406\u7531"},"content":{"rendered":"<p>\u7d50\u8ad6\u304b\u3089\u8a00\u3046\u3068\u300cL1\u30c7\u30fc\u30bf\u30ad\u30e3\u30c3\u30b7\u30e5\u304c 2-way \u30bb\u30c3\u30c8\u30a2\u30bd\u30b7\u30a2\u30c6\u30a3\u30d6\u3067\u3042\u308a\u3001\u30b9\u30e9\u30c3\u30b7\u30f3\u30b0\u304c\u767a\u751f\u3059\u308b\u30a2\u30af\u30bb\u30b9\u306e\u4ed5\u65b9\u3092\u3059\u308b\u304b\u3089\u300d\u306e\u3088\u3046\u3067\u3059\u3002\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u3092\u8efd\u304f\u898b\u305f\u9650\u308a\u3067\u306f\u3001Athlon 64 \u4ee5\u964d\u306e CPU \u306f\u5168\u3066 L1\u30c7\u30fc\u30bf\u30ad\u30e3\u30c3\u30b7\u30e5\u304c 2-way \u306e\u3088\u3046\u306a\u306e\u3067\u3001\u3053\u306e\u554f\u984c\u306b\u5f15\u3063\u304b\u304b\u308a\u307e\u3059\u3002<\/p>\n<p>\u4e00\u65b9\u3001\u624b\u5143\u306e Intel Core 2 Quad Q6600 \u3060\u3068 8-way \u306a\u306e\u3067\u30b9\u30e9\u30c3\u30b7\u30f3\u30b0\u304c\u767a\u751f\u305b\u305a\u3001\u9045\u304f\u306a\u308a\u307e\u305b\u3093\u3002\u304a\u305d\u3089\u304f 4-way \u3067\u3082\u30b9\u30e9\u30c3\u30b7\u30f3\u30b0\u304c\u767a\u751f\u3057\u306a\u3044\u3082\u306e\u3068\u601d\u308f\u308c\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u7d4c\u904e\u3068\u8a73\u7d30\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u305d\u3046\u3044\u3084\u3001\u53cb\u4eba\u304c Athlon 64 \u30de\u30b7\u30f3\u3092\u6301\u3063\u3066\u3044\u305f\u306a\u3042\u3001\u3068\u601d\u3063\u3066\u3001\u904a\u3093\u3067\u3044\u308b\u6570\u5c11\u306a\u3044\u6642\u9593\uff08\u305d\u308c\u306a\u308a\u306b\u5fd9\u3057\u3044\u30de\u30b7\u30f3\u307d\u3044\uff09\u306b\u30ea\u30e2\u30fc\u30c8\u3067\u3055\u308f\u3089\u305b\u3066\u3082\u3089\u3048\u308b\u3088\u3046\u306b\u304a\u9858\u3044\u3057\u3066\u8abf\u67fb\u958b\u59cb\u3002ULRG \u3067 RGB24 \u5165\u529b\u306e\u5834\u5408\u3068 ULY2 \u3067 YUY2 \u5165\u529b\u306e\u5834\u5408\u3068\u3067\u5927\u4f53\u540c\u3058\u51e6\u7406\u3092\u3057\u3066\u3044\u308b\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u3001ULY2 \u3067\u306f\u9045\u304f\u306a\u3089\u305a\u306b ULRG \u3067\u306f\u9045\u304f\u306a\u308b\u306e\u304c\u4e0d\u601d\u8b70\u3060\u3063\u305f\u306e\u3067\u3001\u51e6\u7406\u304c\u7570\u306a\u308b raw \u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u304b\u3089 planar \u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3078\u306e\u5909\u63db\u30eb\u30fc\u30c1\u30f3\u3067\u3001\u3042\u30fc\u3067\u3082\u306a\u3044\u3053\u30fc\u3067\u3082\u306a\u3044\u3068\u8a66\u884c\u932f\u8aa4\u3057\u3066\u307e\u3057\u305f\u3002<\/p>\n<p>ULY2 \u3067\u306e\u51e6\u7406\uff08\u629c\u7c8b\uff09<\/p>\n<blockquote>\n<pre>\r\n\tswitch (m_icc->lpbiInput->biCompression)\r\n\t{\r\n\tcase FCC('YUY2'):\r\n\tcase FCC('YUYV'):\r\n\tcase FCC('YUNV'):\r\n\t\tfor (p = pSrcBegin; p < pSrcEnd; p += 4)\r\n\t\t{\r\n\t\t\t*y++ = *p;\r\n\t\t\t*u++ = *(p+1);\r\n\t\t\t*y++ = *(p+2);\r\n\t\t\t*v++ = *(p+3);\r\n\t\t}\r\n\t\tbreak;\r\n<\/pre>\n<\/blockquote>\n<p>ULRG \u3067\u306e\u51e6\u7406\uff08\u629c\u7c8b\uff09<\/p>\n<blockquote>\n<pre>\r\n\tswitch (m_icc->lpbiInput->biCompression)\r\n\t{\r\n\tcase BI_RGB:\r\n\t\tswitch (m_icc->lpbiInput->biBitCount)\r\n\t\t{\r\n\t\tcase 24:\r\n\t\t\tfor (pStrideBegin = pSrcEnd - m_dwRawGrossWidth; pStrideBegin >= pSrcBegin; pStrideBegin -= m_dwRawGrossWidth)\r\n\t\t\t{\r\n\t\t\t\tconst BYTE *pStrideEnd = pStrideBegin + m_icc->lpbiInput->biWidth * 3;\r\n\t\t\t\tfor (p = pStrideBegin; p < pStrideEnd; p += 3)\r\n\t\t\t\t{\r\n\t\t\t\t\t*g++ = *(p+1);\r\n\t\t\t\t\t*b++ = *(p+0) - *(p+1) + 0x80;\r\n\t\t\t\t\t*r++ = *(p+2) - *(p+1) + 0x80;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tbreak;\r\n<\/pre>\n<\/blockquote>\n<p>\u3067\u3001<\/p>\n<ul>\n<li>\u8272\u5dee\u3092\u53d6\u3063\u3066\u304b\u3089 0x80 \u3092\u52a0\u7b97\u3059\u308b\u51e6\u7406\u304c\u3042\u308b\u304c\u30010x80 \u3092\u52a0\u7b97\u3059\u308b\u306e\u3092\u7701\u7565\u3059\u308b \u2192 \u5909\u5316\u306a\u3057<\/li>\n<li>\u8272\u5dee\u3092\u53d6\u308b\u51e6\u7406\u3082\u7701\u7565\u3059\u308b \u2192 \u3084\u3063\u3071\u308a\u5909\u5316\u306a\u3057<\/li>\n<li>RGB24 \u306f\u30dc\u30c8\u30e0\u30a2\u30c3\u30d7\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u9806\u5e8f\u304c\u554f\u984c\u306a\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3044\u3001\u305d\u306e\u8fba\u3092\u7121\u8996\u3057\u3066\u30d5\u30ec\u30fc\u30e0\u30c7\u30fc\u30bf\u306e\u5148\u982d\u304b\u3089\u5909\u63db\u3059\u308b \u2192 \u305d\u308c\u3067\u3082\u5909\u5316\u306a\u3057<\/li>\n<\/ul>\n<p>\u3046\u30fc\u3093\u3002<\/p>\n<p>\u3067\u3001\u3069\u30fc\u3057\u3088\u3046\u3082\u306a\u3044\u306a\u3041\u3001\u3068\u601d\u3044\u3064\u3064\u98a8\u5442\u306b\u5165\u3063\u3066\u305f\u306e\u3067\u3059\u304c\u3001\u30c0\u30e1\u5143\u3067\u6b21\u306e\u30cd\u30bf\u3092\u601d\u3044\u3064\u304d\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li>\u8d64\u6210\u5206\u3092\u66f8\u304d\u8fbc\u307e\u306a\u304f\u3059\u308b \u2192 65ms\/f \u304b\u3089 22ms\/f \u307e\u3067\u4e00\u6c17\u306b\u901f\u304f\u306a\u3063\u305f<\/li>\n<li>\u8d64\u6210\u5206\u306b0\u3092\u66f8\u304d\u8fbc\u3080\uff08\u5bfe\u7167\u7fa4\uff09 \u2192 \u5143\u306e\u307e\u307e\u5909\u5316\u306a\u3057<\/li>\n<\/ul>\n<p>\u30ca\u30cb\u30b3\u30ec\uff01\uff1f<br \/>\n\u8272\u6210\u5206\u306e\u30d5\u30ec\u30fc\u30e0\u30d0\u30c3\u30d5\u30a1\u306f VirtualAlloc \u3067\u78ba\u4fdd\u3057\u3066\u3044\u3066\u521d\u671f\u5024\u306f 0 \u306a\u306e\u3067\u3001\u66f8\u304d\u8fbc\u3080\u304b\u3069\u3046\u304b\u306b\u304b\u304b\u308f\u3089\u305a 0 \u306e\u307e\u307e\u3067\u3059\u3002\u306a\u306e\u3067\u3001\u901f\u5ea6\u306e\u5dee\u306f planar \u5909\u63db\u306e\u3068\u3053\u308d\u3067\u8d77\u304d\u3066\u3044\u308b\u306e\u306f\u9593\u9055\u3044\u3042\u308a\u307e\u305b\u3093\u3002\u8d64\u6210\u5206\u3092\u66f8\u304d\u8fbc\u307e\u306a\u3044\u3053\u3068\u3067\u30e1\u30e2\u30ea\u30a2\u30af\u30bb\u30b9\u306e\u56de\u6570\u306f 2\/3 \u7a0b\u5ea6\u306b\u306a\u308b\u306f\u305a\u3067\u3059\u304c\u3001\u305d\u308c\u3092\u9065\u304b\u306b\u4e0a\u56de\u3063\u3066\u901f\u304f\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u4f55\u304b\u305d\u308c\u4ee5\u5916\u306e\u73fe\u8c61\u304c\u3042\u308a\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>\u3044\u3044\u52a0\u6e1b\u591c\u3082\u9045\u3044\uff08\u3068\u3044\u3046\u304b\u672a\u660e\uff09\u306e\u3067\u3001\u4eca\u5ea6\u306f\u5bdd\u306a\u304c\u3089\u8003\u3048\u3066\u305f\u3089\u3001\u3082\u3057\u304b\u3057\u3066\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u52b9\u3044\u3066\u306a\u3044\u3093\u3058\u3083\uff1f\u3068\u601d\u3044\u3064\u3044\u3066\u3001\u8d77\u304d\u3066\u304b\u3089 CPU \u306e\u30b9\u30da\u30c3\u30af\u30b7\u30fc\u30c8\u3092\u773a\u3081\u3066\u307f\u305f\u3089 2-way \u30bb\u30c3\u30c8\u30a2\u30bd\u30b7\u30a2\u30c6\u30a3\u30d6\u3002\u3042\u3042\u3001\u3053\u308c\u3060\u3002\u4e0a\u306b\u793a\u3057\u305f\u30eb\u30fc\u30c1\u30f3\u3067\u3001g, b, r \u306e\u5404\u30dd\u30a4\u30f3\u30bf\u306f\u300c\u5e38\u306b\u300d\u540c\u3058\u30a8\u30f3\u30c8\u30ea\u30a2\u30c9\u30ec\u30b9\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u30e9\u30a4\u30f3\u3092\u53c2\u7167\u3059\u308b\u4e8b\u306b\u306a\u308a\u3001\u9023\u60f3\u5ea6\u3088\u308a\u30a2\u30af\u30bb\u30b9\u3059\u308b\u5148\u306e\u6570\u306e\u65b9\u304c\u5927\u304d\u3044\u306e\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3073\u306b\u30ad\u30e3\u30c3\u30b7\u30e5\u30df\u30b9\u3057\u3066\u731b\u70c8\u306b\u9045\u304f\u306a\u308a\u307e\u3059\uff08raw \u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u65b9\u306e\u30dd\u30a4\u30f3\u30bf\u3067\u3042\u308b p \u306f\u6307\u3059\u5148\u306e\u9032\u307f\u5177\u5408\u304c g, b, r \u3068\u306f\u7570\u306a\u308a\u3001\u540c\u3058\u30a8\u30f3\u30c8\u30ea\u30a2\u30c9\u30ec\u30b9\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u4f4e\u3044\u306e\u3067\u3001\u3042\u307e\u308a\u8003\u3048\u306a\u304f\u3066\u3088\u3044\uff09\u3002ULY2 \u306b\u304a\u3044\u3066\u306f\u3001u, v \u306f\u5e38\u306b\u540c\u3058\u30a8\u30f3\u30c8\u30ea\u30a2\u30c9\u30ec\u30b9\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u30e9\u30a4\u30f3\u3092\u53c2\u7167\u3057\u307e\u3059\u304c\u3001y \u3068 p \u306f\u305d\u308c\u305e\u308c u, v \u3068\u306f\u9032\u307f\u5177\u5408\u304c\u7570\u306a\u308b\u306e\u3067\u3001\u9023\u60f3\u5ea6\u3068\u30a2\u30af\u30bb\u30b9\u3059\u308b\u5148\u306e\u6570\u304c\u540c\u3058\u306e\u305f\u3081\u3001\u4e00\u5fdc\u30bb\u30fc\u30d5\u3067\u3059\u3002<\/p>\n<p>\u3068\u308a\u3042\u3048\u305a\u7406\u7531\u306f\u5206\u304b\u3063\u305f\u3001\u305f\u3076\u3093\u3002<br \/>\n\u3057\u304b\u3057\u3001\u3044\u304f\u3089 L1 \u30ad\u30e3\u30c3\u30b7\u30e5\u306f\u901f\u5ea6\u304c\u91cd\u8996\u3055\u308c\u308b\u95a2\u4fc2\u3067\u9023\u60f3\u5ea6\u3092\u9ad8\u304f\u3067\u304d\u306a\u3044\u3068\u306f\u3044\u3048\u30012-way \u306f\u3055\u3059\u304c\u306b\u306a\u3044\u3093\u3058\u3083\u306a\u3044\u306e\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7d50\u8ad6\u304b\u3089\u8a00\u3046\u3068\u300cL1\u30c7\u30fc\u30bf\u30ad\u30e3\u30c3\u30b7\u30e5\u304c 2-way \u30bb\u30c3\u30c8\u30a2\u30bd\u30b7\u30a2\u30c6\u30a3\u30d6\u3067\u3042\u308a\u3001\u30b9\u30e9\u30c3\u30b7\u30f3\u30b0\u304c\u767a\u751f\u3059\u308b\u30a2\u30af\u30bb\u30b9\u306e\u4ed5\u65b9\u3092\u3059\u308b\u304b\u3089\u300d\u306e\u3088\u3046\u3067\u3059\u3002\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u3092\u8efd\u304f\u898b\u305f\u9650\u308a\u3067\u306f\u3001Athlon 64 \u4ee5\u964d\u306e CPU \u306f\u5168\u3066 L1 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[],"class_list":["post-1553","post","type-post","status-publish","format-standard","hentry","category-ut-video-codec-suite"],"_links":{"self":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1553","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1553"}],"version-history":[{"count":4,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1553\/revisions"}],"predecessor-version":[{"id":1889,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1553\/revisions\/1889"}],"wp:attachment":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1553"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}