4,829 karma · joined Jan 31, 2014 (12y ago) · 1,177 submissions
comment 11y ago · link · parent
However, if you have some interesting application of it, feel free to let us know!
comment 11y ago · link · parent
EDIT: Found the source code release here, so they are fine: https://polybrowser.com/faqs/where-can-i-download-the-source...
comment 11y ago · link · parent
The transforms no longer take as much CPU time as they used to, due to having better SIMD accelerated versions. Much of the time is now spent on the PVQ decoder, which is not optimized for speed at the moment.
One thing I learned after writing large fixed-function transform hardware is that it doesn't take much extra hardware to turn them into microcoded programmable pipelines, much like a GPU. In fact, this approach is very common internal to hardware video decoders, though the firmware is not exposed to the user. One notable exception is Broadcom's Videocore IV, which is quite an interesting architecture [2].
Also, with the latest mobile processors having 8 or more ARM cores, we can also exploit CPU parallelism in much the same way. I feel it is very important to have the codec perform well on CPU alone, as not everyone will have hardware that can decode it right away. This is something I would like to play with a lot more.
[1] http://thomasdaede.com/wordpress/?cat=9 [2] http://www.broadcom.com/docs/support/videocore/VideoCoreIV-A...
comment 11y ago · link · parent
(hint: open in firefox)
comment 12y ago · link · parent
I feel like Bandcamp (and iTunes) have a much better profit model. Offer full length samples so you know exactly what you are getting, and then charge 25-50 cents per track with 90% of it going to the creator. Despite the higher prices to the consumer, the cost feels a lot more justifiable in my mind. I've spent over $50 a month on Bandcamp before, whereas I can't see myself purchasing a music streaming service for anywhere near that cost.
comment 12y ago · link · parent
Large SRAMs get costly and power hungry quick - the largest RAM Cortex-M4 devices have about 192KiB of SRAM, but cost $6-10. The jump to DRAM, however, is very expensive, because DRAM is fabricated on a different process and needs to be installed as a separate die or package. It is also too high latency to use as the only RAM, so a SRAM cache is still necessary.
The market currently segregates a lot of other features based on the RAM interface. Cortex-M series cores, sold as "microcontrollers", almost never have DRAM, only support Thumb-2, and have no MMU. Cortex-A series are sold as "application processors", have external DRAM interfaces, and include a MMU. A similar divide is visible with the MIPS architecture.
comment 12y ago · link · parent
This is the software video decoder, by the way: https://github.com/brion/ogv.js
comment 12y ago · link · parent
As a bonus, you won't have to pay for a HEVC decoder license.
comment 12y ago · link · parent
comment 12y ago · link · parent
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.
comment 12y ago · link · parent
Unfortunately I can't find a free PDF at the moment.