Skip to content

Instantly share code, notes, and snippets.

@helen-fornazier
Created August 3, 2015 18:31
Show Gist options
  • Save helen-fornazier/3a6810950df882d0fd56 to your computer and use it in GitHub Desktop.
Save helen-fornazier/3a6810950df882d0fd56 to your computer and use it in GitHub Desktop.
static const struct vimc_deb_pix_map vimc_deb_pix_map_list[] = {
{
.code = MEDIA_BUS_FMT_SBGGR8_1X8,
.order = { {VIMC_DEB_BLUE, VIMC_DEB_GREEN},
{VIMC_DEB_GREEN, VIMC_DEB_RED}}
},
{
.code = MEDIA_BUS_FMT_SGBRG8_1X8,
.order = { {VIMC_DEB_GREEN, VIMC_DEB_BLUE},
{VIMC_DEB_RED, VIMC_DEB_GREEN}}
},
{
.code = MEDIA_BUS_FMT_SGRBG8_1X8,
.order = { {VIMC_DEB_GREEN, VIMC_DEB_RED},
{VIMC_DEB_BLUE, VIMC_DEB_GREEN}}
},
{
.code = MEDIA_BUS_FMT_SRGGB8_1X8,
.order = { {VIMC_DEB_RED, VIMC_DEB_GREEN},
{VIMC_DEB_GREEN, VIMC_DEB_BLUE}}
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment