Normal
I would fear the duplicate code (actually it's not duplicate code) for YUV & RGB analysis as it would reduce the used cpu time and increase the memory usage only by a little (assuming that the analysis code isn't tens of thousands lines of code DVB subtitle filter is also using "duplicate" code for handling different YUV modes (in similar way the MS example filter is using .
I would fear the duplicate code (actually it's not duplicate code) for YUV & RGB analysis as it would reduce the used cpu time and increase the memory usage only by a little (assuming that the analysis code isn't tens of thousands lines of code
DVB subtitle filter is also using "duplicate" code for handling different YUV modes (in similar way the MS example filter is using .