int x = (mbCol << 3) + (chromaCol << 2) + chromaPCol;
if (x >= strideChroma || y >= cb.length / strideChroma)
continue;
int u = mb.uSubblocks[chromaRow][chromaCol].val[chromaPRow * 4 + chromaPCol];
int v = mb.vSubblocks[chromaRow][chromaCol].val[chromaPRow * 4 + chromaPCol];
<BUG>cb[strideChroma * y + x] = u;

cr[strideChroma * y + x] = v;
</BUG>
}

int x = (mbCol << 3) + (chromaCol << 2) + chromaPCol;
if (x >= strideChroma || y >= cb.length / strideChroma)
continue;
int u = mb.uSubblocks[chromaRow][chromaCol].val[chromaPRow * 4 + chromaPCol];
int v = mb.vSubblocks[chromaRow][chromaCol].val[chromaPRow * 4 + chromaPCol];
cb[strideChroma * y + x] = (byte)(u - 128);
cr[strideChroma * y + x] = (byte)(v - 128);
