Tag Archives: c

Super Resolution Convolution Neuron Network engine updated – libsrcnn

      Comments Off on Super Resolution Convolution Neuron Network engine updated – libsrcnn

My old libsrcnn experimentally updated for doing scaling with stepping sequence in multiply ratio 2.0 for solve some issues belong to original source. ShuWang’s OpenCV codes was just seems to belong to matlab, and I had advanced code with OpenMP then native C++ that runs all almost platform with g++… Read more »

Rock960[A/B/C] kernel patch for supporting some USB GbE

      Comments Off on Rock960[A/B/C] kernel patch for supporting some USB GbE

Here’s my kernel patch for Rock960[A/B/C] board based on git – “stable-4.4-rk3399-linux-v2.1x” branch patch for support or modified for : Governor for performance. Supporting latest version of Realtek r8152/3 USB 3.0 GbE ( merged version of “9” ) Supporting latest version of Cypress GX3 USB 3.0 GbE Supporting latest version… Read more »

Writing RGB or GREY buffer into a JPEG file

      Comments Off on Writing RGB or GREY buffer into a JPEG file

Import issue: This example code is for Linux ( or possible for MacOSX ). and .. Fixed some wrong code Makefile It must be declared to link with jpeg library in system, or it should not be switched with turbo-jpeg. LFLAGS += -ljpeg Code for jpeglib. #include <jpeglib.h> int writejpeg(… Read more »

V4L2 + V4l-utils, Capture for multi-planar #2

      Comments Off on V4L2 + V4l-utils, Capture for multi-planar #2

This post was continued from “V4L2 + V4l-utils, Capture for multi-planar #1“ Querying external controls Getting external control should be an optional job, but it maybe needed to control brightness and gain for good to get excellent balanced image. Little bit difficult to understand in first time but can be… Read more »

V4L2 + V4l-utils, Capture for multi-planar #1

      Comments Off on V4L2 + V4l-utils, Capture for multi-planar #1

It was very hard to find out how it works until I made it by myself in multiple times. As we maybe already knows – Always comes mind peace when I have the answer, right – It was maybe very easy but very hard to know, not kindly explained anywhere… Read more »

FLTK tech, HICON to Fl_RGB_Image

      Comments Off on FLTK tech, HICON to Fl_RGB_Image

This is a simple source code for converting Windows HICON to Fl_RGB_Image for my own customized FLTK window. Before understanding how it works, It must be requires understanding of some Windows API like LoadImage(). API, icon_to_flrgb() Fl_RGB_Image* icon_to_flrgb(HICON hIcon) { BITMAP bm; ICONINFO iconInfo; GetIconInfo(hIcon, &iconInfo); GetObject(iconInfo.hbmColor, sizeof(BITMAP),&bm); int width… Read more »

openXcom save editor C++ source code.

      Comments Off on openXcom save editor C++ source code.

  openXcom is a great windows application developed for everyone as an open source. Anybody can enjoy long time ago original Xcom:UFO defense in any version of Windows, specially my Windows10 with Pentium 957 really works well in low energy cost, lovely game. But if you have any experience in… Read more »

FLTK+MinGW+DirectX8, Joystick example

      Comments Off on FLTK+MinGW+DirectX8, Joystick example

 Here I made an example source code with Code::Blocks+MinGW-W64+WINE project directX8 library for using joystick. You should know this project limited to under Windows32 platform, but You can make fast faced simple game without DirectX surface, only using FLTK and Direct Input. I recommend to using my FLTK-1.3.3-ts library for… Read more »