[HN Gopher] Edge264 - Minimalist, high-performance software deco...
___________________________________________________________________
Edge264 - Minimalist, high-performance software decoder for
H.264/AVC video
Author : andsoitis
Score : 27 points
Date : 2025-10-01 21:00 UTC (1 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| ebb_earl_co wrote:
| I like the `VARIANTS` env. var [0] to take advantage of x86_64
| newer extensions if one's processor has them.
|
| CachyOS is a whole distro compiled with these flags, if possible,
| which is appealing.
|
| [0] https://github.com/tvlabs/edge264#compiling-and-testing
| kimixa wrote:
| I wonder why they use multiple executables instead of something
| like function multiversioning [0]
|
| [0] https://gcc.gnu.org/onlinedocs/gcc/Function-
| Multiversioning....
| kg wrote:
| Function multiversioning would require indirect
| jumps/indirect calls, wouldn't it? Separate executables can
| do static jumps/calls.
| kimixa wrote:
| On linux it uses IFUNC resolved at load/dynamic relocation
| time, so at runtime it's the same cost as any other
| (relocatable) function call. But they're "static" in that
| it's not a calculated address so pretty easy for a
| superscaler CPU to follow.
|
| So it _does_ have some limitations like not being inlined,
| same as any other external function.
| wyattblue wrote:
| This may eventually be better for people working in the cloud.
| Shame there's no apple silicon support.
|
| (See also Cisco's openh264, which supports decoding)
| jackedEngineer wrote:
| Talk by one of the authors -
| https://archive.fosdem.org/2025/schedule/event/fosdem-2025-5...
___________________________________________________________________
(page generated 2025-10-01 23:00 UTC)