On Wed, 28 Feb 2024 16:45:50 +0100 Andreas Rheinhardt 
<andreas.rheinha...@outlook.com> wrote:
> I don't think this should be duplicated for every bitdepth.

To clarify, you think the bit depth should be just treated as a runtime
parameter instead of this being a template at all? How would you suggest
to handle the diference in pixel size between 8-bit and 10/12-bit?

Maybe a middle ground would be to compile this template only twice, once
for HBD and once for 8-bit, with the HBD code-path taking the bitdepth
as an extra parameter.

(That's actually what dav1d does internally)
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to