niimaqdx: add BayerBG8 support

This commit is contained in:
Joshua M. Doe
2013-01-29 11:19:03 -05:00
parent a5171fe410
commit 6c23f87572
2 changed files with 52 additions and 15 deletions

View File

@@ -46,6 +46,15 @@ G_BEGIN_DECLS
typedef struct _GstNiImaqDxSrc GstNiImaqDxSrc;
typedef struct _GstNiImaqDxSrcClass GstNiImaqDxSrcClass;
typedef struct
{
const char *pixel_format;
const char *gst_caps_string;
int bpp;
int depth;
int row_multiple;
} ImaqDxCapsInfo;
struct _GstNiImaqDxSrc {
GstPushSrc element;
@@ -59,6 +68,7 @@ struct _GstNiImaqDxSrc {
int dx_row_stride;
gint framesize;
guint8 *temp_buffer;
const ImaqDxCapsInfo *caps_info;
gint64 n_frames; /* total frames sent */
uInt32 cumbufnum;