[XviD-devel] vop flag question
Pascal Massimino
skal at planet-d.net
Wed Jun 22 08:40:51 CEST 2005
Hi,
On Tue, 2005-06-14 at 16:47, MAILER-DAEMON at edu.bnhof.de wrote:
> But looking and xvid_encraw.c example it doesn't use the
> XVID_VOP_GREYSCALE flag when encoding greyscale images.
> Instead it divides the image and makes an RGB image.
> Is there a reason XVID_VOP_GREYSCALE is not used(there
> is a bug to be worked out?), or is it just by choice?
Just an omission. I've added a '-grey' option
to xvid_encraw.c in cvs.
>
> Also looking through the code I couldn't find an option for
> a 1-channel image so I'm feeding a 3-channel image.
> I use XVID_CSP_I420 and set Cb & Cr channel to 0.
> Is there a better option?
>
> Finally I tested the XVID_VOP_GREYSCALE option by the two following
> tests.
> The src images are a sequence of greyscale images using XVID_CSP_I420
> option and setting Cb & Cr channel to 0. The image size is 1008x752.
> All options were the same for both encoding except for the
> XVID_VOP_GREYSCALE flag.
hmm... try setting the Cb & Cr values to '127' instead.
-Skal
More information about the XviD-devel
mailing list