[XviD-devel] chroma down-sampling

xvid-devel@xvid.org xvid-devel@xvid.org
Mon, 21 Oct 2002 10:23:17 -0400


| i can help you to do the YV12->YUY2 interlaced upsampling
| code, because
| i need it for MPEG2Dec3 YV12->YUY2 interlaced convertion

Marc -

I'm almost sure DVD2AVI/MPEG2DECx already has interlaced upsampling
YV12->YUY2 code in it. Doesn't it?

- Tom

| -----Original Message-----
| From: xvid-devel-admin@xvid.org [mailto:xvid-devel-admin@xvid.org]On
| Behalf Of Marc FD
| Sent: Monday, October 21, 2002 10:00 AM
| To: xvid-devel@xvid.org
| Subject: Re: [XviD-devel] chroma down-sampling
|
|
| > * round-down average: chroma=(c1+c2)/2, the current xvid
| code performs
| >   this.
|
| ? you mean chroma=(c1+c2)>>1, right ?
|
| > * round-up average: chroma = (c1+c2+1)/2. using mmx
| pavg[us]b, round-
| >   up can be performed ~10% faster than round-down.
|
| ? chroma=(c1+c2+1)>>1 ??
|
| i vote for pavgb (pavgusb -> you want to do a 3dnow version ??)
|
| > note: this doesnt have much todo with interlace down sampling.
| > the docs ive recommend chroma=0.75*c1 + 0.25*c3.
|
| that's the real pain.
| so the UV data is intelaced AFTER downsampling, right ??
| that's very important. how do you do interlaced upsampling ?
|
| i can help you to do the YV12->YUY2 interlaced upsampling
| code, because
| i need it for MPEG2Dec3 YV12->YUY2 interlaced convertion
|
| i think upsampling is really a problem.
| downsampling is easy, no ?
|
|
| _______________________________________________
| XviD-devel mailing list
| XviD-devel@xvid.org
| http://list.xvid.org/mailman/listinfo/xvid-devel
|