diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-08-21 19:44:05 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-08-21 19:44:05 +0000 |
commit | 2cc454705b695aa1e39abf850929387baa958629 (patch) | |
tree | e7a16dc1d485971c75364899ecb12630f8304775 /doc/snow.txt | |
parent | 1e37b7e40701aa3f6b43f2fada32527aa808b1f6 (diff) | |
download | ffmpeg-2cc454705b695aa1e39abf850929387baa958629.tar.gz |
more complete dc prediction description
Originally committed as revision 10177 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc/snow.txt')
-rw-r--r-- | doc/snow.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/snow.txt b/doc/snow.txt index 867867394f..c3e16ebc1c 100644 --- a/doc/snow.txt +++ b/doc/snow.txt @@ -225,6 +225,11 @@ Intra DC Predicton: 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 +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: |