简体   繁体   English

是否存在stb_image simd支持?

[英]Does stb_image simd support exist?

stb_image appears to have support for plug-in SIMD implementation(s) of the idct and ycbcr->rgb conversion operations, which take majority of time when loading jpeg files. stb_image似乎支持idct和ycbcr-> rgb转换操作的插件SIMD实现,这些操作在加载jpeg文件时占用大部分时间。 Looking at the code behind STBI_SIMD it's pretty clear this code has actually been used somewhere. 看看STBI_SIMD背后的代码,很明显这个代码实际上已在某处使用过。

However, either the implementations have been proprietary, or my google-fu fails me, as I haven't found any public code that uses this interface. 但是,要么实现是专有的,要么我的google-fu失败了,因为我还没有找到任何使用此接口的公共代码。

My needs would be for the x86 platform only (at this time). 我的需求只适用于x86平台(此时)。

Is there any open source that uses this interface? 是否有任何开源使用此接口?

I remember seeing your question on Twitter, where today coincidently someone mentioned libjpeg-turbo licensed under the BSD license. 我记得在Twitter上看过你的问题,今天恰巧有人提到了根据BSD许可证获得许可的libjpeg-turbo Hope that helps. 希望有所帮助。

It seems to belong to the Horde3D engine (GNU LGPL) 它似乎属于Horde3D引擎(GNU LGPL)

http://open-projects.net/~shahn/darcs/old/Horde3D_Linux_64bit/Horde3D/Source/Horde3D%20Engine/utImage.cpp http://open-projects.net/~shahn/darcs/old/Horde3D_Linux_64bit/Horde3D/Source/Horde3D%20Engine/utImage.cpp

although I was expecting SSE, SIMD at its purest.. 虽然我期待SSE,SIMD最纯粹。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM