Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
smclut.h
00001 #ifndef _SMCLUT_H_ 00002 #define _SMCLUT_H_ 00003 00004 #include <stdint.h> 00005 00006 const uint16_t LUT_H1[32] = { 00007 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 00008 0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 00009 }; 00010 00011 const uint16_t LUT_H2[32] = { 00012 0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 00013 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 00014 }; 00015 00016 const uint16_t LUT_H3[32] = { 00017 1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0, 00018 0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1 00019 }; 00020 00021 00022 const uint16_t LUT_H4[32] = { 00023 0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1, 00024 1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0, 00025 }; 00026 00027 00028 uint16_t LUT_L1[32] = { 00029 0 ,102,194 ,286 , 00030 363 ,424,471 ,501 , 00031 512 ,501,471 ,424 , 00032 363 ,286,194 ,102 , 00033 0 ,0 ,0 ,0 , 00034 0 ,0 ,0 ,0 , 00035 0 ,0 ,0 ,0 , 00036 0 ,0 ,0 ,0 00037 }; 00038 00039 uint16_t LUT_L2[32] = { 00040 0 ,0 ,0 ,0 , 00041 0 ,0 ,0 ,0 , 00042 0 ,0 ,0 ,0 , 00043 0 ,0 ,0 ,0 , 00044 0 ,102 ,194,286 , 00045 363 ,424 ,471 ,501 , 00046 512 ,501 ,471 ,424 , 00047 363 ,286 ,194 ,102. 00048 }; 00049 00050 uint16_t LUT_L3[32] = { 00051 0 ,0 ,0 ,0 , 00052 0 ,0 ,0 ,0 , 00053 0 ,102 ,194 ,286 , 00054 363 ,424 ,471 ,501 , 00055 512 ,501 ,471 ,424 , 00056 363 ,286 ,194 ,102 , 00057 0 ,0 ,0 ,0 , 00058 0 ,0 ,0 ,0 00059 }; 00060 00061 uint16_t LUT_L4[32] = { 00062 512 ,501,471 ,424 , 00063 363 ,286,194 ,102 , 00064 0 ,0 ,0 ,0 , 00065 0 ,0 ,0 ,0 , 00066 0 ,0 ,0 ,0 , 00067 0 ,0 ,0 ,0 , 00068 0 ,102,194 ,286 , 00069 363 ,424,471 ,501 00070 }; 00071 00072 00073 #endif
Generated on Sun Jul 17 2022 13:16:54 by
1.7.2