Commit 50ee31cb authored by michael's avatar michael

more complete dc prediction description


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10177 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 823fb950
...@@ -225,6 +225,11 @@ Intra DC Predicton: ...@@ -225,6 +225,11 @@ Intra DC Predicton:
the luma and chroma values of the left block are used as predictors the luma and chroma values of the left block are used as predictors
the used luma and chroma is the sum of the predictor and y_diff, cb_diff, cr_diff the used luma and chroma is the sum of the predictor and y_diff, cb_diff, cr_diff
to reverse this in the decoder apply the following:
block[y][x].dc[0] += block[y][x-1].dc[0];
block[y][x].dc[1] += block[y][x-1].dc[1];
block[y][x].dc[2] += block[y][x-1].dc[2];
block[*][-1].dc[*]= 128;
Motion Compensation: Motion Compensation:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment