niimaqdx: allow Mono16 to be big or little endian depending on interface

It appears FireWire and GigE Vision use different endianness. So now we need
to keep track of two things, PixelFormat and endianness.
This commit is contained in:
Joshua M. Doe
2013-01-30 12:07:19 -05:00
parent b7e1085885
commit 881a75b1f8
2 changed files with 59 additions and 40 deletions

View File

@@ -49,6 +49,7 @@ typedef struct _GstNiImaqDxSrcClass GstNiImaqDxSrcClass;
typedef struct
{
const char *pixel_format;
int endianness;
const char *gst_caps_string;
int bpp;
int depth;