< prev index next >

src/java.desktop/share/native/libmlib_image/mlib_c_ImageLookUp_f.c

Print this page

        

*** 737,747 **** --- 737,754 ---- for (c = 0; c < csize; c++) { table_base[c] = &table[c][32768]; } + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Warray-bounds" + #endif MLIB_C_IMAGELOOKUP(mlib_u8, mlib_s16, table_base); + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif } /***************************************************************/ void mlib_c_ImageLookUp_U16_U8(const mlib_u16 *src, mlib_s32 slb,
*** 757,767 **** --- 764,781 ---- for (c = 0; c < csize; c++) { table_base[c] = &table[c][0]; } + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Warray-bounds" + #endif MLIB_C_IMAGELOOKUP(mlib_u8, mlib_u16, table_base); + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif } /***************************************************************/ void mlib_c_ImageLookUp_S32_U8(const mlib_s32 *src, mlib_s32 slb,
*** 777,787 **** --- 791,808 ---- for (c = 0; c < csize; c++) { table_base[c] = &table[c][TABLE_SHIFT_S32]; } + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Warray-bounds" + #endif MLIB_C_IMAGELOOKUP(mlib_u8, mlib_s32, table_base); + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif } /***************************************************************/ void mlib_c_ImageLookUp_U8_S16(const mlib_u8 *src, mlib_s32 slb,
*** 1343,1353 **** --- 1364,1381 ---- for (c = 0; c < csize; c++) { table_base[c] = &table[c][32768]; } + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Warray-bounds" + #endif MLIB_C_IMAGELOOKUP(mlib_s16, mlib_s16, table_base); + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif } /***************************************************************/ void mlib_c_ImageLookUp_U16_S16(const mlib_u16 *src, mlib_s32 slb,
*** 1363,1373 **** --- 1391,1408 ---- for (c = 0; c < csize; c++) { table_base[c] = &table[c][0]; } + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Warray-bounds" + #endif MLIB_C_IMAGELOOKUP(mlib_s16, mlib_u16, table_base); + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif } /***************************************************************/ void mlib_c_ImageLookUp_S32_S16(const mlib_s32 *src, mlib_s32 slb,
*** 1383,1393 **** --- 1418,1435 ---- for (c = 0; c < csize; c++) { table_base[c] = &table[c][TABLE_SHIFT_S32]; } + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Warray-bounds" + #endif MLIB_C_IMAGELOOKUP(mlib_s16, mlib_s32, table_base); + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif } /***************************************************************/ void mlib_c_ImageLookUp_S16_U16(const mlib_s16 *src, mlib_s32 slb,
*** 1403,1413 **** --- 1445,1462 ---- for (c = 0; c < csize; c++) { table_base[c] = &table[c][32768]; } + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Warray-bounds" + #endif MLIB_C_IMAGELOOKUP(mlib_u16, mlib_s16, table_base); + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif } /***************************************************************/ void mlib_c_ImageLookUp_U16_U16(const mlib_u16 *src, mlib_s32 slb,
*** 1423,1433 **** --- 1472,1489 ---- for (c = 0; c < csize; c++) { table_base[c] = &table[c][0]; } + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Warray-bounds" + #endif MLIB_C_IMAGELOOKUP(mlib_u16, mlib_u16, table_base); + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif } /***************************************************************/ void mlib_c_ImageLookUp_S32_U16(const mlib_s32 *src, mlib_s32 slb,
*** 1443,1453 **** --- 1499,1516 ---- for (c = 0; c < csize; c++) { table_base[c] = &table[c][TABLE_SHIFT_S32]; } + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Warray-bounds" + #endif MLIB_C_IMAGELOOKUP(mlib_u16, mlib_s32, table_base); + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif } /***************************************************************/ void mlib_c_ImageLookUp_U8_S32(const mlib_u8 *src, mlib_s32 slb,
*** 1783,1793 **** --- 1846,1863 ---- for (c = 0; c < csize; c++) { table_base[c] = &table[c][32768]; } + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Warray-bounds" + #endif MLIB_C_IMAGELOOKUP(mlib_s32, mlib_s16, table_base); + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif } /***************************************************************/ void mlib_c_ImageLookUp_U16_S32(const mlib_u16 *src, mlib_s32 slb,
*** 1803,1813 **** --- 1873,1890 ---- for (c = 0; c < csize; c++) { table_base[c] = &table[c][0]; } + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Warray-bounds" + #endif MLIB_C_IMAGELOOKUP(mlib_s32, mlib_u16, table_base); + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif } /***************************************************************/ void mlib_c_ImageLookUp_S32_S32(const mlib_s32 *src, mlib_s32 slb,
*** 1823,1833 **** --- 1900,1917 ---- for (c = 0; c < csize; c++) { table_base[c] = &table[c][TABLE_SHIFT_S32]; } + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Warray-bounds" + #endif MLIB_C_IMAGELOOKUP(mlib_s32, mlib_s32, table_base); + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif } /***************************************************************/ void mlib_c_ImageLookUpSI_U8_U8(const mlib_u8 *src, mlib_s32 slb,
*** 2833,2843 **** --- 2917,2934 ---- for (c = 0; c < csize; c++) { table_base[c] = &table[c][TABLE_SHIFT_S32]; } + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Warray-bounds" + #endif MLIB_C_IMAGELOOKUPSI(mlib_u8, mlib_s32, table_base); + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif } /***************************************************************/ void mlib_c_ImageLookUpSI_U8_S16(const mlib_u8 *src, mlib_s32 slb,
*** 3290,3300 **** --- 3381,3398 ---- for (c = 0; c < csize; c++) { table_base[c] = &table[c][32768]; } + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Warray-bounds" + #endif MLIB_C_IMAGELOOKUPSI(mlib_s16, mlib_s16, table_base); + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif } /***************************************************************/ void mlib_c_ImageLookUpSI_U16_S16(const mlib_u16 *src, mlib_s32 slb,
*** 3330,3340 **** --- 3428,3445 ---- for (c = 0; c < csize; c++) { table_base[c] = &table[c][TABLE_SHIFT_S32]; } + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Warray-bounds" + #endif MLIB_C_IMAGELOOKUPSI(mlib_s16, mlib_s32, table_base); + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif } /***************************************************************/ void mlib_c_ImageLookUpSI_S16_U16(const mlib_s16 *src, mlib_s32 slb,
*** 3370,3380 **** --- 3475,3492 ---- for (c = 0; c < csize; c++) { table_base[c] = &table[c][0]; } + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Warray-bounds" + #endif MLIB_C_IMAGELOOKUPSI(mlib_u16, mlib_u16, table_base); + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif } /***************************************************************/ void mlib_c_ImageLookUpSI_S32_U16(const mlib_s32 *src, mlib_s32 slb,
*** 3390,3400 **** --- 3502,3519 ---- for (c = 0; c < csize; c++) { table_base[c] = &table[c][TABLE_SHIFT_S32]; } + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Warray-bounds" + #endif MLIB_C_IMAGELOOKUPSI(mlib_u16, mlib_s32, table_base); + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif } /***************************************************************/ void mlib_c_ImageLookUpSI_U8_S32(const mlib_u8 *src, mlib_s32 slb,
*** 3830,3840 **** --- 3949,3966 ---- for (c = 0; c < csize; c++) { table_base[c] = &table[c][32768]; } + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Warray-bounds" + #endif MLIB_C_IMAGELOOKUPSI(mlib_s32, mlib_s16, table_base); + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif } /***************************************************************/ void mlib_c_ImageLookUpSI_U16_S32(const mlib_u16 *src, mlib_s32 slb,
*** 3850,3860 **** --- 3976,3993 ---- for (c = 0; c < csize; c++) { table_base[c] = &table[c][0]; } + #ifdef __GNUC__ + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Warray-bounds" + #endif MLIB_C_IMAGELOOKUPSI(mlib_s32, mlib_u16, table_base); + #ifdef __GNUC__ + #pragma GCC diagnostic pop + #endif } /***************************************************************/ void mlib_c_ImageLookUpSI_S32_S32(const mlib_s32 *src, mlib_s32 slb,
< prev index next >