Lines Matching refs:m_nComponents
99 m_nComponents = 0;
179 if (m_bpc != 0 && m_nComponents != 0) {
180 if (src_pitch > 0 && m_nComponents > (unsigned)INT_MAX / src_pitch) {
183 src_pitch *= m_nComponents;
212 m_nComponents = 1;
214 } else if (m_bpc * m_nComponents == 1) {
216 } else if (m_bpc * m_nComponents <= 8) {
221 if (!m_bpc || !m_nComponents) {
267 m_nComponents = 1;
269 } else if (m_bpc * m_nComponents == 1) {
271 } else if (m_bpc * m_nComponents <= 8) {
276 if (!m_bpc || !m_nComponents) {
334 if (m_bpc != 0 && m_nComponents != 0) {
335 if (src_pitch > 0 && m_nComponents > (unsigned)INT_MAX / src_pitch) {
338 src_pitch *= m_nComponents;
492 m_bpc = m_nComponents = 1;
513 m_nComponents = m_pColorSpace->CountComponents();
517 m_nComponents = 1;
519 m_nComponents = 3;
521 m_nComponents = 4;
524 m_pCompData = FX_Alloc(DIB_COMP_DATA, m_nComponents);
531 for (FX_DWORD i = 0; i < m_nComponents; i ++) {
545 for (FX_DWORD i = 0; i < m_nComponents; i ++) {
561 if (pArray->GetCount() >= m_nComponents * 2)
562 for (FX_DWORD i = 0; i < m_nComponents * 2; i ++) {
591 m_nComponents, pParams ? pParams->GetInteger(FX_BSTR("ColorTransform"), 1) : 1);
597 m_nComponents = comps;
600 m_nComponents, bTransform);
604 m_pDecoder = FPDFAPI_CreateFlateDecoder(src_data, src_size, m_Width, m_Height, m_nComponents, m_bpc, pParams);
618 m_pDecoder = CPDF_ModuleMgr::Get()->GetCodecModule()->GetBasicModule()->CreateRunLengthDecoder(src_data, src_size, m_Width, m_Height, m_nComponents, m_bpc);
621 int requested_pitch = (m_Width * m_nComponents * m_bpc + 7) / 8;
671 m_nComponents = output_nComps;
747 m_nComponents = 1;
755 if (pMatte != NULL && m_pColorSpace && (FX_DWORD)m_pColorSpace->CountComponents() <= m_nComponents) {
756 FX_FLOAT* pColor = FX_Alloc(FX_FLOAT, m_nComponents);
757 for (FX_DWORD i = 0; i < m_nComponents; i ++) {
782 if (pMatte != NULL && m_pColorSpace && (FX_DWORD)m_pColorSpace->CountComponents() <= m_nComponents) {
784 FX_FLOAT* pColor = FX_Alloc(FX_FLOAT, m_nComponents);
785 for (FX_DWORD i = 0; i < m_nComponents; i ++) {
856 if (m_bpc * m_nComponents > 8) {
862 if (m_bpc * m_nComponents == 1) {
888 int palette_count = 1 << (m_bpc * m_nComponents);
889 CFX_FixedBufGrow<FX_FLOAT, 16> color_values(m_nComponents);
893 for (FX_DWORD j = 0; j < m_nComponents; j ++) {
899 if (m_nComponents == 1 && m_Family == PDFCS_ICCBASED && m_pColorSpace->CountComponents() > 1) {
993 if (m_nComponents == m_pColorSpace->CountComponents())
999 CFX_FixedBufGrow<FX_FLOAT, 16> color_values1(m_nComponents);
1006 for (FX_DWORD color = 0; color < m_nComponents; color ++) {
1034 for (FX_DWORD color = 0; color < m_nComponents; color ++) {
1067 FX_DWORD src_pitch = (m_Width * m_bpc * m_nComponents + 7) / 8;
1086 if (m_bpc * m_nComponents == 1) {
1118 if (m_bpc * m_nComponents <= 8) {
1125 for (FX_DWORD color = 0; color < m_nComponents; color ++) {
1155 if (m_nComponents == 3 && m_bpc == 8) {
1196 FX_DWORD src_pitch = (src_width * m_bpc * m_nComponents + 7) / 8;
1207 int orig_Bpp = m_bpc * m_nComponents / 8;
1214 if (m_bpc * m_nComponents == 1) {
1282 } else if (m_bpc * m_nComponents <= 8) {
1287 for (FX_DWORD color = 0; color < m_nComponents; color ++) {
1339 FX_FLOAT orig_Not8Bpp = (FX_FLOAT)m_bpc * (FX_FLOAT)m_nComponents / 8.0f;
1371 for (FX_DWORD i = 0; i < m_nComponents; i ++) {
1386 if (m_nComponents == 3 && m_bpc == 8) {