[x264-devel] PSNR vs the distance of reference frame

Loren Merritt lorenm at u.washington.edu
Fri Jul 2 17:11:50 CEST 2010


On Wed, 30 Jun 2010, john sisi wrote:

> Thanks a lot Loren, just to make sure, could you please tell me what
> exactly should I change in "x264_reference_build_list alone"? I want
> to just enforce the encoder to use say 5th reference frame.

Just before calling x264_reference_check_reorder, x264 has decided what it 
wants to put in the reference lists. You can then change them. i.e.
move the 5th entry in h->fref0[] to the beginning, set h->i_ref0 = 1, and 
force h->b_ref_reorder[0] = 1.

--Loren Merritt


More information about the x264-devel mailing list