[x264-devel] Re: x264_slicetype_frame_cost

Loren Merritt lorenm at u.washington.edu
Wed Jun 20 16:41:20 CEST 2007


On Wed, 20 Jun 2007, Gabriel Bouvigne wrote:

> So as I assumed, x264_slicetype_frame_cost( h, &a, frames, 0, 2, 1, 0 ) means 
> that you we are computing the cost of a frame B at pos 1 inside frames[], 
> using the frame at pos 0 as L0 and the frame at pos 2 as L1.
>
> However, in the case of x264_slicetype_frame_cost( h, &a, frames, 0, 2, 2, 1 
> ), I am a bit puzzled. That would mean evaluating the frame at pos 2, using 
> frame at pos 0 as L0 and frame at pos 2 as L1. My problem is that we then 
> have frame at pos 2 mentioned twice.
> Does this implicitly mean that if the evaluated frame is also mentioned as L0 
> or L1, we are then evaluating a P frame?

That;s a P frame, and if all 3 are the same it's an I frame.

--Loren Merritt

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list