• Kostya Shishkov's avatar
    lagarith: add YUY2 decoding support · 464e9ab0
    Kostya Shishkov authored
    Unlike other variants, for YUY2 we need to use different prediction:
    * on line 0 for luma we should left predict starting from the second pixel
    * on line 1 we should left predict first 4 pixels for luma and 2 for chroma
    * median prediction employed here is taken directly from HuffYUV
    464e9ab0
lagarith.c 20.9 KB