Skip to content

Commit

Permalink
version 0.3.0-rc43
Browse files Browse the repository at this point in the history
Continue to fine-tune the nhw_kernel weights
  • Loading branch information
rcanut committed Dec 23, 2024
1 parent 3fa085e commit 5a812dc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
15 changes: 9 additions & 6 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-rc42 *
* last update: $ 12152024 nhw exp $ *
* version: 0.3.0-rc43 *
* last update: $ 12232024 nhw exp $ *
* *
****************************************************************************
****************************************************************************
Expand Down Expand Up @@ -858,13 +858,16 @@ void pre_processing(image_buffer *im)
t20 = (8*IM_SIZE);
}

if (t19>0 && t19<(4*IM_SIZE) && t20>1)
if (t19>0 && t19<(4*IM_SIZE))
{
t6 = 5000000;
if (t20>2 || (t20==2 && t6>3))
{
t6 = 5000000;

t21++;
t21++;

if (t21>=2) t19 = (8*IM_SIZE);
if (t21>=2) t19 = (8*IM_SIZE);
}
}

if (!t19)
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-rc42 *
* last update: $ 12152024 nhw exp $ *
* version: 0.3.0-rc43 *
* last update: $ 12232024 nhw exp $ *
* *
****************************************************************************
****************************************************************************
Expand Down Expand Up @@ -51,7 +51,7 @@
#include "codec.h"

#define PROGRAM "nhw-enc"
#define VERSION "0.3.0-rc42"
#define VERSION "0.3.0-rc43"

#define NHW_QUALITY_MIN LOW20
#define NHW_QUALITY_MAX HIGH3
Expand Down

0 comments on commit 5a812dc

Please sign in to comment.