Hello,

I have opened a pull request on Forgejo that adds frame threading to
the VC-1 and WMV3 decoders:

https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/26126

It is a series of three patches:

1. avcodec/vc1dec: add frame threading support
2. avcodec/vc1dec: finish frame thread setup early for field B-pictures
3. avcodec/vc1dec: let field I/P pictures overlap with frame threading

On a 1080p progressive VC-1 Advanced Profile stream, decoding gets
2.8x faster with 4 threads and 4.3x with 8. On a Fire TV Stick 4K Max
(4x Cortex-A55), VC-1 that is not hardware decoded now plays smoothly
in Kodi instead of stuttering.

FATE passes with THREADS=1 and with THREADS=4 THREAD_TYPE=frame, and
AddressSanitizer is clean, also on corrupted input. Details are in the
pull request.

This is my first contribution, so the CI workflows are still waiting
for a maintainer's approval. I would be grateful if someone could
approve them and have a look at the patches. I am happy to rework or
split them as needed.

Thanks,
Alex
_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to