Searched refs:gray_value (Results 1 – 4 of 4) sorted by relevance
222 float gray_value = (0.2126 * r) + (0.7152 * g) + (0.0722 * b); in DecodeAndProcessImage() local225 gray_value -= 128; in DecodeAndProcessImage()231 image_data[index] = static_cast<int8_t>(gray_value); in DecodeAndProcessImage()
958 uint64_t gray_value = 0; in bin_to_gray() local959 gray_value = (1ull << 63) & bin_value; in bin_to_gray()964 gray_value |= ((gray_arg_1 ^ gray_arg_2) << i); in bin_to_gray()966 return gray_value; in bin_to_gray()969 uint64_t TrcPktProcStm::gray_to_bin(uint64_t gray_value) in gray_to_bin() argument974 uint8_t bit_tmp = ((1ull << bin_bit) & gray_value) >> bin_bit; in gray_to_bin()977 bit_tmp ^= (((1ull << gray_bit) & gray_value) >> gray_bit); in gray_to_bin()
143 uint64_t gray_to_bin(uint64_t gray_value);
7728 gray_value; in XMakeStandardColormap() local7879 gray_value=(unsigned short) XPixelIntensity(&color); in XMakeStandardColormap()7880 color.red=gray_value; in XMakeStandardColormap()7881 color.green=gray_value; in XMakeStandardColormap()7882 color.blue=gray_value; in XMakeStandardColormap()8016 gray_value=(unsigned short) XPixelIntensity(&color); in XMakeStandardColormap()8017 color.red=gray_value; in XMakeStandardColormap()8018 color.green=gray_value; in XMakeStandardColormap()8019 color.blue=gray_value; in XMakeStandardColormap()8053 gray_value=(unsigned short) XPixelIntensity(&color); in XMakeStandardColormap()[all …]