Lines Matching refs:pDict

20     CPDF_Dictionary* pDict = new CPDF_Dictionary;
21 pDict->SetAtName("Type", "XObject");
22 pDict->SetAtName("Subtype", "Image");
23 pDict->SetAtInteger("Width", width);
24 pDict->SetAtInteger("Height", height);
37 pDict->SetAt(FX_BSTRC("Decode"), pDecode);
39 pDict->SetAtName("ColorSpace", csname);
40 pDict->SetAtInteger("BitsPerComponent", bits);
41 pDict->SetAtName("Filter", "DCTDecode");
44 pDict->SetAt("DecodeParms", pParms);
53 return pDict;
57 CPDF_Dictionary *pDict = InitJPEG(pData, size);
58 if (!pDict) {
61 m_pStream->InitStream(pData, size, pDict);
75 CPDF_Dictionary *pDict = InitJPEG(pData, dwEstimateSize);
77 if (!pDict && size > dwEstimateSize) {
80 pDict = InitJPEG(pData, size);
83 if (!pDict) {
86 m_pStream->InitStream(pFile, pDict);
105 CPDF_Dictionary* pDict = new CPDF_Dictionary;
106 pDict->SetAtName(FX_BSTRC("Type"), FX_BSTRC("XObject"));
107 pDict->SetAtName(FX_BSTRC("Subtype"), FX_BSTRC("Image"));
108 pDict->SetAtInteger(FX_BSTRC("Width"), BitmapWidth);
109 pDict->SetAtInteger(FX_BSTRC("Height"), BitmapHeight);
120 pDict->SetAt(FX_BSTRC("ImageMask"), new CPDF_Boolean(TRUE));
125 pDict->SetAt(FX_BSTRC("Decode"), pArray);
142 pDict->SetAt(FX_BSTRC("ColorSpace"), pCS);
144 pDict->SetAtInteger(FX_BSTRC("BitsPerComponent"), 1);
171 pDict->SetAtReference(FX_BSTRC("ColorSpace"), m_pDocument, pCS);
173 pDict->SetAtName(FX_BSTRC("ColorSpace"), FX_BSTRC("DeviceGray"));
175 pDict->SetAtInteger(FX_BSTRC("BitsPerComponent"), 8);
183 pDict->SetAtName(FX_BSTRC("ColorSpace"), FX_BSTRC("DeviceRGB"));
184 pDict->SetAtInteger(FX_BSTRC("BitsPerComponent"), 8);
239 pDict->SetAtReference(FX_BSTRC("SMask"), m_pDocument, pMaskStream);
248 _JBIG2EncodeBitmap(pDict, pBitmap, m_pDocument, dest_buf, dest_size, TRUE);
252 _JBIG2EncodeBitmap(pDict, pBitmap, m_pDocument, dest_buf, dest_size, FALSE);
258 if (pDict) {
259 pDict->Release();
260 pDict = NULL;
286 _DCTEncodeBitmap(pDict, pNewBitmap, pParam ? pParam->nQuality : 75, dest_buf, dest_size);
289 _DCTEncodeBitmap(pDict, pBitmap, pParam ? pParam->nQuality : 75, dest_buf, dest_size);
350 m_pStream->InitStream(dest_buf, dest_size, pDict);
353 m_pStream->InitStream(pFileRead, pDict);