3 ms·
Progressive rendering of HEVC is not possible in the same way as it is done for JPEG or PNG. It is also not very suited to GPU rendering. A C++ decoder with as
by TD-Linux 12y ago
Progressive rendering of HEVC is not possible in the same way as it is done for JPEG or PNG. It is also not very suited to GPU rendering.
A C++ decoder with assembly optimizations could easily run four times as fast as the Javascript version. Unfortunately distributing it would not be possible due to patents.
- faragon 12y agoFour times? You can expect the C/C++ version (with some SIMD intrinsics) to run 10-30x faster than the JIT-optimized JS version.
- mischanix 12y agoThere is also the overhead of using a canvas element as a render target instead of a normal image surface, and using the canvas API instead of just writing color values straight to a buffer.
- kinghajj 12y agoWhy would a C++ version have to worry about patents but the JS one does not?
- TD-Linux 12y agoThey both have to worry, just a different person. For JS, it is the page author / publisher. For C++, it would be the browser vendor.