Searched refs:m_pPalette (Results 1 – 5 of 5) sorted by relevance
27 m_pPalette = nullptr; in CFX_DIBitmap()110 m_pPalette = std::move(pSrcBitmap->m_pPalette); in TakeOver()227 if (m_pPalette) in TransferBitmap()529 return m_pPalette ? m_pPalette.get()[1] : 0xffffffff; in GetPixel()531 return m_pPalette ? m_pPalette.get()[0] : 0xff000000; in GetPixel()536 return m_pPalette ? m_pPalette.get()[*pos] in GetPixel()567 if (m_pPalette) { in SetPixel()568 if (color == m_pPalette.get()[1]) { in SetPixel()585 if (m_pPalette) { in SetPixel()587 if (m_pPalette.get()[i] == color) { in SetPixel()[all …]
623 pNewBitmap->SetPalette(m_pPalette.get()); in Clone()652 if (m_pPalette) in BuildPalette()656 m_pPalette.reset(FX_Alloc(uint32_t, 2)); in BuildPalette()658 m_pPalette.get()[0] = 0xff; in BuildPalette()659 m_pPalette.get()[1] = 0; in BuildPalette()661 m_pPalette.get()[0] = 0xff000000; in BuildPalette()662 m_pPalette.get()[1] = 0xffffffff; in BuildPalette()665 m_pPalette.reset(FX_Alloc(uint32_t, 256)); in BuildPalette()668 m_pPalette.get()[i] = 0xff - i; in BuildPalette()671 m_pPalette.get()[i] = 0xff000000 | (i * 0x10101); in BuildPalette()[all …]
54 uint32_t* GetPalette() const { return m_pPalette.get(); } in GetPalette()133 std::unique_ptr<uint32_t, FxFreeDeleter> m_pPalette; variable
23 m_pPalette.reset(GetDestPalette()); in LoadSrc()
1002 reset_argb = m_pPalette ? m_pPalette.get()[0] : 0xFF000000; in GetScanline()1003 set_argb = m_pPalette ? m_pPalette.get()[1] : 0xFFFFFFFF; in GetScanline()1049 if (m_pPalette) { in GetScanline()1050 *pDestPixel++ = FXARGB_B(m_pPalette.get()[index]); in GetScanline()1051 *pDestPixel++ = FXARGB_G(m_pPalette.get()[index]); in GetScanline()1052 *pDestPixel++ = FXARGB_R(m_pPalette.get()[index]); in GetScanline()1183 reset_argb = m_pPalette ? m_pPalette.get()[0] : 0xFF000000; in DownSampleScanline1Bit()1184 set_argb = m_pPalette ? m_pPalette.get()[1] : 0xFFFFFFFF; in DownSampleScanline1Bit()1209 } else if (m_pPalette) { in DownSampleScanline1Bit()1210 reset_argb = m_pPalette.get()[0]; in DownSampleScanline1Bit()[all …]