[FFmpeg-devel] [PATCH] H.264 predictive lossless: again
Sat Nov 29 23:08:02 CET 2008
> what i actually had in mind was that the new prediction function would just
> do 1 subtract more and thus revert the effect of the existing prediction.
> This actually should be less code.
Do you mean "do normal prediction, then remove it later"? This seems
wasteful and I don't see how it will work, as you'd have to repeat the
prediction again to know exactly how much to subtract.
Do you mean "just do what's there, except without the zero"? I don't
think that will work either, because the contents of the frame are
(AFAIK) undefined, so you have no idea what the pixel values are until
you init them to something.
More information about the ffmpeg-devel