provide hdsp_mode_table to HD Station grabber.

This commit is contained in:
Lukas Hejtmanek
2010-02-07 22:05:56 +01:00
parent 090e742fe8
commit ddf664c6b3
2 changed files with 13 additions and 0 deletions

View File

@@ -62,6 +62,7 @@
#include "debug.h"
#include "video_capture.h"
#include "video_capture/hdstation.h"
#include "video_display/hdstation.h"
#include "video_codec.h"
#include "tv.h"
#include "dvs_clib.h" /* From the DVS SDK */
@@ -85,6 +86,7 @@ struct vidcap_hdstation_state {
codec_t codec;
uint32_t hd_video_mode;
struct video_frame frame;
const hdsp_mode_table_t *mode;
};
static void *vidcap_hdstation_grab_thread(void *arg)

View File

@@ -45,6 +45,17 @@
#define DISPLAY_HDSTATION_ID 0x74ac3e0f
typedef struct {
char *name;
int mode;
double fps;
unsigned int width;
unsigned int height;
char interlaced;
} hdsp_mode_table_t;
extern const hdsp_mode_table_t hdsp_mode_table[];
display_type_t *display_hdstation_probe(void);
void *display_hdstation_init(char *fmt);
void display_hdstation_done(void *state);