Better HN
topnewbestaskshowjobs
Log inSign up

TD-Linux

4,829 karma · joined Jan 31, 2014 (12y ago) · 1,177 submissions

Submissions

comment 11y ago · link · parent

Daala uses wavelets in a few areas, but is largely a lapped DCT based codec. It's not especially suited for producing scalable bitstreams, at least not much more than any other codec. There's little demand for it right now, so we don't plan to include it as a feature.

However, if you have some interesting application of it, feel free to let us know!

comment 11y ago · link · parent

Vidyo uses an implementation of H.264 SVC, I believe. But in general it's not been widely adopted. SVC generally has worse compression than normal H.264, so for streaming it makes more sense just to store multiple encodes at different qualities.

comment 11y ago · link · parent

Fedora (or GNOME 3?) uses Chrony by default due to better power management. I assume the same is true for most other distributions.

comment 11y ago · link · parent

The default search changes if you have never touched the search option.

comment 11y ago · link · parent

However, the GPU on the beaglebone is much more closed and undocumented than the one on the Broadcom chip.

comment 11y ago · link · parent

That's what's going on? I thought it was just a bug in Firefox Nightly or something.

BTW a normal click also does the thing of opening the new link in the current tab and spawning a new tab with the original page.

comment 11y ago · link · parent

Yes, all the parts that are MPL licensed (the vast majority of the browser, minus their frontend) need to have their source code released. As far as I can tell, they are currently violating the license.

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

Your company is man-in-the-middling all of your HTTPS connections. They probably have their own certificate for their MITM-ing proxy installed in your operating system or browser's trust store. This browser is not using that certificate.

comment 11y ago · link · parent

All functions in Daala have a C version, along with corresponding assembly versions which have tests to make sure that the assembly version matches the C reference.

comment 11y ago · link · parent

My RTL accelerated the transform stage of the codec. Because Daala has no pixel domain dependencies, the frequency domain coefficients can just be offloaded to hardware, which returns the pixel domain result. There is more information on timing on my website [1].

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

It was a bit of a surprise to wake up and see myself on HN! I'm the presenter in the video - I can answer any questions you might have here.

comment 11y ago · link · parent

This would be an annoying prompt: http://spacecraftforall.com/

(hint: open in firefox)

comment 11y ago · link · parent

Right, we already have incredibly bitrate-starved 1080p. But now you can have four times as many pixels for your compression artifacts!

comment 11y ago · link · parent

They would also have to pay the added HEVC licensing cost for Flash Player, which is substantially more than H.264 was.

comment 11y ago · link · parent

Speaking of, you should consider adding a Opus or Vorbis for wider browser support.

comment 12y ago · link · parent

I have never liked the streaming services like Spotify for this reason - the royalties seem incredibly small (the DRM is also not great).

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

Right. The real jump from small to large RAM devices is the presence or absence of DRAM.

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

You can totally use the Arduino in production, and it's happened quite often. The core of the Arduino is just the ATMega8 micro, which is only a few dollars - Arduino is just a nice programming environment and set of libraries for it.

comment 12y ago · link · parent

Some devices do have hardware JPEG decoding, however all mobile browsers do software JPEG decoding, often with the SIMD-accelerated libjpeg-turbo.

This is the software video decoder, by the way: https://github.com/brion/ogv.js

comment 12y ago · link · parent

"potentially gigabytes of data" is now a microSD card smaller than my thumbnail, or alternately the cheapest instance on AWS.

comment 12y ago · link · parent

They both have to worry, just a different person. For JS, it is the page author / publisher. For C++, it would be the browser vendor.

comment 12y ago · link · parent

There is also a Javascript port of WebP decoding: http://webpjs.appspot.com/

As a bonus, you won't have to pay for a HEVC decoder license.

comment 12y ago · link · parent

Looking at the result and judging is actually the best and most important metric. There are numerical metrics, like SSIM, but they are always worse than human comparison trials. You're optimizing for what looks best to a human in the end, after all.

comment 12y ago · link · parent

The patents would only cover the implementation that comes with the hardware, not any other software implementation running on it. This means you'd have to use the hardware decoder APIs to decode images, which is less than ideal when you want fast, low latency decoding.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

There are still patent issues, and you still need to obtain a license to use the software. You will never see this image format integrated into any other open source projects, like Firefox, for this reason.

comment 12y ago · link · parent

The following paper explains many of the reasons that engineers lost interest in fractal image compression: http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=660992...

Unfortunately I can't find a free PDF at the moment.

comment 12y ago · link · parent

There's no reason to wait until the I-frame format is finalized - a still image format would probably be a separate codec anyway, so compatibility isn't important.

comment 12y ago · link · parent

I can't imagine ever wanting to spin up a hardware HEVC decoder context every time I want to render an image. That would enormously slow down display of a web page with this format.

Edit: decoder, not encoder

comment 12y ago · link · parent

All of your complaints seem to be UI features. Swapping out the rendering engine for Webkit wouldn't fix any of them.
1
343536
40