[x265] Is it useful to change the csp color space function argument into the template function argument?

Ximing Cheng chengximing1989 at gmail.com
Sat Dec 19 17:21:54 CET 2015


In the code, there is a lot of places using the csp color space as an
integer argument which passed to functions, so in the deeper functions have
to use if statement to choose the right condition to execute, if we change
this into template functions as the CSP value have only four different
values.

Is it useful to change the csp color space function argument into the
template function argument, as a lot of code may be changed?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20151220/bb0aab30/attachment.html>


More information about the x265-devel mailing list