Lines Matching defs:src_pitch
178 FX_DWORD src_pitch = m_bpc;
180 if (src_pitch > 0 && m_nComponents > (unsigned)INT_MAX / src_pitch) {
183 src_pitch *= m_nComponents;
184 if (src_pitch > 0 && (FX_DWORD)m_Width > (unsigned)INT_MAX / src_pitch) {
187 src_pitch *= m_Width;
188 if (src_pitch + 7 < src_pitch) {
191 src_pitch += 7;
192 src_pitch /= 8;
193 if (src_pitch > 0 && (FX_DWORD)m_Height > (unsigned)INT_MAX / src_pitch) {
198 m_pStreamAcc->LoadAllData(pStream, FALSE, m_Height * src_pitch, TRUE);
333 FX_DWORD src_pitch = m_bpc;
335 if (src_pitch > 0 && m_nComponents > (unsigned)INT_MAX / src_pitch) {
338 src_pitch *= m_nComponents;
339 if (src_pitch > 0 && (FX_DWORD)m_Width > (unsigned)INT_MAX / src_pitch) {
342 src_pitch *= m_Width;
343 if (src_pitch + 7 < src_pitch) {
346 src_pitch += 7;
347 src_pitch /= 8;
348 if (src_pitch > 0 && (FX_DWORD)m_Height > (unsigned)INT_MAX / src_pitch) {
353 m_pStreamAcc->LoadAllData(pStream, FALSE, m_Height * src_pitch, TRUE);
1067 FX_DWORD src_pitch = (m_Width * m_bpc * m_nComponents + 7) / 8;
1077 if (m_pStreamAcc->GetSize() >= (line + 1) * src_pitch) {
1078 pSrcLine = m_pStreamAcc->GetData() + line * src_pitch;
1088 for (FX_DWORD i = 0; i < src_pitch; i ++) {
1114 FXSYS_memcpy32(m_pLineBuf, pSrcLine, src_pitch);
1120 FXSYS_memcpy32(m_pLineBuf, pSrcLine, src_pitch);
1196 FX_DWORD src_pitch = (src_width * m_bpc * m_nComponents + 7) / 8;
1203 if (m_pStreamAcc->GetSize() >= (line + 1) * src_pitch) {
1204 pSrcLine = m_pStreamAcc->GetData() + line * src_pitch;