3 ms·
Sorry, but OpenCL is not API for hardware H.264 decoding as we know it on other platforms. Yes, OpenCL allows you to run code on GPU, but that's where it ends.
by vetinari 17y ago
Sorry, but OpenCL is not API for hardware H.264 decoding as we know it on other platforms. Yes, OpenCL allows you to run code on GPU, but that's where it ends. It is no match to DXVA in Windows or VA-API/VDPAU in Linux, which allows you using the silicon dedicated to decoding MPEG-2/4 ASP/4 AVC/VC-1. There is no equivalent to these APIs in OSX.
- Groxx 17y agoWhich still leaves the ability to speed up h.264 / video in general with GPU rendering, which is far more optimized for it than your CPU. It's not ideal, but it's significantly better than nothing. Granted, it's not "true" h.264 hardware decoding, but it's better than pure-CPU-through-Flash, and as far as I can tell they have yet to take advantage of it, and have been exceptionally late to the game no matter what.
- vetinari 17y agoThat's difficult to say without benchmarking. Yes, you can offload some computations to GPU (you certainly are not going to parse the bitstream or VLD decode using shader programs), but do you get net gain, when you are shuffling buffers over PCI-E? You also limit your target audience to NVidia 9400 and up when talking about OSX, basically telling the Macbook users with Intel graphic cards, that they do not need to apply (Intel 3100 and 4500 are perfectly capable of decoding H.264 and VC-1, just not through shaders).