[x264-devel] Re: Question: Slice type decision.

Loren Merritt lorenm at u.washington.edu
Tue Sep 14 12:08:04 CEST 2004


On Tue, 14 Sep 2004, Stephen Henry wrote:

> Does anybody know where the encoder makes the decision between slice
> types (i.e. whether the current slice should be encoded as a I-slice or
> a P-slice)? And on what criterium this decision is based?

Look at encoder/encoder.c, line 1125+

Basically, it encodes every frame as P, and then if most of the 
macroblocks turned out I, it re-encodes the whole frame as I.

--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