[Ffmpeg-cvslog] [ffmpeg]: r5417 - in /trunk: libavcodec/snow.c libavcodec/snow.h tests/ffmpeg.regression.ref tests/rotozoom.regression.ref
Loren Merritt
lorenm
Sun May 28 23:52:43 CEST 2006
On Sun, 28 May 2006, Romain DEGEZ wrote:
> lorenm at natsuki.mplayerhq.hu wrote:
>>
>> Log:
>> Snow multiple reference frames
>> (bitstream is not backwards compatible, even if refs aren't used)
>> + int mx_context= av_log2(2*ABS(left->mx - top->mx)) + 16*!!b->ref;
>> + int my_context= av_log2(2*ABS(left->my - top->my)) + 16*!!b->ref;
>
> Wow, never see that.
> What does '!!' mean ?
It converts an int to a boolean.
!!0 == 0
!!1 == 1
!!42 == 1
--Loren Merritt
More information about the ffmpeg-cvslog
mailing list