Re:Minih264 – Minimalistic, single-header library for encodi...
by lieff on Saturday September 22, 2018 @12:22PM
(#18046588)
I've add screenshot of first intra frame and x264.264 to compare in players.
Re:Minih264 – Minimalistic, single-header library for encodi...
by danmg on Saturday September 22, 2018 @12:18PM
(#18046569)
That's most DSP code. Take a look at FFTW or SOKit.
Re:Minih264 – Minimalistic, single-header library for encodi...
by vardump on Saturday September 22, 2018 @03:26PM
(#18047572)
> The only grip I have is the 13k lines of C + intrinsics.
How are you supposed to get acceptable performance without intrinsics?
Re:Minih264 – Minimalistic, single-header library for encodi...
by userbinator on Saturday September 22, 2018 @05:07PM
(#18047996)
Especially if it's meant to be an educational and in any case non-realtime encoder, intrinsics are not really necessary and make the code less portable.
I also wonder how much the compiler can do autovectorisation on code like this --- it's pretty much exactly the type of code that autovectorisation is intended for.
Edit: I noticed in the benchmark that it compressed the 10s foreman.cif (demo video) in half a second, so it's already 20x faster than realtime on that small resolution.
The only grip I have is the 13k lines of C + intrinsics.