[Ffmpeg-devel] [PATCH] Synchronise x264 direct prediction

Robert Swain robert.swain
Mon Jan 29 23:29:33 CET 2007

M?ns Rullg?rd wrote:
> Robert Swain <robert.swain at gmail.com> writes:
>> The attached patch synchronises the description for the -directpred
>> option to x264 and sets the same default as the x264 cli.
>> -{"directpred", "direct mv prediction mode - 0 (none), 1 (spatial), 2 (temporal)", OFFSET(directpred), FF_OPT_TYPE_INT, 2, INT_MIN, INT_MAX, V|E},
>> +{"directpred", "direct mv prediction mode - 0 (none), 1 (spatial), 2 (temporal), 3 (auto)", OFFSET(directpred), FF_OPT_TYPE_INT, 1, INT_MIN, INT_MAX, V|E},
> Seems reasonable enough to me.
> Unrelated to your change, aren't those min and max values a little off?

I was thinking the max should probably be changed to 3 but I'm not sure how much 
this is done for other parameters so I probably didn't bother when I originally 
did it. Feel free to set it to 3.


More information about the ffmpeg-devel mailing list