[MPlayer-DOCS] [PATCH] more detailed description of brd_scale

Michael Niedermayer michaelni at gmx.at
Sat Jan 28 15:24:19 CET 2006


Hi

On Sat, Jan 28, 2006 at 12:33:16AM -0800, Corey Hickey wrote:
> The Wanderer wrote:
> >>+In other words, the dimensions must both be a multiple of 2^brd_scale.
> > 
> > 
> > It is not possible for two dimensions to be *a* multiple of X, unless
> > the dimensions are equal. The least ugly way to fix that (very minor)
> > problem would be to say "multiples" instead, and possiby drop the "both".
> 
> Right, good catch.
> 
> > Other than that, looks good to me.
> 
> I might have misunderstood an email from Michael, so I'm going to
> postpone applying this until I know for sure I have it right.

odd dimendions _might_ work but are not recommanded in YV12
do 3x3 luma samples have 1x1 chroma or 2x2 chroma?
the correct awnser is 2x2 but width>>1 and height>>1 would end
up with 1x1
now if we try to convert some luma x,y to chroma by x>>1,y>>1 we would
again need 2x2 chroma ...
odd dimensions and YV12 works but its not a good idea, for decoding you have
no choice, but for encoding you do, so if someone volunteers to maintain this
/ fix all related bugs fine, but i wont be that one

[...]
-- 
Michael




More information about the MPlayer-DOCS mailing list