![]() |
appkit
1.5.1
RoadNarrows Robotics Application Kit
|
Unit test for librnr_appkit Camera classes. More...
#include <stdio.h>#include <ctype.h>#include <iostream>#include <string>#include "rnr/rnrconfig.h"#include "rnr/log.h"#include "rnr/CameraCv.h"#include "rnr/CameraGst.h"#include "gtest/gtest.h"#include "opencv/cv.h"#include "opencv/highgui.h"#include <gtk/gtk.h>#include <gdk/gdkkeysyms.h>#include <gdk/gdkx.h>Go to the source code of this file.
Macros | |
| #define | KEY_L_SHIFT 0xe1 |
| left shift key code | |
| #define | KEY_R_SHIFT 0xe2 |
| right shift key code | |
| #define | KEY_L_CTRL 0xe3 |
| left ctrl key code | |
| #define | KEY_R_CTRL 0xe4 |
| right ctrl key code | |
| #define | KEY_L_ALT 0xe9 |
| left alt key code | |
| #define | KEY_R_ALT 0xea |
| right alt key code | |
Functions | |
| static CamRes | incRes (const CamRes &resCur) |
| Increment resolution to the next comman resolution. More... | |
| static CamRes | decRes (const CamRes &resCur) |
| Decrement resolution to the previous comman resolution. More... | |
| static int | testCameraCv () |
| Test OpenCv CameraCv class. More... | |
| void | GtkOnRealizeGstWin (GtkWidget *w, gpointer user_data) |
| Realize GStreamer video window callback. More... | |
| gboolean | GtkAlarm (gpointer user_data) |
| Timeout expiry callback. More... | |
| int | GtkWaitKey (int delay) |
| Wait for keypress or timeout. More... | |
| gboolean | GtkOnKeyPress (GtkWidget *w, GdkEventKey *event, gpointer *user_data) |
| Keyboard press event handler. More... | |
| static int | testCameraGst () |
| Test GStreamer CameraGst class. More... | |
| TEST (Camera, CameraCv) | |
| Test OpenCv camera class. More... | |
| TEST (Camera, CameraGst) | |
| Test OpenGst camera class. More... | |
Variables | |
| static const char * | TestMenu |
| static gulong | GstWinXid = 0 |
| static uint_t | GtkLastKey = 0 |
Unit test for librnr_appkit Camera classes.
Definition in file ut-Camera.cxx.