Revision 1379b584 libswscale/swscale.c

View differences:

libswscale/swscale.c
765 765
            dest+=6;\
766 766
        }\
767 767
        break;\
768
    case PIX_FMT_RGB565:\
769
    case PIX_FMT_BGR565:\
768
    case PIX_FMT_RGB565BE:\
769
    case PIX_FMT_RGB565LE:\
770
    case PIX_FMT_BGR565BE:\
771
    case PIX_FMT_BGR565LE:\
770 772
        {\
771 773
            const int dr1= dither_2x2_8[y&1    ][0];\
772 774
            const int dg1= dither_2x2_4[y&1    ][0];\
......
780 782
            }\
781 783
        }\
782 784
        break;\
783
    case PIX_FMT_RGB555:\
784
    case PIX_FMT_BGR555:\
785
    case PIX_FMT_RGB555BE:\
786
    case PIX_FMT_RGB555LE:\
787
    case PIX_FMT_BGR555BE:\
788
    case PIX_FMT_BGR555LE:\
785 789
        {\
786 790
            const int dr1= dither_2x2_8[y&1    ][0];\
787 791
            const int dg1= dither_2x2_8[y&1    ][1];\

Also available in: Unified diff