Home
last modified time | relevance | path

Searched refs:pGRD (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/fxcodec/jbig2/
DJBig2_PddProc.cpp20 std::unique_ptr<CJBig2_GRDProc> pGRD = CreateGRDProc(); in DecodeArith() local
21 if (!pGRD) in DecodeArith()
24 pGRD->GBTEMPLATE = HDTEMPLATE; in DecodeArith()
25 pGRD->TPGDON = 0; in DecodeArith()
26 pGRD->USESKIP = 0; in DecodeArith()
27 pGRD->GBAT[0] = -1 * static_cast<int32_t>(HDPW); in DecodeArith()
28 pGRD->GBAT[1] = 0; in DecodeArith()
29 if (pGRD->GBTEMPLATE == 0) { in DecodeArith()
30 pGRD->GBAT[2] = -3; in DecodeArith()
31 pGRD->GBAT[3] = -1; in DecodeArith()
[all …]
DJBig2_SddProc.cpp103 auto pGRD = pdfium::MakeUnique<CJBig2_GRDProc>(); in DecodeArith() local
104 pGRD->MMR = 0; in DecodeArith()
105 pGRD->GBW = SYMWIDTH; in DecodeArith()
106 pGRD->GBH = HCHEIGHT; in DecodeArith()
107 pGRD->GBTEMPLATE = SDTEMPLATE; in DecodeArith()
108 pGRD->TPGDON = 0; in DecodeArith()
109 pGRD->USESKIP = 0; in DecodeArith()
110 pGRD->GBAT[0] = SDAT[0]; in DecodeArith()
111 pGRD->GBAT[1] = SDAT[1]; in DecodeArith()
112 pGRD->GBAT[2] = SDAT[2]; in DecodeArith()
[all …]
DJBig2_Context.cpp934 auto pGRD = pdfium::MakeUnique<CJBig2_GRDProc>(); in ParseGenericRegion() local
942 pGRD->GBW = m_ri.width; in ParseGenericRegion()
943 pGRD->GBH = m_ri.height; in ParseGenericRegion()
944 pGRD->MMR = cFlags & 0x01; in ParseGenericRegion()
945 pGRD->GBTEMPLATE = (cFlags >> 1) & 0x03; in ParseGenericRegion()
946 pGRD->TPGDON = (cFlags >> 3) & 0x01; in ParseGenericRegion()
947 if (pGRD->MMR == 0) { in ParseGenericRegion()
948 if (pGRD->GBTEMPLATE == 0) { in ParseGenericRegion()
950 if (m_pStream->read1Byte((uint8_t*)&pGRD->GBAT[i]) != 0) in ParseGenericRegion()
955 if (m_pStream->read1Byte((uint8_t*)&pGRD->GBAT[i]) != 0) in ParseGenericRegion()
[all …]