Lines Matching refs:m_Pitch
450 m_Pitch = (colors * bpc * cols + 7) / 8;
452 m_Pitch ++;
541 m_pCurLine = FX_Alloc(FX_BYTE, m_Pitch);
543 m_pRefLine = FX_Alloc(FX_BYTE, m_Pitch);
547 FX_DWORD read_size = m_Pitch - m_LineInSize;
553 if (m_LineInSize < m_Pitch) {
559 for (FX_DWORD byte = m_Bpp; byte < m_Pitch; byte ++) {
562 dest_buf.AppendBlock(m_pCurLine, m_Pitch);
564 PNG_PredictorLine(m_pCurLine, m_iLine ? m_pRefLine : NULL, m_Pitch - 1, m_Bpp);
565 dest_buf.AppendBlock(m_pCurLine + 1, m_Pitch - 1);
756 m_Pitch = m_Width * m_nComps;
759 m_pScanline = FX_Alloc(FX_BYTE, m_Pitch + 4);
767 dest_buf.AppendBlock(m_pScanline, m_Pitch);
783 m_Pitch = 0;
806 m_Pitch = (m_nColumns + 7) / 8;
807 m_pScanlineBuf = FX_Alloc(FX_BYTE, m_Pitch);
808 m_pRefBuf = FX_Alloc(FX_BYTE, m_Pitch);
809 FXSYS_memset8(m_pScanlineBuf, 0xff, m_Pitch);
810 FXSYS_memset8(m_pRefBuf, 0xff, m_Pitch);
855 FXSYS_memset8(m_pScanlineBuf, 0xff, m_Pitch);
861 FXSYS_memcpy32(m_pRefBuf, m_pScanlineBuf, m_Pitch);
864 for (int i = 0; i < m_Pitch; i ++) {
868 dest_buf.AppendBlock(m_pScanlineBuf, m_Pitch);