Mailing List archive

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

[vdr] Re: Testimages



Hi Christian,

I would do it, but could you tell me how? What for code is it?

Greets
Habib 

> -----Original Message-----
> From: vdr-bounce@linuxtv.org [mailto:vdr-bounce@linuxtv.org] 
> On Behalf Of Christian Berger
> Sent: Sunday, July 14, 2002 2:18 PM
> To: vdr@linuxtv.org
> Subject: [vdr] Testimages
> 
> 
> Servus
> 
> Well http://casandro.dyndns.org/vdr/test1.png has a test-image, could 
> somebody try to display it with a DVB card then turn of 
> chroma and tell me if the brightness stays constant from left 
> to right.
> 
> Servus
>   Casandro
> -- 
> #define T 1000
> #define M T*T
> int main(){int x,y;for(y=0;y<20;y++){for(x=0;x<70;x++){int
> c=-1;int xr,yr,zr;int xp,yp,zp;xp=yp=zp=0;xr=(x-35);yr=(y-
> 10);zr=10;while(1){if(yp>T){c=5;if((((zp)/T)%2==1)^(((xp+M
> )/T)%2==1))c=0;break;}if(zp>T*10){c=0;if (((yp*yp+xp*xp)/( 
> T*100))%2==1)c=2;break;}zp+=zr;xp+=xr;yp+=yr;}printf("%c",
> c+32);}printf("\n");}};
> 
> 
> 





Home | Main Index | Thread Index