Re: re : converting from RGB24 to yuv411

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



sting sting wrote:
thnx Michel ;
I use the cvs snapshot download dated for today (30/7/03)
I of course see the entry of 411 near line line 108.
I did not talk about that table, but about the
ConvertEntry convert_table[PIX_FMT_NB][PIX_FMT_NB]
in line 1419; as I understand , this table has entry for each type of conversion ,
where each entry  consists of two formats : the src , and dst;
In this table I did not find an entry where dst is 411 and src is RGB24;
If anyone knows something which will help, I will appreciate it.

regards
sting


The thread subject seems to have mutated, still speaking of yuv411 but no longer mentions planar. I'll assume we are still talking about converting to YUV411PL, since ffmpeg does not support YUV411 packed.

The code of img_convert() shows (starting near line 1680, I have a slightly older cvs) that *if* convert_table does not mention a specific conversion routine, an intermediate format will be used, in this case PIX_FMT_YUV444P.

HTH,
--
Michel Bardiaux
Peaktime Belgium S.A.  Bd. du Souverain, 191  B-1160 Bruxelles
Tel : +32 2 790.29.41




[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux