[theora-dev] Gray scale video output from theora
janaka priyadarshana
rpjanaka at gmail.com
Sun Feb 17 00:28:59 PST 2008
Thanks Ralph, thanks very much...
I got the point, Thanks again for you..
On Feb 17, 2008 1:40 PM, Ralph Giles <giles at xiph.org> wrote:
> On 16-Feb-08, at 10:05 PM, janaka priyadarshana wrote:
>
> int temp = 0;
> for ( i = 0; i < yuv->uv_height; i++ ){
> memset( LocalDataPtr, &temp, yuv->uv_width );
> LocalDataPtr -= yuv->uv_width;
> InputDataPtr += yuv->uv_stride;
> }
>
>
> In addition to Shane's comment, gray is u=v=128, not zero. That's the
> likely origin of the odd colours in your output.
>
> -r
>
>
--
-----------
Regards,
Janaka Priyadarshana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/theora-dev/attachments/20080217/73074b93/attachment.htm
More information about the theora-dev
mailing list