ãã®æçš¿ã§ã¯ãCPUãšGPUã§ã®ãããªã®åŠçã«ã€ããŠä»¥åã«å°ãã質åã«å¯Ÿãã Intelã®å°é家Dmitry Serkinã®åçãå ¬éããŠããŸãã é ããããšããaã³ããŸã-ããã¯ç§ãã¡ãšDmitryã®éã®å€§ããªæéå·®ã«é¢é£ããŠããŸãã
ãã€ãã®ããã«ãæ€çŽ¢ã®äŸ¿å®äžãèè ã®Habrã®ååã質åã«æäŸãããŸãã
質åMaratyszcza
Intelããã»ããµã«ã¯ãä»ã®ïŒãããªä»¥å€ã®ïŒå§çž®ã¢ã«ãŽãªãºã çšã®ããŒããŠã§ã¢ãããã¯ããããŸããïŒããã¯æããŸãã ç¹å®ã®ããã»ããµåãã«æé©åããããŸãã Intel Integrated Performance Primitivesã«ã¯ãã¢ã«ãŽãªãºã ããã³åœä»€ã®ã¬ãã«ã§ã®ZLIBãDEFLATEãããã³GZIPæ©èœãã¡ããªãŒã®æé©åãå«ãŸããŠããŸãã
質åã©ã€ãã¹ã¿ãŒ
CPUã®ããŒããŠã§ã¢å§çž®ã¯ã©ã®ã³ãŒããã¯ããµããŒãããŠããŸããïŒã³ãŒãã£ã³ã°ã«ã€ããŠã®ã¿è©±ããŠããå Žåã¯ãH.264ãMPEG-2ãMJPEGãããã³MVCã䜿çšããŠç«äœ3DããµããŒãããŸãã ã¢ãããŒãã«ã€ããŠã¯ãããã€ãã®ããåºãç¥ãããŠããŸãã
JDimaã®è³ªå
QuickSyncã¯ãçµæã®ç»åã®å質ã«ãããŠx264ãšæ¯èŒããããšãæåŸ ã§ããŸããïŒå質ã®ããªã»ããïŒãšã³ã³ãŒãèšå®ïŒã«ã€ããŠè©±ããŠããå Žåãè¿œãã€ãããšã¯ãããŸããã æ°ãããã©ãããã©ãŒã ããšã«ãã³ãŒãã£ã³ã°ã®å質ãåäžããŸããããã¯ãéã®åŽã«ããå€ãã®ãªãœãŒã¹ãããããã®çµæãåãæšå®ããããã¹ããªãŒã ã®ãããã³ã°ãªã©ã®ã¢ã«ãŽãªãºã ãæ¹åããèœåãããããã§ãã x264ã¯ãRDOãå«ãéåžžã«åªããã¢ã«ãŽãªãºã ïŒé«éã§ã¯ãããŸããããå質ã«åœ±é¿ããŸãïŒã䜿çšããŸãã ããã¯ãã¹ãŠãéã®ã³ã³ãã€ãŒã¢ãŒããã¯ãã£ã«éåžžã«æªåœ±é¿ãåãŒãã ããã«ããªã»ããã«ã€ããŠè©±ããšãããªããããããŸãã ãã¡ããããã¹ãŠã¯ã³ãŒããã¯ã®æçµèšå®ã«äŸåããŸããããã®å€ãããããŸãã å質ãšé床ãäž¡ç«ããªãããšãç解ããå¿ èŠããããŸãã QuickSyncã®ç®æšã¯ã99ïŒ ã®ãŠãŒã¶ãŒã«é«å質ã§è¿ éã«ãšã³ã³ãŒãããããšã§ãã ãããŠããã¯ãããžãŒããããè¡ããŸãã ãããŸã§ã®éãdBãå¢å ãããäœæ¥ã¯æ¯æ¥è¡ãããŠããŸãã
質åãŠã§ã¶ãŒãã³
HD 4000ãšæ°ããHD 5000ã®ããã©ãŒãã³ã¹ã¯å€§ããç°ãªããŸããïŒ ææ°ã®ã²ãŒã ã§ããã€ãäŸãæããŠããããŸããïŒæè¿ã®ãã¬ã¹ãªãªãŒã¹ã«ãããšãé床ã¯æ倧3åã«å¢å ãããšãã«ã®ãŒæ¶è²»ã¯2åæžå°ããŸããã å ¬çãªã²ãŒã ã®ãã³ãããŒã¯ãèŠãããšã¯ãããŸããã ãã¹ãŠã§ã«ã®æã¡äžãã®æ°é±éåã«è¡šç€ºãããã¯ãã§ãã ç§ã®èšæ¶ã§ã¯ã6æã«éå¬ãããŸãã æ®å¿µãªããããã®ãããã¯ã«ã¯å«ãŸããŠããªããããã³ãŒããã¯ãæ±ã£ãŠãããããäŸãæããããšã¯ã§ããŸããã
Tp7ã®è³ªå
1.ãã«ãããããããªã®ããŒããŠã§ã¢ãã³ãŒãããµããŒãããèšç»ã¯ãããŸãããããšãã°ãH264ããã®Hi10PãŸãã¯ãå€ããHEVCãããã¡ã€ã«ã§ãããç§ã¯ãã®ãããªæ å ±ãæã£ãŠããŸããã èšç»ã¯å€æŽå¯èœãªãã®ã§ãã ãããã®ãããã¡ã€ã«ã倧éã«äœ¿çšãããå Žåãéåžžã«é«ã確çã§ãµããŒããããŸãã
2.ãã°ããåã«ãæ°ããIntelããã»ããµããäœãæãã§ããããããŒãã«ãç¡æã®ã³ãŒããã¯ã®éçºè ãšå¯Ÿè©±ããè©Šã¿ããã£ãããšãèŠããŠããŸãã ãã®æ¹åã®ä»ã®ç¶æ³ã¯äœã§ããïŒ ãªãŒãã³ãœãŒã¹éçºè ã¯ã€ã³ãã«ã«åœ±é¿ãåãŒããŸããïŒã€ã³ãã«ã¯ãããã®ãµããŒããæäŸããŸããïŒã¢ããªã±ãŒã·ã§ã³ã®ã¬ãã«ã§ããå¯èœæ§ãé«ãããéçºè ã§ã¯ãªãã HandBrakeãQuickSyncããµããŒããããšããæè¿ã®çºè¡šã¯ããã®ãããªã€ãã³ãã®1ã€ã§ãã ããã¯ãç¡æ補åã«å¯Ÿããã€ã³ãã«ã®è²¢ç®ã§ãã Linuxããã³ãã®æŽŸç補åïŒAndroidïŒã§ã®QuickSyncã®éçºã¯æ¬æ Œçã§ããããããã®ãããªæŽ»åã¯ãŸããŸãé »ç¹ã«è¡ãããŸãã
ãã©ã€ããŒãšããŒããŠã§ã¢ã«çŽæ¥ã¢ã¯ã»ã¹ããããšã«é¢ããŠã¯ããã®ãããªæŽ»åã¯èããããšããããŸããã ããã«ããã®äœæ¥ã¯ããªãéèŠãªã®ã§ãç§ã¯ããããç¡æå³ã ãšèããŸãã ããã«ã Media SDKããã ãããé«ãã¬ãã«ã®ããªããã£ããæäŸããŸãã
3.çŸæç¹ã§ã¯ãååãšããŠãGPUã§ã®ã³ãŒãã£ã³ã°ã®é©åãªå®è£ ã¯ãããŸããïŒããå°æ°ã§ããããã¹ãŠå質ãé床ã®ç¹å¥ãªå©ç¹ã«éãã¯ãããŸããïŒã ãªããããèµ·ãã£ãŠããããã®åéã§ååããªé²å±ããããŸããïŒQuickSyncã¯éåžžã«æåãããœãªã¥ãŒã·ã§ã³ã§ãããé床ãšïŒãã®é床ã«æ¯ã¹ãŠïŒå質ã®äž¡æ¹ãåªããŠãããšæããŸãã AMDãŸãã¯Nvidiaã®ãœãªã¥ãŒã·ã§ã³ã«é¢ããŠã¯ããããã®é害ã¯Intelãšã¯ç°ãªãã¢ãŒããã¯ãã£ã§èª¬æã§ããŸãã ãããã®æ±ºå®ã¯ãã¹ãŠãå®è¡åäœãšãã«ãã¹ã¬ããã«åºã¥ããŠããŸããããã¯ãã³ãŒããã¯ã§äœ¿çšããã®ãå°é£ã§ãïŒäžéšã®ã³ãŒããŒã¹ããŒã³ã¢ã«ãŽãªãºã ã¯ããã«ãã¹ã¬ããã«è©²åœããŸããïŒã QuickSyncã¯ãEUãšåºå®æ©èœã®çµã¿åããã§ãïŒã¢ã«ãŽãªãºã ãããã¯ã¯ããŒããŠã§ã¢ã«ãã¯ãã ä»ãããããŠããŸãïŒã ãã®çµã¿åããã«ãããçç£æ§ãšå質ãå€§å¹ ã«åäžããŸãã
4.æè¿ãªãªãŒã¹ãããHEVCãšVP9ã®ããã©ãŒãã³ã¹ãçç±ãè¶ ããŠããããšã¯ç§å¯ã§ã¯ãããŸããã ããã»ããµ/ãœãããŠã§ã¢ããããã®åœ¢åŒã®HDãããªããªã¢ã«ã¿ã€ã ã§åŠçïŒå°ãªããšããã³ãŒãïŒã§ããããã«ãªããŸã§ã®æéã¯ã©ã®ãããã§ããïŒæ°å¹ŽåŸã«ã¯ãã®ãããªæ©äŒãçŸãããšæããŸãã
5. Intelãã«ãã¡ãã£ã¢è£œåã§ææžãASMã¯ã©ããããåºã䜿çšãããŠããŸããããããšãã³ã³ãã€ã©ã®æé©åã«ããäŸåããŠããŸããïŒ C ++ã䜿çšããŠããŸããããããšãå€ãè¯ãCã䜿çšããŠããŸããïŒ æ°ããæ©èœãçŽæ¥å®è£ ããå Žåãšæ¯èŒããŠãããã©ãŒãã³ã¹ãæé©åããã«ã¯ã©ããããã®æéãããããŸããïŒæŠäºã§ã¯ããã¹ãŠã®æ段ãåªããŠããŸã:)ç§ãã¡ã¯ããã©ã€ããŒã¬ãã«ããã³ãã以äžã§äžèšã®ãã¹ãŠã䜿çšããŸãã ãã¡ãããç¹å®ã®ASMã¯ããã®åŸã®æåæé©åã®ããã«Cã®ãããªã³ãŒãããçæãããŸãã ãã¹ãŠã®ããã«å€ãã®æéãããããŸãã å質ãšçç£æ§ã®äž¡æ¹ã®åéã§å€ãã®ç 究ããããŸããããã¹ãŠã«æéããããŸãã ç§ã¯æ£ç¢ºãªå²åãèšãã€ããã¯ãããŸããããç 究ã¯ãã¡ããããå€ãã®æéãæ¶è²»ããŸãã
6. Intelã®ãã«ãã¡ãã£ã¢ããŒã ã®èŠæš¡ã¯ïŒ ããªãã«å°éããã®ã¯ã©ããããé£ããã§ããïŒ :)ããŒããŠã§ã¢ããã©ã€ããŒããããŸããŸãªSDKãŸã§ãäœå人ãã®äººã ãããŸãã ã¿ã°ä»ãããäœçœ®ã確èªããŠãã ãããïŒãã·ã¢ïŒã¢ã¹ã¯ã¯ãšããžãããŽãŽããïŒã«ã¯ãIntel Media SDKãæ±ã倧èŠæš¡ãªããŒã ããããŸãã å®æçã«ç©ºå®€ã衚瀺ãããŸãã
質åRussianNeuroMancer
åé¡ã¯ããŒããŠã§ã¢ãŸãã¯ãã©ã€ããŒã«ãããŸããïŒããã§æãå¯èœæ§ãé«ãã®ã¯ãã©ã€ããŒã§ãã Windowsã§ã¯ãããã¯OSã¬ãã«ã®å¶éãããæ¢ç¥ã®åé¡ã§ãã ããããããã¯è§£æ±ºå¯èœã§ãã ããã¢ã¯ã»ã¹ããããã詳现ãããã«æžããŸãã ã
質åIlya_Smelykh
ã»ãšãã©ã®äžè¬çãªåœ¢åŒã®ããŒããŠã§ã¢è²ç©ºéå€æã¯ãããŸããïŒ ããŒããŠã§ã¢ã®ã€ã³ã¿ãŒã¬ãŒã¹è§£é€ã¯ã©ãã§ããïŒããã¯ãã¹ãŠã§ã ã å¹³é¢ããã³ããã±ãŒãžåœ¢åŒã 次ã¯ããã«ç¶ããŸãã ã€ã³ã¿ãŒã¬ãŒã¹è§£é€ããµããŒããããŠããŸãã
Aingis Question
ãåç¥ã®ããã«ãæšç§ãAppleã¯ç¶²èãæèŒãã13ã€ã³ãMacBook ProããªãªãŒã¹ããŸããã åå¥ã®ã°ã©ãã£ãã¯ã«ãŒãã¯æèŒãããŠãããããã¹ãŠã®ã°ã©ãã£ãã¯ã¯Intel HD4000ã§åäœããŸãã ãã®ãã©ãããã©ãŒã ã§ã¯å®å šã«ãµããŒãããã«ã¯äžååã§ãããšããã¬ãã¥ãŒããããŸãã Intelã¯ã°ã©ãã£ãã¯ã¹ã«é¢ããŠå°ãªããšãiPadãRetinaã«è²ããªãããšãèšç»ããŠããŸããïŒã°ã©ãã£ãã¯ã¯éåžžã«è¿ éãã€åŒ·åã«éçºãããŠãããšæããŸãã Intel Irisã¯iããšã«ããããä»ããå¿ èŠããããŸãã
質åãã£ã¬ãŒ
èªå® ã®GPUã§ã®ãããªãšã³ã³ãŒãã£ã³ã°ã®äŸãæããŠãã ãããæãäžè¬çãªäŸã¯ãã¢ãã€ã«ããã€ã¹ã®ã³ãŒãã£ã³ã°ã§ãã äžé£ã®ã·ãªãŒãºã30ååŸ ã€ã®ã§ã¯ãªããæ°åã§ã¢ãã€ã«ããã€ã¹ã§ãµããŒãããã圢åŒã«ãã©ã³ã¹ã³ãŒãããå Žåã¯ãQuickSyncã圹ç«ã¡ãŸãã
質åã©ãã»ã«
Intel 3650çšã®64ããããã©ã€ããŒã¯ãããŸããïŒç³ãèš³ãããŸãããããã®ãããªæ å ±ã¯ãããŸããã ãããããããã¯ã¯ãã©ãŒã©ã ã«ãã£ãŠå€æããããããã§ãã
質åsancho2222
1. Intelããã»ããµã«ã¯KUDAã«äŒŒããã®ããããŸããïŒNvidia CUDAãæå³ããŸããïŒ çãã¯Intel OpenCLã§ãã
2. Intelããã»ããµã®ã°ã©ãã£ãã¯æ©èœãç¹ã«h.264ãšã³ã³ãŒã/ãã³ãŒãã䜿çšããã«ã¯ãã©ã®ã©ã€ãã©ãªãå¿ èŠã§ããïŒå¿ èŠãªã®ã¯ãIntel Media SDKã ãã§ãã
3. Intel i7-3517UEããã»ããµã«ã¯ãH.264ã§960 * 720ã®ãããªè§£å床ãåæã«ãã³ãŒãããã³ãšã³ã³ãŒãããã®ã«ååãªããã©ãŒãã³ã¹ããããŸããïŒã¯ãããã¡ããã§ãã ãŸããè€æ°ã®ã¹ã¬ããã§ãã
4. Intel AtomïŒtmïŒN2800ããã»ããµãŒã«åé¡ããããŸãã ãã¶ãããªãã¯ç§ãå©ããããšãã§ããŸãã Logitech C920ã«ã¡ã©ããããªè§£å床960 * 720ã®ffmpeg H.264ã§ãã³ãŒãããŠããŸãã ãã³ãŒãåŸãYUYJ420ãã¬ãŒã 圢åŒãååŸããŸãã ãã®è§£å床ã§ã¯ãäžèšã®è§£å床ã§1ç§ããã24ãã¬ãŒã ã§2ã€ã®ã¹ããªãŒã ããã³ãŒãã§ããŸããããã³ãŒãåŸã«ãããªã270床å転ããããšããã£ãã·ã¥ã®å¶éïŒç解ããŠãããšããïŒã«åããŠãæçµçã«ã¯1ç§ããã20ãã¬ãŒã ãã䜿çšã§ããªããªããŸãã 1ã€ã®ã¹ããªãŒã ã§ããã¬ãŒã æ°ãå¢ãããšããããªã¯å°ããªæ£æ¹åœ¢ã«ãã©ãã©ã«ãªããéåžžã«é ããªããŸãã äœãåé¡ãªã®ãæããŠãã ããã ãã®ãã£ãã·ã¥ã¯æ£ç¢ºã§ããïŒã»ãšãã©ã®å Žåãã·ã¹ãã å šäœã®ããã©ãŒãã³ã¹ãäœäžããŸãã ãã¹ãŠã®æäœã¯äžå€®åŠçè£ çœ®ã§è¡ããã2ã€ã®ã¹ã¬ãããšåŸåŠçã«ãã£ãŠå¯ŸåŠã§ããªããªããŸãã é 延ãå®è¡ããããã«ãffmpegã¯ãã¬ãŒã ã®ã¹ããããéå§ãããããã¢ãŒãã£ãã¡ã¯ãã衚瀺ãããŸãã ã©ã®ãããªCPU䜿çšçããããŸããïŒ
åºåãã©ã®ãããªåœ¢åŒã§ããã®ããç§ã«ã¯ããããããŸããã§ããã YUV420ïŒ ãã©ãŒãããã«å¿ããŠãããŒããŒã·ã§ã³ã«ã¯ç°ãªãæäœã»ãããå¿ èŠã§ãã ãŸããããŸããã£ãã·ã¥ã¯ãããŸãããããåç¥ã®ããã«ãé床ã«åœ±é¿ããŸãã
ãŠã©ã»ã¯è³ªå
h.264ã®ããŒããŠã§ã¢ãã³ãŒãæ©èœãåããIntel第2äžä»£ããã³ç¬¬3äžä»£ããã»ããµã«çµã¿èŸŒãŸããããžãã¯ã®å¯èœæ§ã«èå³ããããŸããïŒ ã€ãŸããããšãã°1280 x 720ïŒ1920 x 1080ïŒ/ 25ãã¬ãŒã /ç§ã®è§£å床ã®ãªã¢ã«ã¿ã€ã h.264ã¹ããªãŒã ã¯ãããŒããŠã§ã¢ãã³ãŒãã䜿çšããŠIntel i7-3770ããã»ããµã§åŠçã§ããŸãïŒããã°ã©ã ã³ãŒããçæ³çãªå ŽåïŒæ倧éã«æé©åãããïŒç»é¢äžã®åŸç¶ã®è¡šç€ºã®ããã«ïŒ ä»ã®ããã»ããµãŠãããã®ãªãœãŒã¹ã¯ã©ã®çšåºŠé¢äžããŸããïŒãã質åã§ãã ã¹ã¬ããã®æ°ã¯ãã°ã©ãã£ãã¯ã¡ã¢ãªã«ã®ã¿ç©ççã«æ®ããŸãã ãµãŒãã§ã¹ãéžæããã®ã«ååãªã¡ã¢ãªãããéãããã¹ãŠãæ©èœããã¯ãã§ãã å¥ã®åé¡ã¯ããã©ãŒãã³ã¹ã§ãã ãã³ãŒãããããšããŠããã³ã³ãã³ãã«äŸåããŸãã ã€ãŸããã¹ããªãŒã ãã©ã®ããã«ãšã³ã³ãŒãããããã«å¿ããŠãç°ãªãæéãšãªãœãŒã¹ãããããŸãã ããããã¹ãŠã®èŠå ïŒããã³ä»ã®å€ãã®èŠå ïŒãèæ ®ãããšãç§ã®é ããã®å€§ãŸããªèŠç©ããã¯ãåæã«æ倧20ã®ãªã¢ã«ã¿ã€ã ã»ãã·ã§ã³ã§ãã