@@ -726,6 +726,8 @@ GpStatus convert_pixels(INT width, INT height,
726
726
{
727
727
case PixelFormat1bppIndexed :
728
728
convert_rgb_to_indexed (getpixel_16bppGrayScale , setpixel_1bppIndexed );
729
+ case PixelFormat4bppIndexed :
730
+ convert_rgb_to_indexed (getpixel_16bppGrayScale , setpixel_4bppIndexed );
729
731
case PixelFormat8bppIndexed :
730
732
convert_rgb_to_indexed (getpixel_16bppGrayScale , setpixel_8bppIndexed );
731
733
case PixelFormat16bppRGB555 :
@@ -755,6 +757,8 @@ GpStatus convert_pixels(INT width, INT height,
755
757
{
756
758
case PixelFormat1bppIndexed :
757
759
convert_rgb_to_indexed (getpixel_16bppRGB555 , setpixel_1bppIndexed );
760
+ case PixelFormat4bppIndexed :
761
+ convert_rgb_to_indexed (getpixel_16bppRGB555 , setpixel_4bppIndexed );
758
762
case PixelFormat8bppIndexed :
759
763
convert_rgb_to_indexed (getpixel_16bppRGB555 , setpixel_8bppIndexed );
760
764
case PixelFormat16bppGrayScale :
@@ -784,6 +788,8 @@ GpStatus convert_pixels(INT width, INT height,
784
788
{
785
789
case PixelFormat1bppIndexed :
786
790
convert_rgb_to_indexed (getpixel_16bppRGB565 , setpixel_1bppIndexed );
791
+ case PixelFormat4bppIndexed :
792
+ convert_rgb_to_indexed (getpixel_16bppRGB565 , setpixel_4bppIndexed );
787
793
case PixelFormat8bppIndexed :
788
794
convert_rgb_to_indexed (getpixel_16bppRGB565 , setpixel_8bppIndexed );
789
795
case PixelFormat16bppGrayScale :
@@ -813,6 +819,8 @@ GpStatus convert_pixels(INT width, INT height,
813
819
{
814
820
case PixelFormat1bppIndexed :
815
821
convert_rgb_to_indexed (getpixel_16bppARGB1555 , setpixel_1bppIndexed );
822
+ case PixelFormat4bppIndexed :
823
+ convert_rgb_to_indexed (getpixel_16bppARGB1555 , setpixel_4bppIndexed );
816
824
case PixelFormat8bppIndexed :
817
825
convert_rgb_to_indexed (getpixel_16bppARGB1555 , setpixel_8bppIndexed );
818
826
case PixelFormat16bppGrayScale :
@@ -842,6 +850,8 @@ GpStatus convert_pixels(INT width, INT height,
842
850
{
843
851
case PixelFormat1bppIndexed :
844
852
convert_rgb_to_indexed (getpixel_24bppRGB , setpixel_1bppIndexed );
853
+ case PixelFormat4bppIndexed :
854
+ convert_rgb_to_indexed (getpixel_24bppRGB , setpixel_4bppIndexed );
845
855
case PixelFormat8bppIndexed :
846
856
convert_rgb_to_indexed (getpixel_24bppRGB , setpixel_8bppIndexed );
847
857
case PixelFormat16bppGrayScale :
@@ -871,6 +881,8 @@ GpStatus convert_pixels(INT width, INT height,
871
881
{
872
882
case PixelFormat1bppIndexed :
873
883
convert_rgb_to_indexed (getpixel_32bppRGB , setpixel_1bppIndexed );
884
+ case PixelFormat4bppIndexed :
885
+ convert_rgb_to_indexed (getpixel_32bppRGB , setpixel_4bppIndexed );
874
886
case PixelFormat8bppIndexed :
875
887
convert_rgb_to_indexed (getpixel_32bppRGB , setpixel_8bppIndexed );
876
888
case PixelFormat16bppGrayScale :
@@ -900,6 +912,8 @@ GpStatus convert_pixels(INT width, INT height,
900
912
{
901
913
case PixelFormat1bppIndexed :
902
914
convert_rgb_to_indexed (getpixel_32bppARGB , setpixel_1bppIndexed );
915
+ case PixelFormat4bppIndexed :
916
+ convert_rgb_to_indexed (getpixel_32bppARGB , setpixel_4bppIndexed );
903
917
case PixelFormat8bppIndexed :
904
918
convert_rgb_to_indexed (getpixel_32bppARGB , setpixel_8bppIndexed );
905
919
case PixelFormat16bppGrayScale :
@@ -928,6 +942,8 @@ GpStatus convert_pixels(INT width, INT height,
928
942
{
929
943
case PixelFormat1bppIndexed :
930
944
convert_rgb_to_indexed (getpixel_32bppPARGB , setpixel_1bppIndexed );
945
+ case PixelFormat4bppIndexed :
946
+ convert_rgb_to_indexed (getpixel_32bppPARGB , setpixel_4bppIndexed );
931
947
case PixelFormat8bppIndexed :
932
948
convert_rgb_to_indexed (getpixel_32bppPARGB , setpixel_8bppIndexed );
933
949
case PixelFormat16bppGrayScale :
@@ -957,6 +973,8 @@ GpStatus convert_pixels(INT width, INT height,
957
973
{
958
974
case PixelFormat1bppIndexed :
959
975
convert_rgb_to_indexed (getpixel_48bppRGB , setpixel_1bppIndexed );
976
+ case PixelFormat4bppIndexed :
977
+ convert_rgb_to_indexed (getpixel_48bppRGB , setpixel_4bppIndexed );
960
978
case PixelFormat8bppIndexed :
961
979
convert_rgb_to_indexed (getpixel_48bppRGB , setpixel_8bppIndexed );
962
980
case PixelFormat16bppGrayScale :
@@ -986,6 +1004,8 @@ GpStatus convert_pixels(INT width, INT height,
986
1004
{
987
1005
case PixelFormat1bppIndexed :
988
1006
convert_rgb_to_indexed (getpixel_64bppARGB , setpixel_1bppIndexed );
1007
+ case PixelFormat4bppIndexed :
1008
+ convert_rgb_to_indexed (getpixel_64bppARGB , setpixel_4bppIndexed );
989
1009
case PixelFormat8bppIndexed :
990
1010
convert_rgb_to_indexed (getpixel_64bppARGB , setpixel_8bppIndexed );
991
1011
case PixelFormat16bppGrayScale :
@@ -1015,6 +1035,8 @@ GpStatus convert_pixels(INT width, INT height,
1015
1035
{
1016
1036
case PixelFormat1bppIndexed :
1017
1037
convert_rgb_to_indexed (getpixel_64bppPARGB , setpixel_1bppIndexed );
1038
+ case PixelFormat4bppIndexed :
1039
+ convert_rgb_to_indexed (getpixel_64bppPARGB , setpixel_4bppIndexed );
1018
1040
case PixelFormat8bppIndexed :
1019
1041
convert_rgb_to_indexed (getpixel_64bppPARGB , setpixel_8bppIndexed );
1020
1042
case PixelFormat16bppGrayScale :
0 commit comments