Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/dib/
Dcfx_dibsource.cpp924 RetainPtr<CFX_DIBitmap> CFX_DIBSource::CloneConvert(FXDIB_Format dest_format) { in CloneConvert() argument
925 if (dest_format == GetFormat()) in CloneConvert()
929 if (!pClone->Create(m_Width, m_Height, dest_format)) in CloneConvert()
943 if (dest_format & 0x0200) { in CloneConvert()
944 if (dest_format == FXDIB_Argb) { in CloneConvert()
956 if (!ConvertBuffer(dest_format, pClone->GetBuffer(), pClone->GetPitch(), in CloneConvert()
1093 FXDIB_Format dest_format, in ConvertBuffer() argument
1103 switch (dest_format) { in ConvertBuffer()
1162 ConvertBuffer_1bppPlt2Rgb(dest_format, dest_buf, dest_pitch, width, in ConvertBuffer()
1166 ConvertBuffer_1bppMask2Rgb(dest_format, dest_buf, dest_pitch, width, in ConvertBuffer()
[all …]
Dcfx_dibitmap.cpp198 FXDIB_Format dest_format = GetFormat(); in TransferBitmap() local
200 if (dest_format == src_format) { in TransferBitmap()
231 dest_format = FXDIB_8bppMask; in TransferBitmap()
236 if (!ConvertBuffer(dest_format, dest_buf, m_Pitch, width, height, in TransferBitmap()
1169 bool CFX_DIBitmap::ConvertFormat(FXDIB_Format dest_format) { in ConvertFormat() argument
1171 if (dest_format == src_format) in ConvertFormat()
1174 if (dest_format == FXDIB_8bppMask && src_format == FXDIB_8bppRgb && in ConvertFormat()
1179 if (dest_format == FXDIB_Argb && src_format == FXDIB_Rgb32) { in ConvertFormat()
1190 int dest_bpp = dest_format & 0xff; in ConvertFormat()
1198 if (dest_format == FXDIB_Argb) { in ConvertFormat()
[all …]
Dcfx_scanlinecompositor.h20 bool Init(FXDIB_Format dest_format,
60 FXDIB_Format dest_format,
Dcstretchengine.h23 FXDIB_Format dest_format,
Dcfx_scanlinecompositor.cpp2823 bool CFX_ScanlineCompositor::Init(FXDIB_Format dest_format, in Init() argument
2833 m_DestFormat = dest_format; in Init()
2836 if ((dest_format & 0xff) == 1) in Init()
2842 if ((~src_format & 0x0400) && (dest_format & 0x0400)) in Init()
2845 if (dest_format == FXDIB_8bppMask) in Init()
2848 InitSourcePalette(src_format, dest_format, pSrcPalette); in Init()
2850 (dest_format == FXDIB_Argb ? 1 : 0) + (dest_format & 0x0200 ? 2 : 0) + in Init()
2851 (dest_format & 0x0400 ? 4 : 0) + ((src_format & 0xff) == 1 ? 8 : 0); in Init()
2855 (src_format & 0x0200 ? 0 : 1) + (dest_format & 0x0200 ? 0 : 2) + in Init()
2857 (src_format & 0x0400 ? 16 : 0) + (dest_format & 0x0400 ? 32 : 0); in Init()
[all …]
Dcstretchengine.cpp221 FXDIB_Format dest_format, in CStretchEngine() argument
228 m_DestFormat = dest_format; in CStretchEngine()
229 m_DestBpp = dest_format & 0xff; in CStretchEngine()
248 if (dest_format == FXDIB_Rgb32) in CStretchEngine()
Dcfx_dibsource.h112 static bool ConvertBuffer(FXDIB_Format dest_format,
/external/autotest/client/bin/
Dpackage_unittest.py125 dest_format = 'dpkg'
135 package.convert(input_package, dest_format)
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_rs.h41 uint8_t dest_format; /* RS_FORMAT_XXX */ member
Detnaviv_rs.c81 VIVS_RS_CONFIG_DEST_FORMAT(rs->dest_format) | in etna_compile_rs_state()
144 rs->source_format == rs->dest_format && in etna_compile_rs_state()
273 .dest_format = format, in etna_rs_gen_clear_surface()
716 .dest_format = translate_rs_format(dst_format), in etna_try_rs_blit()
Detnaviv_surface.c126 .dest_format = RS_FORMAT_A8R8G8B8, in etna_create_surface()
/external/pdfium/core/fxge/agg/
Dfx_agg_driver.cpp151 FXDIB_Format dest_format = pBitmap->GetFormat(); in RgbByteOrderTransferBitmap() local
155 if (dest_format == src_format) { in RgbByteOrderTransferBitmap()
181 if (dest_format == FXDIB_Rgb) { in RgbByteOrderTransferBitmap()
198 ASSERT(dest_format == FXDIB_Argb || dest_format == FXDIB_Rgb32); in RgbByteOrderTransferBitmap()
216 ASSERT(dest_format == FXDIB_Argb); in RgbByteOrderTransferBitmap()
/external/pdfium/core/fxge/skia/
Dfx_skia_device.cpp76 FXDIB_Format dest_format = pBitmap->GetFormat(); in RgbByteOrderTransferBitmap() local
80 if (dest_format == src_format) { in RgbByteOrderTransferBitmap()
105 if (dest_format == FXDIB_Rgb) { in RgbByteOrderTransferBitmap()
124 if (dest_format == FXDIB_Argb || dest_format == FXDIB_Rgb32) { in RgbByteOrderTransferBitmap()
138 ASSERT(dest_format == FXDIB_Argb); in RgbByteOrderTransferBitmap()