23 #ifndef __FIREVISION_TOOLS_YUV_VIEWER_LOC_VIEWER_GUI_H_ 24 #define __FIREVISION_TOOLS_YUV_VIEWER_LOC_VIEWER_GUI_H_ 26 #define LOC_PLUGIN_NAME "fvnao_loc" 27 #define FUSE_PLUGIN_NAME "fvfountain" 28 #define FOUNTAIN_PORT_PATH "/firevision/fountain/tcp_port" 30 #include <fvwidgets/image_widget.h> 31 #include <fvutils/color/yuv.h> 45 bool on_mouse_over_yuv(GdkEventMotion *event);
46 bool on_click_on_yuv(GdkEventButton *event);
47 void on_y_value_changed();
48 void on_y_res_changed();
49 void on_uv_res_changed();
51 Glib::ustring convert_float2str(
float f,
unsigned int width);
55 Gtk::EventBox *__yuv_vp;
56 Gtk::Viewport *__cur_vp;
57 Gtk::Viewport *__seg_vp;
58 Gtk::HScale *__y_scale;
59 Gtk::Label *__u_value;
60 Gtk::Label *__v_value;
61 Gtk::SpinButton *__y_res;
62 Gtk::SpinButton *__u_res;
63 Gtk::SpinButton *__v_res;
69 unsigned char __yuv_buffer[256 * 256 * 2];
70 unsigned char __cur_buffer[ 60 * 40 * 2];
71 unsigned char __seg_buffer[256 * 256 * 2];
Tool to show the YUV color space.