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.

Code for jpeglib.

Code for TURBOJPEG

Read more »

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

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

This article continued from “V4L2 + V4l-utils, Capture for multi-planar #1“ Querying external controls Getting external conrol should be an optional job, but it may needed to control birghtness and gain for good to get excellent balanced image. Little bit difficult to understand in first time but can be understand… 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 – Alaways 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()

Plus, to remove Fl_RGB_Image in safe, use this. remove_fl_rgb_image()

And, let know… 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 »

Printing bits from unsigned char (BYTE) in C.

      Comments Off on Printing bits from unsigned char (BYTE) in C.

Anybody knows what numbers made in our computer if you have experience in programming. But did you have try to print what ‘unsigned char’ or ‘BYTE’, 1 byte data to bits? ‘unsigned char’ and ‘BYTE’ contain a number in ranged 0 to 255 in 8 bits. 0000:0000 to 1111:1111. Every… Read more »