Home
last modified time | relevance | path

Searched refs:src_palette (Results 1 – 13 of 13) sorted by relevance

/external/pdfium/core/fxge/dib/
Dcfx_dibbase.cpp157 pdfium::span<const uint32_t> src_palette = pSrcBitmap->GetPaletteSpan(); in ConvertBuffer_1bppPlt2Gray() local
158 const uint8_t reset_r = FXARGB_R(src_palette[0]); in ConvertBuffer_1bppPlt2Gray()
159 const uint8_t reset_g = FXARGB_G(src_palette[0]); in ConvertBuffer_1bppPlt2Gray()
160 const uint8_t reset_b = FXARGB_B(src_palette[0]); in ConvertBuffer_1bppPlt2Gray()
161 const uint8_t set_r = FXARGB_R(src_palette[1]); in ConvertBuffer_1bppPlt2Gray()
162 const uint8_t set_g = FXARGB_G(src_palette[1]); in ConvertBuffer_1bppPlt2Gray()
163 const uint8_t set_b = FXARGB_B(src_palette[1]); in ConvertBuffer_1bppPlt2Gray()
188 pdfium::span<const uint32_t> src_palette = pSrcBitmap->GetPaletteSpan(); in ConvertBuffer_8bppPlt2Gray() local
191 gray[i] = FXRGB2GRAY(FXARGB_R(src_palette[i]), FXARGB_G(src_palette[i]), in ConvertBuffer_8bppPlt2Gray()
192 FXARGB_B(src_palette[i])); in ConvertBuffer_8bppPlt2Gray()
[all …]
Dcfx_bitmapstorer.cpp39 pdfium::span<const uint32_t> src_palette) { in SetInfo() argument
46 if (!src_palette.empty()) in SetInfo()
47 pBitmap->SetPalette(src_palette); in SetInfo()
Dcfx_scanlinecompositor.cpp736 pdfium::span<const uint8_t> src_palette, in CompositeRow_1bppPal2Gray() argument
743 int reset_gray = src_palette[0]; in CompositeRow_1bppPal2Gray()
744 int set_gray = src_palette[1]; in CompositeRow_1bppPal2Gray()
817 pdfium::span<const uint32_t> src_palette, in CompositeRow_1bppRgb2Rgb_NoBlend() argument
824 int reset_r = FXARGB_R(src_palette[0]); in CompositeRow_1bppRgb2Rgb_NoBlend()
825 int reset_g = FXARGB_G(src_palette[0]); in CompositeRow_1bppRgb2Rgb_NoBlend()
826 int reset_b = FXARGB_B(src_palette[0]); in CompositeRow_1bppRgb2Rgb_NoBlend()
827 int set_r = FXARGB_R(src_palette[1]); in CompositeRow_1bppRgb2Rgb_NoBlend()
828 int set_g = FXARGB_G(src_palette[1]); in CompositeRow_1bppRgb2Rgb_NoBlend()
829 int set_b = FXARGB_B(src_palette[1]); in CompositeRow_1bppRgb2Rgb_NoBlend()
[all …]
Dcfx_scanlinecompositor.h23 pdfium::span<const uint32_t> src_palette,
74 void InitSourcePalette(pdfium::span<const uint32_t> src_palette);
Dscanlinecomposer_iface.h25 pdfium::span<const uint32_t> src_palette) = 0;
Dcfx_bitmapcomposer.cpp54 pdfium::span<const uint32_t> src_palette) { in SetInfo() argument
58 if (!m_Compositor.Init(m_pBitmap->GetFormat(), src_format, src_palette, in SetInfo()
Dcfx_bitmapstorer.h26 pdfium::span<const uint32_t> src_palette) override;
Dcfx_bitmapcomposer.h43 pdfium::span<const uint32_t> src_palette) override;
Dcfx_dibbase.h63 void SetPalette(pdfium::span<const uint32_t> src_palette);
/external/pdfium/core/fpdfapi/page/
Dcpdf_transferfuncdib.cpp87 pdfium::span<const uint32_t> src_palette = m_pSrc->GetPaletteSpan(); in TranslateScanline() local
91 FX_ARGB src_argb = src_palette[*src_buf]; in TranslateScanline()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp727 pdfium::span<const uint32_t> src_palette = pSource->GetPaletteSpan(); in Upsample() local
728 CHECK_LE(src_palette_size, src_palette.size()); in Upsample()
729 if (src_palette_size < src_palette.size()) in Upsample()
730 src_palette = src_palette.first(src_palette_size); in Upsample()
732 dst32_storage = Fill32BppDestStorageWithPalette(pSource, src_palette); in Upsample()
/external/wuffs-mirror-release-c/release/c/
Dwuffs-v0.3.c5127 wuffs_base__slice_u8 src_palette,
5148 wuffs_base__slice_u8 src_palette,
5170 wuffs_base__slice_u8 src_palette, in prepare() argument
5173 src_pixfmt, src_palette, blend); in prepare()
19827 wuffs_base__slice_u8 src_palette, in wuffs_base__pixel_swizzler__prepare__y() argument
19868 wuffs_base__slice_u8 src_palette, in wuffs_base__pixel_swizzler__prepare__y_16be() argument
19911 wuffs_base__slice_u8 src_palette, in wuffs_base__pixel_swizzler__prepare__indexed__bgra_nonpremul() argument
19915 if (wuffs_base__slice_u8__copy_from_slice(dst_palette, src_palette) != in wuffs_base__pixel_swizzler__prepare__indexed__bgra_nonpremul()
19929 dst_palette.ptr, dst_palette.len, src_palette.ptr, in wuffs_base__pixel_swizzler__prepare__indexed__bgra_nonpremul()
19930 src_palette.len, true) != in wuffs_base__pixel_swizzler__prepare__indexed__bgra_nonpremul()
[all …]
Dwuffs-v0.2.c2386 wuffs_base__slice_u8 src_palette);
2399 wuffs_base__slice_u8 src_palette);
2414 wuffs_base__slice_u8 src_palette) { in prepare() argument
2416 src_format, src_palette); in prepare()
4657 wuffs_base__slice_u8 src_palette) { in wuffs_base__pixel_swizzler__prepare() argument
4673 if (wuffs_base__slice_u8__copy_from_slice(dst_palette, src_palette) != in wuffs_base__pixel_swizzler__prepare()
4680 if (wuffs_base__slice_u8__copy_from_slice(dst_palette, src_palette) != in wuffs_base__pixel_swizzler__prepare()
4689 if (wuffs_base__slice_u8__copy_from_slice(dst_palette, src_palette) != in wuffs_base__pixel_swizzler__prepare()
4697 src_palette) != 1024) { in wuffs_base__pixel_swizzler__prepare()
4706 src_palette) != 1024) { in wuffs_base__pixel_swizzler__prepare()