[Mplayer-cvslog] CVS: main/DOCS/tech mpcf.txt,1.28,1.29

Arpi arpi at thot.banki.hu
Fri May 23 16:45:10 CEST 2003


Hi,

> Hi,
> 
> > --- mpcf.txt	23 May 2003 12:17:36 -0000	1.28
> > +++ mpcf.txt	23 May 2003 14:38:59 -0000	1.29
> > @@ -375,8 +375,12 @@
> >  	for compatibility with some win32 codecs
> >  
> >  colorspace_type
> > -	?
> > -        
> > +	0	unknown
> > +	1	ITU Rec 624 / ITU Rec 601 Y range: 16..235 Cb/Cr range:
> > 16..240
> >+	2	ITU Rec 709               Y range: 16..235 Cb/Cr range: 16..240
> what's the difference between those? the ranges are the same
> one is used by jpeg and the other by mpeg? are ther other differences,
> except ranges?

the coeffs (yuv2rgb matrix) differs, see yuv2rgb.c:

const int32_t Inverse_Table_6_9[8][4] = {
    {117504, 138453, 13954, 34903}, /* no sequence_display_extension */
    {117504, 138453, 13954, 34903}, /* ITU-R Rec. 709 (1990) */
    {104597, 132201, 25675, 53279}, /* unspecified */
    {104597, 132201, 25675, 53279}, /* reserved */
    {104448, 132798, 24759, 53109}, /* FCC */
    {104597, 132201, 25675, 53279}, /* ITU-R Rec. 624-4 System B, G */
    {104597, 132201, 25675, 53279}, /* SMPTE 170M */
    {117579, 136230, 16907, 35559}  /* SMPTE 240M (1987) */
};


A'rpi / Astral & ESP-team

--
Developer of MPlayer G2, the Movie Framework for all - http://www.MPlayerHQ.hu



More information about the MPlayer-cvslog mailing list