Hi, On Fri, Jun 10, 2011 at 6:31 PM, Ronald S. Bultje <[email protected]> wrote: > This is part of the Great Evil Plan to simplify swscale. Note that > you'll see some code duplication between the output functions for > different RGB variants, and even between packed-YUV and RGB > variants. This can partially be prevented by extracting the common > filtering code for packedX functions into a separate function, but > then the functions become harder to understand so I'm not sure if > that's a good idea yet. Opinions welcome. > --- > libswscale/swscale.c | 247 > ++++++++++++++++++++++++++++++++++++++------------ > 1 files changed, 190 insertions(+), 57 deletions(-)
For those wondering, I sent a second version that basically removes the LE variants, because right now the rgb48 functions unfortunately output 8bit output in both bytes. They're commented out and can thus easily be re-enabled once we have >8bit scaling functions (on my list). Ronald _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
