avif-format icon indicating copy to clipboard operation
avif-format copied to clipboard

More multiprocessing

Open Johnnycyan opened this issue 3 years ago • 1 comments

Is there any way to make it use more cores? On my 3900x it only uses about 16% of my cpu. The default Photoshop PNG exporter uses the whole CPU. So I'm hoping this can be achieved to speed up the saving.

Johnnycyan avatar May 17 '21 22:05 Johnnycyan

Is there any way to make it use more cores?

It should be possible to have the encoder split the frame into tiles that can be encoded on separate threads, but this would increase the image file size. The hard part would be developing an algorithm to guess the optimal number of tiles for a given image size.

On my 3900x it only uses about 16% of my cpu.

I have noticed similar results on my 4790K, AOM does not always use the number of hardware threads that it is allowed to use when encoding a single frame without tiling.

0xC0000054 avatar May 18 '21 00:05 0xC0000054