[FFmpeg-cvslog] r10177 - trunk/doc/snow.txt

michael subversion
Tue Aug 21 21:44:06 CEST 2007


Author: michael
Date: Tue Aug 21 21:44:05 2007
New Revision: 10177

Log:
more complete dc prediction description


Modified:
   trunk/doc/snow.txt

Modified: trunk/doc/snow.txt
==============================================================================
--- trunk/doc/snow.txt	(original)
+++ trunk/doc/snow.txt	Tue Aug 21 21:44:05 2007
@@ -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:




More information about the ffmpeg-cvslog mailing list