From 622c1559ae6d2de1d08be32fbe8babfefd72edc6 Mon Sep 17 00:00:00 2001 From: Raphael Canut Date: Fri, 10 Jan 2025 16:50:35 +0100 Subject: [PATCH] version 0.3.0-rc47 Continue to fine-tune the nhw_kernel weights --- encoder/image_processing.c | 11 +++++++---- encoder/nhw_encoder_cli.c | 8 ++++---- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/encoder/image_processing.c b/encoder/image_processing.c index b77ba1e..0b013aa 100644 --- a/encoder/image_processing.c +++ b/encoder/image_processing.c @@ -2,8 +2,8 @@ **************************************************************************** * NHW Image Codec * * file: image_processing.c * -* version: 0.3.0-rc46 * -* last update: $ 01032025 nhw exp $ * +* version: 0.3.0-rc47 * +* last update: $ 01102025 nhw exp $ * * * **************************************************************************** **************************************************************************** @@ -12,7 +12,7 @@ * remark: -image processing set * ***************************************************************************/ -/* Copyright (C) 2007-2024 NHW Project +/* Copyright (C) 2007-2025 NHW Project Written by Raphael Canut - nhwcodec_at_gmail.com */ /* Redistribution and use in source and binary forms, with or without @@ -1178,7 +1178,10 @@ void pre_processing(image_buffer *im) t11 = 12; - t16 = 0; + if (!(t7&1)) t16 = 1; + else t16 = 0; + + t7++; } } else diff --git a/encoder/nhw_encoder_cli.c b/encoder/nhw_encoder_cli.c index 6336d3f..f112a40 100644 --- a/encoder/nhw_encoder_cli.c +++ b/encoder/nhw_encoder_cli.c @@ -2,8 +2,8 @@ **************************************************************************** * NHW Image Codec * * file: nhw_encoder_cli.c * -* version: 0.3.0-rc46 * -* last update: $ 01032025 nhw exp $ * +* version: 0.3.0-rc47 * +* last update: $ 01102025 nhw exp $ * * * **************************************************************************** **************************************************************************** @@ -12,7 +12,7 @@ * remark: -simple codec * ***************************************************************************/ -/* Copyright (C) 2007-2024 NHW Project +/* Copyright (C) 2007-2025 NHW Project Written by Raphael Canut - nhwcodec_at_gmail.com */ /* Redistribution and use in source and binary forms, with or without @@ -51,7 +51,7 @@ #include "codec.h" #define PROGRAM "nhw-enc" -#define VERSION "0.3.0-rc46" +#define VERSION "0.3.0-rc47" #define NHW_QUALITY_MIN LOW20 #define NHW_QUALITY_MAX HIGH3