Skip to content

Commit

Permalink
version 0.3.0-rc36
Browse files Browse the repository at this point in the history
Continue to fine-tune the nhw_kernel weights
  • Loading branch information
rcanut committed Nov 7, 2024
1 parent a132bba commit 4723d8b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions encoder/image_processing.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
****************************************************************************
* NHW Image Codec *
* file: image_processing.c *
* version: 0.3.0-rc35 *
* last update: $ 11012024 nhw exp $ *
* version: 0.3.0-rc36 *
* last update: $ 11072024 nhw exp $ *
* *
****************************************************************************
****************************************************************************
Expand Down Expand Up @@ -853,7 +853,7 @@ void pre_processing(image_buffer *im)
if (abs(count)>sharpness)
{
if ((t2==1 || t12==1) && !t14)
{
{
if (!t3 && t2==1)
{
if (abs(res)>3000)
Expand Down Expand Up @@ -903,6 +903,8 @@ void pre_processing(image_buffer *im)
if (abs(res)>sharpn2) nhw_kernel[scan]=0;
}
}

if (abs(res)>sharpness || abs(count)>sharpness) t13 = 1;

if (t14==1)
{
Expand Down
6 changes: 3 additions & 3 deletions encoder/nhw_encoder_cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
****************************************************************************
* NHW Image Codec *
* file: nhw_encoder_cli.c *
* version: 0.3.0-rc35 *
* last update: $ 11012024 nhw exp $ *
* version: 0.3.0-rc36 *
* last update: $ 11072024 nhw exp $ *
* *
****************************************************************************
****************************************************************************
Expand Down Expand Up @@ -50,7 +50,7 @@
#include "codec.h"

#define PROGRAM "nhw-enc"
#define VERSION "0.3.0-rc35"
#define VERSION "0.3.0-rc36"

#define NHW_QUALITY_MIN LOW20
#define NHW_QUALITY_MAX HIGH3
Expand Down

0 comments on commit 4723d8b

Please sign in to comment.