Tag Archives: example

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 »

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 »