News for hackers. Stuff that matters.
Re:AV1: A new general-purpose video codec by Reason077 on Monday April 09, 2018 @04:40PM (#16796792)
Considering Intel, AMD, ARM, Nvidia, Apple, and other hardware companies are all members of the Alliance for Open Media - which is the consortium behind AV1 - I'd expect that work to support it in hardware is already well underway.

https://aomedia.org

Re:AV1: A new general-purpose video codec by bilbo0s on Monday April 09, 2018 @04:58PM (#16796936)
Ah...

So we have to buy new processors.

Re:AV1: A new general-purpose video codec by cbhl on Monday April 09, 2018 @06:09PM (#16797416)
Well, if you want hardware-accelerated decoding, you need new hardware. That seems reasonable?

Software encoder/decoder implementations will also be a thing in the interim, until the hardware is ready.

Re:AV1: A new general-purpose video codec by erikpukinskis on Monday April 09, 2018 @06:33PM (#16797561)
Are there no common computations among compression algorithms?
Re:AV1: A new general-purpose video codec by aseipp on Monday April 09, 2018 @06:46PM (#16797638)
It doesn't really matter even if there are, in the case of hardware implementations -- because hardware decoders/encoders are typically fixed-function hardware blocks with fixed functionality. They are not designed for flexibility or reuse between formats. They are designed for exactly 1 function and nothing else.

Even if AV1 and VP9 share structurally similar components, no VP9 decoder is going to work out of the box. It may mean that people who produce AV1-capable encoding/decoding hardware have a better starting point, though (provided they had VP9 hardware, beforehand)

Re:AV1: A new general-purpose video codec by erikpukinskis on Tuesday April 10, 2018 @12:19AM (#16798959)
Right but I guess I’m asking if they COULD be or if you’d need like a FPGA for that.
Re:AV1: A new general-purpose video codec by wmf on Tuesday April 10, 2018 @01:09AM (#16799112)
AFAIK a lot of "hardware" codecs are DSPs with some extra instructions that are good for video (like sum of absolute differences). In theory maybe they could support new algorithms with a firmware update. In reality, such firmware may simply not be developed or the DSP may not be fast enough to run a new codec.
Re:AV1: A new general-purpose video codec by greenpenguin on Tuesday April 10, 2018 @07:03AM (#16800440)
Most DSPs I've worked with have an assortment of really specific extra instructions added for the particular application. I suspect these DSPs are similar - adding a new codec probably means adding a few more instructions, or even the odd hardware block dangling off the side.
Re:AV1: A new general-purpose video codec by vanderZwan on Tuesday April 10, 2018 @09:07AM (#16801036)
Do you think the Mill family of processors could find a niche here? (if it ever sees the light of day, and I hope so because the technical videos are super-interesting (and educational))

[0] https://millcomputing.com/

Re:AV1: A new general-purpose video codec by wmf on Tuesday April 10, 2018 @06:27PM (#16806160)
People suggesting Mill as the solution to every problem without giving any reasons certainly doesn't give a good impression.
Re:AV1: A new general-purpose video codec by vanderZwan on Tuesday April 10, 2018 @07:18PM (#16806547)
The Mill has been described as having more in common with a DSP than with a regular CPU. Apologies, I thought that was common knowledge.
Re:AV1: A new general-purpose video codec by viraptor on Monday April 09, 2018 @06:47PM (#16797646)
There are. That's the reason we got instruction set extensions like simd.
Re:AV1: A new general-purpose video codec by Nanite on Monday April 09, 2018 @05:57PM (#16797342)
If you don't want your macbook to burn a hole in your lap, potentially. I'm sure most recent processors will be able to do playback, just not optimized, and at high cpu load.
Re:AV1: A new general-purpose video codec by zanny on Monday April 09, 2018 @09:40PM (#16798380)
I wonder if AV1 could work with an OpenCL decoder since it does block prediction. Would almost certainly need too much per-frame sychronization to work though...
Re:AV1: A new general-purpose video codec by Viper007Bond on Monday April 09, 2018 @10:27PM (#16798576)
No different than HEVC or anything else. My CPUs are a few generations behind (i7-4790K and i5-4690K) and they can't hardware decode/encode HEVC.
Re:AV1: A new general-purpose video codec by sundvor on Monday April 09, 2018 @11:51PM (#16798870)
Yet if you bought a Nvidia 960 about 1.5 years ago when I did (because it supported HEVC, and I upgraded my 10 year old plasma to a 4k TV), it can do it for you. My HTPC can happily play back high bitrate 4k HEVC content without as much as breaking into a sweat.

Sadly Netflix doesn't see it that way and demands that I update my perfectly functional i7-2500 system to a newer one to play back their 4k content.

(Sorry, slightly OT rant).

Re:AV1: A new general-purpose video codec by nerdymanchild on Monday April 09, 2018 @05:25PM (#16797143)
Unlikely, I would imagine that the vast majority of intrinsics used for VP9 decoding can be used for AV1 decoding as well.
Re:AV1: A new general-purpose video codec by ckocagil on Monday April 09, 2018 @06:43PM (#16797623)
FPGAs can't come soon enough.
Re:AV1: A new general-purpose video codec by djrogers on Monday April 09, 2018 @07:17PM (#16797836)
FPGAs will never be able to compete on size, cost, or performance/watt compared to optimized dedicated silicon. You're not going to find an FPGA capable of being programmed to encode video on a mobile device.
Re:AV1: A new general-purpose video codec by milkmiruku on Monday April 09, 2018 @08:43PM (#16798179)
Aside: I did laugh the other day when I saw a video of the Amiga Vampire FPGA enabling an A600 to decode and play MP3 files.

http://www.apollo-accelerators.com

Re:AV1: A new general-purpose video codec by infogulch on Monday April 09, 2018 @09:00PM (#16798228)
On the performance/watt scale they sit between dedicated silicon and general cpus, right? If so, they could be useful as a stop-gap to keep older devices relevant longer as new standards are released that didn't make it into the silicon yet.
Re:AV1: A new general-purpose video codec by chillingeffect on Monday April 09, 2018 @11:31PM (#16798806)
in theory yes, but in practicality, there are two points that make it probably impractical.

First, the reprogrammability of FPGAs means lots of unused gates and less density, or wasted space. with flash technology nowadays, it doesn't waste as much power, but the footprint is just so large it's not worth it.

Second, a lot of the things that make custom silicon fast can be found in GPUs, such as ALU, MAC, FFT, FIR, SIMD and other DSP slices. Sure, there is a whole additional layer of optimization that can be done with custom silicon, but the computational powerhouses already exist. It's mostly (not all) a matter of reprogramming the memory movements from block to block, delegating certain operations to the CPU and general optimization. Most new codec algorithms can probably done pretty well with GPUs on phones these days.

And unfortunately, cell phone companies aren't interested in keeping older HW relevant :( Other industries might, though. My friend said lots of military radar projects he worked on used FPGAs.

Re:AV1: A new general-purpose video codec by FridgeSeal on Monday April 09, 2018 @08:10PM (#16798041)
The power of FPGA's is their flexibility, not their pure performance.

Dedicated, fixed silicon will outperform FPGA's in performance and energy use practically every time.

For rare/uncommon use cases, having an FPGA you can adapt to your algorithm is fantastic, but for a use case as common and day-to-day as decoding video, a dedicated chip is far more ideal.