News for hackers. Stuff that matters.
Re:Apple Backs AV1: What Does This Mean for the Future of Vi... by microcolonel on Wednesday February 07, 2018 @08:48AM (#16324322)
So bizarre to write their own decoder, especially given libFLAC is BSD licensed.
Re:Apple Backs AV1: What Does This Mean for the Future of Vi... by tzahola on Wednesday February 07, 2018 @12:36PM (#16326295)
It actually makes sense, because libFLAC has no public API for getting the compressed audio packets as is. Rice/huffmann/whatever decompression always happens inside libFLAC.

With Apple’s AudioFile API you can decide whether you want the decompressed PCM samples, or the underlying compressed packets. You can get better energy efficiency if you offload the decompression step to the dedicated coprocessor. The difference is smaller than with hardware vs software h.264 decoding, but there is a difference.

(For lossy codecs this also makes sense when you want to forward the compressed packets to a wireless speaker in order to avoid lossy recompression on Bluetooth transmission.)