int y = (mbRow << 4) + (lumaRow << 2) + lumaPRow;
int x = (mbCol << 4) + (lumaCol << 2) + lumaPCol;
if (x >= strideLuma || y >= luma.length / strideLuma)
continue;
int yy = mb.ySubblocks[lumaRow][lumaCol].val[lumaPRow * 4 + lumaPCol];
<BUG>luma[strideLuma * y + x] = yy;
</BUG>
}
for (int chromaRow = 0; chromaRow < 2; chromaRow++)
for (int chromaCol = 0; chromaCol < 2; chromaCol++)

int y = (mbRow << 4) + (lumaRow << 2) + lumaPRow;
int x = (mbCol << 4) + (lumaCol << 2) + lumaPCol;
if (x >= strideLuma || y >= luma.length / strideLuma)
continue;
int yy = mb.ySubblocks[lumaRow][lumaCol].val[lumaPRow * 4 + lumaPCol];
luma[strideLuma * y + x] = (byte)(yy - 128);
}
for (int chromaRow = 0; chromaRow < 2; chromaRow++)
for (int chromaCol = 0; chromaCol < 2; chromaCol++)
