[x264-devel] Re: x264_slicetype_frame_cost
Gabriel Bouvigne
bouvigne at mp3-tech.org
Wed Jun 20 11:28:30 CEST 2007
Loren Merritt a écrit :
> On Tue, 19 Jun 2007, Gabriel Bouvigne wrote:
>
>> Today's question is about x264_slicetype_frame_cost.
>> I'm trying to understand what are p0, p1, b referring to.
>>
>> I first thought that p0 and p1 could be references to the first L0 and
>> L1 frames, and b the candidate frame.
>
> yes
Thanks.
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?
Regards,
--
Gabriel Bouvigne
www.mp3-tech.org
personal page: http://gabriel.mp3-tech.org
--
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