mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 02:40:26 +00:00
provide hdsp_mode_table to HD Station grabber.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user