Home
last modified time | relevance | path

Searched refs:Bpp (Results 1 – 18 of 18) sorted by relevance

/external/pixman/pixman/
Dpixman-general.c120 int Bpp; in general_composite_rect() local
128 Bpp = 4; in general_composite_rect()
133 Bpp = 16; in general_composite_rect()
136 if (width * Bpp > SCANLINE_BUFFER_LENGTH) in general_composite_rect()
138 scanline_buffer = pixman_malloc_abc (width, 3, Bpp); in general_composite_rect()
145 mask_buffer = src_buffer + width * Bpp; in general_composite_rect()
146 dest_buffer = mask_buffer + width * Bpp; in general_composite_rect()
151 memset (src_buffer, 0, width * Bpp); in general_composite_rect()
152 memset (mask_buffer, 0, width * Bpp); in general_composite_rect()
153 memset (dest_buffer, 0, width * Bpp); in general_composite_rect()
/external/pdfium/core/src/fxge/agg/agg23/
Dfx_agg_driver.cpp391 void CompositeSpan(FX_LPBYTE dest_scan, FX_LPBYTE ori_scan, int Bpp, FX_BOOL bDestAlpha, in CompositeSpan() argument
398 if (Bpp) { in CompositeSpan()
399 dest_scan += col_start * Bpp; in CompositeSpan()
400 ori_scan += col_start * Bpp; in CompositeSpan()
406 if (Bpp == 4 && bDestAlpha) { in CompositeSpan()
437 } else if (Bpp == 3 || Bpp == 4) { in CompositeSpan()
448 ori_scan += Bpp - 2; in CompositeSpan()
454 dest_scan += Bpp - 2; in CompositeSpan()
459 if (Bpp == 4 && bDestAlpha) { in CompositeSpan()
499 } else if (Bpp == 3 || Bpp == 4) { in CompositeSpan()
[all …]
/external/pdfium/core/src/fxge/dib/
Dfx_dib_transform.cpp538 int Bpp = m_Storer.GetBitmap()->GetBPP() / 8; in Continue() local
540 if (Bpp == 1) { in Continue()
677 …near_interpol(stretch_buf, row_offset_l, row_offset_r, src_col_l, src_col_r, res_x, res_y, Bpp, 2); in Continue()
678 …near_interpol(stretch_buf, row_offset_l, row_offset_r, src_col_l, src_col_r, res_x, res_y, Bpp, 1); in Continue()
679 …near_interpol(stretch_buf, row_offset_l, row_offset_r, src_col_l, src_col_r, res_x, res_y, Bpp, 0); in Continue()
687 …near_interpol(stretch_buf, row_offset_l, row_offset_r, src_col_l, src_col_r, res_x, res_y, Bpp, 3); in Continue()
691 …near_interpol(stretch_buf, row_offset_l, row_offset_r, src_col_l, src_col_r, res_x, res_y, Bpp, 3); in Continue()
697 …near_interpol(stretch_buf, row_offset_l, row_offset_r, src_col_l, src_col_r, res_x, res_y, Bpp, 3); in Continue()
724 …d_y_r = _bicubic_interpol(stretch_buf, stretch_pitch, pos_pixel, u_w, v_w, res_x, res_y, Bpp, 2); in Continue()
725 …een_m_r = _bicubic_interpol(stretch_buf, stretch_pitch, pos_pixel, u_w, v_w, res_x, res_y, Bpp, 1); in Continue()
[all …]
Dfx_dib_main.cpp413 int Bpp = GetBPP() / 8; in TransferBitmap() local
415 FX_LPBYTE dest_scan = m_pBuffer + (dest_top + row) * m_Pitch + dest_left * Bpp; in TransferBitmap()
416 FX_LPCBYTE src_scan = pSrcBitmap->GetScanline(src_top + row) + src_left * Bpp; in TransferBitmap()
417 FXSYS_memcpy32(dest_scan, src_scan, width * Bpp); in TransferBitmap()
806 int Bpp = GetBPP() / 8; local
807 if (Bpp == 1) {
819 scan_line += Bpp;
1438 int Bpp = m_bpp / 8; local
1454 dest_scan += (m_Width - 1) * Bpp;
1455 if (Bpp == 1) {
[all …]
Dfx_dib_composite.cpp2435 int blend_type, int Bpp, FX_LPCBYTE clip_scan) in _CompositeRow_ByteMask2Rgb() argument
2445 dest_scan += Bpp; in _CompositeRow_ByteMask2Rgb()
2476 dest_scan += Bpp - 2; in _CompositeRow_ByteMask2Rgb()
2687 … int src_left, int pixel_count, int blend_type, int Bpp, FX_LPCBYTE clip_scan) in _CompositeRow_BitMask2Rgb() argument
2696 dest_scan += Bpp; in _CompositeRow_BitMask2Rgb()
2702 dest_scan += Bpp; in _CompositeRow_BitMask2Rgb()
2712 dest_scan += Bpp; in _CompositeRow_BitMask2Rgb()
2743 dest_scan += Bpp - 2; in _CompositeRow_BitMask2Rgb()
3367 int blend_type, int Bpp, FX_LPCBYTE clip_scan) in _CompositeRow_ByteMask2Rgb_RgbByteOrder() argument
3377 dest_scan += Bpp; in _CompositeRow_ByteMask2Rgb_RgbByteOrder()
[all …]
Dfx_dib_engine.cpp352 int Bpp = m_DestBpp / 8; in ContinueStretchHorz() local
490 FX_LPCBYTE src_pixel = src_scan + j * Bpp; in ContinueStretchHorz()
503 dest_scan += Bpp - 3; in ContinueStretchHorz()
513 FX_LPCBYTE src_pixel = src_scan + j * Bpp; in ContinueStretchHorz()
539 dest_scan += Bpp - 3; in ContinueStretchHorz()
Dfx_dib_convert.cpp422 int Bpp = pSrcBitmap->GetBPP() / 8; in _ConvertBuffer_RgbOrCmyk2Gray() local
425 if (Bpp == 3 || pSrcBitmap->IsCmykImage()) { in _ConvertBuffer_RgbOrCmyk2Gray()
428 FX_LPCBYTE src_scan = pSrcBitmap->GetScanline(src_top + row) + src_left * Bpp; in _ConvertBuffer_RgbOrCmyk2Gray()
458 FX_LPCBYTE src_scan = pSrcBitmap->GetScanline(src_top + row) + src_left * Bpp; in _ConvertBuffer_RgbOrCmyk2Gray()
461 src_scan += Bpp; in _ConvertBuffer_RgbOrCmyk2Gray()
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_filters.cpp478 static void PNG_PredictorLine(FX_LPBYTE cur_buf, FX_LPBYTE ref_buf, int pitch, int Bpp) in PNG_PredictorLine() argument
493 if (byte >= Bpp) { in PNG_PredictorLine()
494 left = cur_buf[byte - Bpp]; in PNG_PredictorLine()
509 if (byte >= Bpp) { in PNG_PredictorLine()
510 left = cur_buf[byte - Bpp]; in PNG_PredictorLine()
521 if (byte >= Bpp) { in PNG_PredictorLine()
522 left = cur_buf[byte - Bpp]; in PNG_PredictorLine()
529 if (byte >= Bpp && ref_buf) { in PNG_PredictorLine()
530 upper_left = ref_buf[byte - Bpp]; in PNG_PredictorLine()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_text.cpp328 int Bpp = bitmap.GetBPP() / 8; in DrawNormalText() local
691 FX_LPBYTE dest_scan = dest_buf + dest_row * dest_pitch + start_col * Bpp; in DrawNormalText()
707 dest_scan += Bpp; in DrawNormalText()
725 dest_scan += Bpp; in DrawNormalText()
740 dest_scan += Bpp; in DrawNormalText()
758 dest_scan += Bpp; in DrawNormalText()
773 dest_scan += Bpp; in DrawNormalText()
785 dest_scan += Bpp; in DrawNormalText()
792 dest_scan += Bpp; in DrawNormalText()
808 dest_scan += Bpp; in DrawNormalText()
[all …]
Dfx_ge_ps.cpp414 int Bpp = pConverted->GetBPP() / 8; in DrawDIBits() local
425 int src_pitch = width * Bpp; in DrawDIBits()
438 if (Bpp == 3) { in DrawDIBits()
468 buf << FX_BSTRC("false ") << Bpp; in DrawDIBits()
/external/opencv/otherlibs/highgui/
Dimage.cpp82 if( !m_img || Bpp() != bpp || m_img->width != w || m_img->height != h ) in Create()
236 FillBitmapInfo( bmi, bmp_w, bmp_h, Bpp(), m_img->origin ); in DrawToHDC()
Dhighgui.h373 int Bpp() { return m_img ? (m_img->depth & 255)*m_img->nChannels : 0; }; in Bpp() function
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpeg.cpp188 int Bpp = pSource->GetBPP() / 8; in _JpegEncode() local
189 int nComponents = Bpp >= 3 ? (pSource->IsCmykImage() ? 4 : 3) : 1; in _JpegEncode()
242 src_scan += Bpp; in _JpegEncode()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_image.cpp280 …ansferFunc::TranslateDownSamples(FX_LPBYTE dest_buf, FX_LPCBYTE src_buf, int pixels, int Bpp) const in TranslateDownSamples()
282 if (Bpp == 8) { in TranslateDownSamples()
286 } else if (Bpp == 24) { in TranslateDownSamples()
1143 int Bpp = bitmap.GetBPP() / 8; in LoadSMask() local
1149 src_pos += Bpp; in LoadSMask()
Dfpdf_render_pattern.cpp74 int Bpp = pBitmap->GetBPP() / 8; in _DrawAxialShading() local
159 int Bpp = pBitmap->GetBPP() / 8; in _DrawRadialShading() local
248 int Bpp = pBitmap->GetBPP() / 8; in _DrawFuncShading() local
Drender_int.h453 …virtual void TranslateDownSamples(FX_LPBYTE dest_buf, FX_LPCBYTE src_buf, int pixels, int Bpp) c…
/external/qemu-pc-bios/vgabios/
Dvbe_display_api.txt24 Bpp format supported is:
/external/pdfium/core/include/fxge/
Dfx_dib.h390 …virtual void TranslateDownSamples(FX_LPBYTE dest_buf, FX_LPCBYTE src_buf, int pixels, int Bpp) c…