From 0c17de9f937b3dc8f9326d00afe411c5419a3a29 Mon Sep 17 00:00:00 2001 From: tTh Date: Mon, 1 Apr 2024 18:26:46 +0200 Subject: [PATCH] porno canal+ --- Lib/tele_2.c | 7 ++++--- Tools/tga_television.c | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Lib/tele_2.c b/Lib/tele_2.c index 13a0b8f..33c0179 100644 --- a/Lib/tele_2.c +++ b/Lib/tele_2.c @@ -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; yheight; y++) { switch (rand()%3) { diff --git a/Tools/tga_television.c b/Tools/tga_television.c index 3ef6130..7360c57 100644 --- a/Tools/tga_television.c +++ b/Tools/tga_television.c @@ -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 method [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;