Skip to content

Commit

Permalink
Fixed some bugs, refer to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rageworx committed Aug 26, 2019
1 parent 0162b2e commit 41e57f9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,15 @@ This is an open source project from original of this:
* MacOSX ( clang, llvm )

## Latest Changes
### Verison 0.1.9.35
* Fixed memory bug in float images from RGB case.
* header version flag fixed.

## Previous Changes
### Verison 0.1.9.34
* Fixed don't use color space scaling with bicubic filter.
* Now supporting alpha channel.

## Previous Changes
### Verison 0.1.8.30
* Precision step scaling bug fixed.
### Verison 0.1.8.28
Expand Down
4 changes: 2 additions & 2 deletions res/resource.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#define APP_VERSION 0,1,9,34
#define APP_VERSION_STR "0.1.9.34"
#define APP_VERSION 0,1,9,35
#define APP_VERSION_STR "0.1.9.35"
4 changes: 4 additions & 0 deletions src/libsrcnn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,10 @@ void initImgYCbCr( ImgYCbCr &img, unsigned w, unsigned h, unsigned d )
img.uA = true;
initImgF32( img.A, w, h );
}
else
{
memset( &img.A, 0, sizeof( ImgF32 ) );
}
}

void converImgU8toYCbCr( ImgU8 &src, ImgYCbCr &out )
Expand Down
4 changes: 2 additions & 2 deletions src/libsrcnn.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
#endif
#endif /// of LIBSRCNNSTATIC

// libsrcnn version means, 0.1.9.34
#define LIBSRCNN_VERSION 0x0001081E
// libsrcnn version means, 0.1.9.35
#define LIBSRCNN_VERSION 0x00010923

typedef enum DLL_PUBLIC
{
Expand Down

0 comments on commit 41e57f9

Please sign in to comment.