summaryrefslogtreecommitdiff
path: root/gr-video-sdl/src/video_sdl_sink_s.h
diff options
context:
space:
mode:
authorJosh Blum2011-07-24 00:09:02 -0700
committerJosh Blum2011-07-24 00:09:02 -0700
commita4ff45eb7d8d45ad540f89358da2c2a041a2560f (patch)
tree486bc585fa4155bd1ac9304de8a31e4eebf46101 /gr-video-sdl/src/video_sdl_sink_s.h
parent2ac512b0d209600834425141f18d111524ad1348 (diff)
downloadgnuradio-a4ff45eb7d8d45ad540f89358da2c2a041a2560f.tar.gz
gnuradio-a4ff45eb7d8d45ad540f89358da2c2a041a2560f.tar.bz2
gnuradio-a4ff45eb7d8d45ad540f89358da2c2a041a2560f.zip
video-sdl: video sdl builds on windows with MSVC as well
Diffstat (limited to 'gr-video-sdl/src/video_sdl_sink_s.h')
-rw-r--r--gr-video-sdl/src/video_sdl_sink_s.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gr-video-sdl/src/video_sdl_sink_s.h b/gr-video-sdl/src/video_sdl_sink_s.h
index 9d3651402..2ec15e36d 100644
--- a/gr-video-sdl/src/video_sdl_sink_s.h
+++ b/gr-video-sdl/src/video_sdl_sink_s.h
@@ -23,6 +23,7 @@
#ifndef INCLUDED_VIDEO_SDL_SINK_S_H
#define INCLUDED_VIDEO_SDL_SINK_S_H
+#include <video_sdl_api.h>
#include <gr_sync_block.h>
#include <string>
#include <SDL.h>
@@ -34,7 +35,7 @@
class video_sdl_sink_s;
typedef boost::shared_ptr<video_sdl_sink_s> video_sdl_sink_s_sptr;
-video_sdl_sink_s_sptr
+VIDEO_SDL_API video_sdl_sink_s_sptr
video_sdl_make_sink_s (double framerate,int width=640, int height=480,unsigned int format=IMGFMT_YV12,int dst_width=-1,int dst_height=-1);
/*!
@@ -47,8 +48,8 @@ video_sdl_make_sink_s (double framerate,int width=640, int height=480,unsigned i
* Input samples must be in the range [0,255].
*/
-class video_sdl_sink_s : public gr_sync_block {
- friend video_sdl_sink_s_sptr
+class VIDEO_SDL_API video_sdl_sink_s : public gr_sync_block {
+ friend VIDEO_SDL_API video_sdl_sink_s_sptr
video_sdl_make_sink_s (double framerate,int width, int height,unsigned int format,int dst_width,int dst_height);
int d_chunk_size;