porno canal+

This commit is contained in:
tTh 2024-04-01 18:26:46 +02:00
parent b9102e2991
commit 0c17de9f93
2 changed files with 6 additions and 5 deletions

View File

@ -192,7 +192,7 @@ return FULL_NUCKED;
}
/*::------------------------------------------------------------------::*/
/*
* new 3 jan 203 - at Mixart-Myrys
* new 3 jan 2013 - at Mixart-Myrys
*/
int Image_TV_cplus_v1(Image_Desc *src, Image_Desc *dst, int p)
{
@ -200,7 +200,7 @@ int foo;
int y, taille;
#if DEBUG_LEVEL
fprintf(stderr, "%s ( %p %p %d )\n", __func__, src, dst, p);
fprintf(stderr, ">>> %s ( %p %p %d )\n", __func__, src, dst, p);
#endif
if (p <= 1) {
@ -218,7 +218,8 @@ taille = src->width - (abs(p*2));
fprintf(stderr, "%s: largeur %d, taille %d\n", __func__, src->width, taille);
#endif
Image_gray_noise_0(dst, 20, 60);
/* make a background for left and right border's pixels */
Image_gray_noise_0(dst, 20, 90);
for (y=0; y<src->height; y++) {
switch (rand()%3) {

View File

@ -43,7 +43,7 @@ mot_clef mots_clef[] =
/*::------------------------------------------------------------------::*/
void usage(int flag)
{
fprintf(stderr, "* tga_television v 0.0.24 [%s] %s\n",
fprintf(stderr, "* tga_television v 0.0.25 [%s] %s\n",
TGA_OUTILS_VERSION, TGA_OUTILS_COPYLEFT);
fprintf(stderr, " compiled %s at %s\n", __DATE__, __TIME__);
fprintf(stderr, "Usage:\n\ttga_television <src.tga> method <dst.tga> [params]\n");
@ -139,7 +139,7 @@ switch (commande)
foo = Image_TV_triligne(src, dst, par[0]);
break;
case TV_PROTO:
case TV_PROTO: /* effet porno canal+ */
foo = Image_TV_cplus_v1(src, dst, par[0]);
break;