Skip to content

Commit

Permalink
version 0.3.0-rc49
Browse files Browse the repository at this point in the history
Continue to fine-tune the nhw_kernel weights
  • Loading branch information
rcanut committed Jan 19, 2025
1 parent 4b37844 commit c38c82b
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 10 deletions.
38 changes: 31 additions & 7 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-rc48 *
* last update: $ 01152025 nhw exp $ *
* version: 0.3.0-rc49 *
* last update: $ 01192025 nhw exp $ *
* *
****************************************************************************
****************************************************************************
Expand Down Expand Up @@ -1107,7 +1107,7 @@ void pre_processing(image_buffer *im)
t11 = 9;
}
else if (t7>=4)
{
{
if (!t16)
{
t10 = 10;
Expand Down Expand Up @@ -1186,7 +1186,7 @@ void pre_processing(image_buffer *im)
}
else if (t24==1)
{
t16 = 1;
t16 = 2;

t24 = 2;
}
Expand All @@ -1198,7 +1198,7 @@ void pre_processing(image_buffer *im)
}
else if (t24==3)
{
t16 = 0;
t16 = 2;

t24 = 4;
}
Expand All @@ -1210,7 +1210,7 @@ void pre_processing(image_buffer *im)
}
else if (t24==5)
{
t16 = 0;
t16 = 1;

t24 = 6;
}
Expand All @@ -1224,7 +1224,31 @@ void pre_processing(image_buffer *im)
{
t16 = 0;

t24 = 4;
t24 = 8;
}
else if (t24==8)
{
t16 = 1;

t24 = 9;
}
else if (t24==9)
{
t16 = 0;

t24 = 10;
}
else if (t24==10)
{
t16 = 1;

t24 = 11;
}
else if (t24==11)
{
t16 = 0;

t24 = 8;
}
}
}
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-rc48 *
* last update: $ 01152025 nhw exp $ *
* version: 0.3.0-rc49 *
* last update: $ 01192025 nhw exp $ *
* *
****************************************************************************
****************************************************************************
Expand Down Expand Up @@ -51,7 +51,7 @@
#include "codec.h"

#define PROGRAM "nhw-enc"
#define VERSION "0.3.0-rc48"
#define VERSION "0.3.0-rc49"

#define NHW_QUALITY_MIN LOW20
#define NHW_QUALITY_MAX HIGH3
Expand Down

0 comments on commit c38c82b

Please sign in to comment.