Skip to content

Commit

Permalink
version 0.3.0-rc25
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 25, 2024
1 parent 4139672 commit 2e24de0
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 5 deletions.
25 changes: 23 additions & 2 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-rc24 *
* last update: $ 09222024 nhw exp $ *
* version: 0.3.0-rc25 *
* last update: $ 09252024 nhw exp $ *
* *
****************************************************************************
****************************************************************************
Expand Down Expand Up @@ -946,6 +946,27 @@ void pre_processing(image_buffer *im)
t11 = 12;
}
}
else if (t7==1)
{
if (t9<2)
{
t10 = 10;

t11 = 15;

t9++;
}
else
{
t10 = 8;

t11 = 12;

t9++;

if (t9>=3) t9 = 0;
}
}
else
{
if ((t6==10 || t6==11) && !t7)
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-rc24 *
* last update: $ 09222024 nhw exp $ *
* version: 0.3.0-rc25 *
* last update: $ 09252024 nhw exp $ *
* *
****************************************************************************
****************************************************************************
Expand Down Expand Up @@ -50,7 +50,7 @@
#include "codec.h"

#define PROGRAM "nhw-enc"
#define VERSION "0.3.0-rc24"
#define VERSION "0.3.0-rc25"

#define NHW_QUALITY_MIN LOW20
#define NHW_QUALITY_MAX HIGH3
Expand Down

0 comments on commit 2e24de0

Please sign in to comment.