Skip to content

Commit

Permalink
version 0.3.0-rc23
Browse files Browse the repository at this point in the history
Continue to fine-tune the nhw_kernel weights
  • Loading branch information
rcanut committed Sep 19, 2024
1 parent b321384 commit 7b79f3c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 7 deletions.
26 changes: 22 additions & 4 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-rc22 *
* last update: $ 09152024 nhw exp $ *
* version: 0.3.0-rc23 *
* last update: $ 09192024 nhw exp $ *
* *
****************************************************************************
****************************************************************************
Expand Down Expand Up @@ -933,9 +933,27 @@ void pre_processing(image_buffer *im)

t8 = 0;

if (t10==8) t10 = 10;else t10 = 8;
if (t7==3)
{
if (!t6)
{
t10 = 10;

t11 = 15;
}
else
{
t10 = 8;

t11 = 12;
}
}
else
{
if (t10==8) t10 = 10;else t10 = 8;

if (t11==12) t11 = 15;else t11 = 12;
if (t11==12) t11 = 15;else t11 = 12;
}
}
else if (t1>=15)
{
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-rc22 *
* last update: $ 09152024 nhw exp $ *
* version: 0.3.0-rc23 *
* last update: $ 09192024 nhw exp $ *
* *
****************************************************************************
****************************************************************************
Expand Down Expand Up @@ -50,7 +50,7 @@
#include "codec.h"

#define PROGRAM "nhw-enc"
#define VERSION "0.3.0-rc22"
#define VERSION "0.3.0-rc23"

#define NHW_QUALITY_MIN LOW20
#define NHW_QUALITY_MAX HIGH3
Expand Down

0 comments on commit 7b79f3c

Please sign in to comment.