CrendKing / avisynth_filter

DirectShow filters that put AviSynth and VapourSynth into video playing
MIT License
107 stars 8 forks source link

Wrong (de-)interleaving of rightmost unaligned pixels when bpp=2 #15

Closed chainikdn closed 3 years ago

chainikdn commented 3 years ago

... it must be for (int i = remainderStart; i < rowSize; i+=bytesPerComponent) instead of for (int i = remainderStart; i < rowSize; ++i) for interleaving. Deinterleaving looks wrong too.

CrendKing commented 3 years ago

Fixed at https://github.com/CrendKing/avisynth_filter/commit/00c2062a8a36b864cf5ff83b25105cb24d63bbf9

I didn't realize I don't have a test for the 2bpp case. Thanks for letting me know.