Re: Gray scale video output from theora
"janaka priyadarshana" <[email protected]>
| Newsgroups | gmane.comp.multimedia.ogg.theora.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks Ralph, thanks very much... I got the point, Thanks again for you.. On Feb 17, 2008 1:40 PM, Ralph Giles <[email protected]> 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 _______________________________________________ theora-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/theora-dev