News for hackers. Stuff that matters.
Re:AV1: A new general-purpose video codec by baxuz on Monday April 09, 2018 @04:21PM (#16796631)
What does this mean for hardware accellerated decoding?

Intel implemented VP9/h265 decoding in its processors just recently.

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.

Re:AV1: A new general-purpose video codec by cbhl on Monday April 09, 2018 @04:30PM (#16796705)
Same as when every new format comes out -- give a few years for the hardware folks to iterate on the hardware.
Re:AV1: A new general-purpose video codec by awill on Monday April 09, 2018 @05:03PM (#16796976)
Upon purchasing On2, It was Google's intention to release a new codec every 18-24 months or so. That would mean hardware would never catch up. However, Google didn't keep that pace. VP8 came out in 2010 and VP9 was 2013. AV1 was just released now. I would estimate that high end hardware launching in 2020 will have hardware decoding support for AV1. If AV2 doesn't launch until at least 2022, we'll have 2 good years :).
Re:AV1: A new general-purpose video codec by cbhl on Monday April 09, 2018 @05:37PM (#16797219)
I believe Google has hired quite a few hardware engineers since 2010. :)
Re:AV1: A new general-purpose video codec by awill on Monday April 09, 2018 @05:54PM (#16797326)
I bet. I believe Google offers reference implementations for free, but it's up to each hardware company (Nvidia, ARM, Intel etc..) to release a chip with hardware decoding enabled. Google can't do it for them.
Re:AV1: A new general-purpose video codec by baxuz on Monday April 09, 2018 @05:12PM (#16797048)
Can't wait to have my laptop dropping frames while running at 90°
Re:AV1: A new general-purpose video codec by nerdymanchild on Monday April 09, 2018 @05:21PM (#16797120)
To what extent are the set of intrinsics used for VP9/h265 decoding unreusable for AV1 decoding? My guess is that there is large amount of reusable intrinsics.
Re:AV1: A new general-purpose video codec by muizelaar on Monday April 09, 2018 @05:58PM (#16797351)
Intrinsics aren't used. The decoding is generally done by a fixed function hardware block.
Re:AV1: A new general-purpose video codec by nerdymanchild on Monday April 09, 2018 @06:10PM (#16797431)
Intrinsics must be used, how else is the hardware invoked?
Re:AV1: A new general-purpose video codec by ckocagil on Monday April 09, 2018 @06:44PM (#16797631)
https://en.wikipedia.org/wiki/Nvidia_PureVideo

>PureVideo occupies a considerable amount of a GPU's die area

Re:AV1: A new general-purpose video codec by blattimwind on Monday April 09, 2018 @06:29PM (#16797534)
Video decoders live somewhere in the general vicinity of the GPU and aren't invoked through CPU instructions. AFAIK.
Re:AV1: A new general-purpose video codec by nerdymanchild on Tuesday April 10, 2018 @03:30AM (#16799694)
This thread is about Intel processors, not GPUs
Re:AV1: A new general-purpose video codec by fulafel on Tuesday April 10, 2018 @07:34AM (#16800555)
The VP9/H.265 support in Intel chips is on the GPU side.
Re:AV1: A new general-purpose video codec by nerdymanchild on Tuesday April 10, 2018 @05:56PM (#16805906)
Thanks for the correction. I think my core point still holds without the intrinsics but I was mistaken on that point.