19 std::unique_ptr<CJBig2_GRDProc> pGRD = CreateGRDProc();
25 pGRD->USESKIP =
false;
26 pGRD->GBAT[0] = -1 *
static_cast<int32_t>(
HDPW);
28 if (pGRD->GBTEMPLATE == 0) {
37 std::unique_ptr<CJBig2_Image> BHDC;
40 state.pArithDecoder = pArithDecoder;
41 state.gbContext = gbContext;
42 state.pPause =
nullptr;
45 state.pPause = pPause;
47 status = pGRD->ContinueDecode(&state);
52 for (uint32_t GRAY = 0; GRAY <=
GRAYMAX; ++GRAY)
53 pDict->HDPATS[GRAY] = BHDC->SubImage(
HDPW * GRAY, 0,
HDPW,
HDPH);