[MOVED FROM GOOD] Makefile.am: Add win32 MANIFEST

Original commit message from CVS:
* Makefile.am:
Add win32 MANIFEST
* sys/directdraw/gstdirectdrawsink.c:
* sys/directdraw/gstdirectdrawsink.h:
Clear unused code and add comments.
Remove yuv from template caps, it only supports RGB
actually.
Implement XOverlay interface and remove window and fullscreen
properties.
Add debug logs.
Test for blit capabilities to return only the current colorspace if
the hardware can't blit for one colorspace to another.
* sys/directsound/gstdirectsoundsink.c:
Add some debugs.
* win32/MANIFEST:
Add VS7 project files and solution.
* win32/vs6/gst_plugins_bad.dsw:
* win32/vs6/libgstdirectdraw.dsp:
* win32/vs6/libgstdirectsound.dsp:
* win32/vs6/libgstqtdemux.dsp:
Update project files.
This commit is contained in:
Sébastien Moutte 2007-02-11 15:26:49 +00:00 committed by Jan Schmidt
parent 7a8bf9900c
commit 4dab9691c3
2 changed files with 381 additions and 249 deletions

File diff suppressed because it is too large Load diff

View file

@ -27,8 +27,9 @@
#include <gst/gst.h>
#include <gst/video/gstvideosink.h>
#include <windows.h>
#include <gst/interfaces/xoverlay.h>
#include <windows.h>
#include <ddraw.h>
G_BEGIN_DECLS
@ -54,39 +55,31 @@ struct _GstDDrawSurface
/* directdraw surface */
LPDIRECTDRAWSURFACE surface;
/* surface dimensions */
gint width;
gint height;
/*TRUE when surface is locked*/
gboolean locked;
/*TRUE when surface is using a system memory buffer
(i'm using system memory when directdraw optimized pitch is not the same as the GStreamer one)*/
gboolean system_memory;
/* pixel format of the encapsulated surface */
DDPIXELFORMAT dd_pixel_format;
/* pointer to parent */
GstDirectDrawSink *ddrawsink;
};
typedef struct _GstDDDDisplayMode GstDDDisplayMode;
struct _GstDDDDisplayMode
{
gint width;
gint height;
gint bpp;
};
struct _GstDirectDrawSink
{
GstVideoSink videosink;
/* directdraw offscreen surfaces pool */
GSList *buffer_pool;
GSList *display_modes;
//GstDDDisplayMode display_mode;
GMutex *pool_lock;
/* directdraw objects */
LPDIRECTDRAW ddraw_object;
@ -95,43 +88,40 @@ struct _GstDirectDrawSink
LPDIRECTDRAWSURFACE overlays;
LPDIRECTDRAWCLIPPER clipper;
/*DDCAPS DDDriverCaps;
DDCAPS DDHELCaps;
gboolean can_blit;*/
/* last buffer displayed (used for XOverlay interface expose method) */
GstBuffer * last_buffer;
/*Directdraw caps */
/* directdraw caps */
GstCaps *caps;
/*handle of the video window */
/* video window management */
HWND video_window;
gboolean our_video_window;
HANDLE window_created_signal;
gboolean resize_window;
/* video properties */
gint video_width, video_height;
gint out_width, out_height;
//gdouble framerate;
gint fps_n;
gint fps_d;
/*properties*/
LPDIRECTDRAWSURFACE extern_surface;
gboolean keep_aspect_ratio;
gboolean fullscreen;
/*pixel format */
DDPIXELFORMAT dd_pixel_format;
/* thread processing our default window messages */
GThread *window_thread;
gboolean bUseOverlay;
gboolean bIsOverlayVisible;
/* TRUE when directdraw objects are setup */
gboolean setup;
GMutex *pool_lock;
/* overlays */
gboolean bUseOverlay;
gboolean bIsOverlayVisible;
guint color_key;
/*LPDIRECTDRAWSURFACE extern_surface; */
};
struct _GstDirectDrawSinkClass