Searched refs:max_data (Results 1 – 4 of 4) sorted by relevance
528 int max_data = (1 << m_bpc) - 1; in LoadColorInfo() local534 m_pCompData[i].m_DecodeStep = (max - m_pCompData[i].m_DecodeMin) / max_data; in LoadColorInfo()538 def_max = (FX_FLOAT)max_data; in LoadColorInfo()549 m_pCompData[i].m_DecodeStep = (FX_FLOAT)max_data; in LoadColorInfo()551 …_pCompData[i].m_DecodeStep = (m_pCompData[i].m_DecodeStep - m_pCompData[i].m_DecodeMin) / max_data; in LoadColorInfo()948 int max_data = (1 << m_bpc) - 1; in TranslateScanline24bpp() local982 R = NORMALCOLOR_MAX(R, max_data); in TranslateScanline24bpp()983 G = NORMALCOLOR_MAX(G, max_data); in TranslateScanline24bpp()984 B = NORMALCOLOR_MAX(B, max_data); in TranslateScanline24bpp()985 dest_scan[dest_byte_pos] = B * 255 / max_data; in TranslateScanline24bpp()[all …]
507 struct max_data { struct520 struct max_data * d = (struct max_data*)userdata; in max_callback() argument535 struct max_data data; in rc_get_max_index()
196 int16_t max_data = AbsValue(frame.data_[0]); in MaxAudioFrame() local198 max_data = std::max(max_data, AbsValue(frame.data_[i])); in MaxAudioFrame()201 return max_data; in MaxAudioFrame()