Skip to content

Commit

Permalink
Bug fixed to copying C-Layer3 to Y, version updated to 0.1.6.23
Browse files Browse the repository at this point in the history
  • Loading branch information
rageworx committed Aug 14, 2018
1 parent feb4282 commit 13fc8a3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,14 @@ This is an open source project from original of this:
* MacOSX ( clang, llvm )

## Latest Changes
### Verison 0.1.6.23
* Fixed a small bug of wrong internal copying size.

## Previous Changes
### Verison 0.1.6.22
* Fixed bug of original source (ShuWang's SRCNN).
- Use last layer (3) to Y channel at last construction.
* Changed ProcessSRCNN() method to get optional convolutional result.

## Previous Changes
### Verison 0.1.6.20
* Fixed memory leak after convolution55.
* Changed ProcessSRCNN() method to get convolutional gray.
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,6,22
#define APP_VERSION_STR "0.1.6.22"
#define APP_VERSION 0,1,6,23
#define APP_VERSION_STR "0.1.6.23"
2 changes: 1 addition & 1 deletion src/libsrcnn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ int DLL_PUBLIC ProcessSRCNN( const unsigned char* refbuff,
// ---------------------------------------------------------
// Copy Third layer result to Y channel.

unsigned convsz = imgResized[0].width * imgResized[0].height;
unsigned convsz = imgResized[0].width * imgResized[0].height * sizeof( float );
memcpy( imgResized[0].buff, imgConv3.buff, convsz );

/* Convert the image from YCrCb to RGB Space */
Expand Down

0 comments on commit 13fc8a3

Please sign in to comment.