pWorkrow = pData->pWorkrow + 1;
pWorkrow = pData->pWorkrow + pData->iPixelofs;
mng_retcode delta_ga16 (mng_datap pData){  mng_imagedatap pBuf = ((mng_imagep)pData->pDeltaImage)->pImgbuf;  mng_uint8p     pWorkrow;  mng_uint8p     pOutrow;  mng_int32      iX;#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_DELTA_GA16, MNG_LC_START)#endif  pWorkrow = pData->pWorkrow + 1;      /* temporary work pointers */  pOutrow  = pBuf->pImgdata + (pData->iRow         * pBuf->iRowsize   ) +                              (pData->iDeltaBlocky * pBuf->iRowsize   ) +                              (pData->iCol         * pBuf->iSamplesize) +                              (pData->iDeltaBlockx * pBuf->iSamplesize);                                       /* pixel replace ? */  if (pData->iDeltatype == MNG_DELTATYPE_BLOCKPIXELREPLACE)  {    for (iX = 0; iX < pData->iRowsamples; iX++)    {      *pOutrow     = *pWorkrow;        /* put in object buffer */      *(pOutrow+1) = *(pWorkrow+1);      *(pOutrow+2) = *(pWorkrow+2);      *(pOutrow+3) = *(pWorkrow+3);                                       /* next pixel */      pOutrow  += (pData->iColinc << 2);      pWorkrow += 4;    }  }  else  {                                    /* pixel add ! */    for (iX = 0; iX < pData->iRowsamples; iX++)    {                                  /* add to object buffer */      mng_put_uint16 (pOutrow,   (mng_uint16)(mng_get_uint16 (pOutrow   ) +                                              mng_get_uint16 (pWorkrow  )   ));      mng_put_uint16 (pOutrow+2, (mng_uint16)(mng_get_uint16 (pOutrow+2 ) +                                              mng_get_uint16 (pWorkrow+2)   ));                                       /* next pixel */      pOutrow  += (pData->iColinc << 2);      pWorkrow += 4;    }  }#ifdef MNG_SUPPORT_TRACE  MNG_TRACE (pData, MNG_FN_DELTA_GA16, MNG_LC_END)#endif  return store_ga16 (pData);}