0x3014: MEDIA_BUS_FMT_SRGGB8_1X8 0x3007: MEDIA_BUS_FMT_SBGGR10_1X10 0x300e: MEDIA_BUS_FMT_SGBRG10_1X10 0x300a: MEDIA_BUS_FMT_SGRBG10_1X10 0x300f: MEDIA_BUS_FMT_SRGGB10_1X10 0x2001: MEDIA_BUS_FMT_Y8_1X8 0x200a: MEDIA_BUS_FMT_Y10_1X10 After: $ v4l2-ctl -d $(medi...
> > fmt->width = mode->width; > > fmt->height = mode->height; > > - fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; > > + > > + /* Bayer Order is determined by image resolution */ > > Ouch. > > This rather looks like a side effect of vertical cropping. How about > either...
.code = MEDIA_BUS_FMT_SGRBG10_1X10, .data_type = MIPI_CSI2_DT_RAW10, }, { .code = MEDIA_BUS_FMT_SRGGB10_1X10, .data_type = MIPI_CSI2_DT_RAW10, }, { .code = MEDIA_BUS_FMT_Y10_1X10, .data_type = MIPI_CSI2_DT_RAW10, ...
* enumeration, the bus formats are explicitly given a numerical value. The next * free values for each category are listed below, update them when inserting * new pixel codes. */ #define MEDIA_BUS_FMT_FIXED 0x0001 /* RGB - next is 0x101b */ #define MEDIA_BUS_FMT_RGB444_1...
{ “SGRBG10“ V4L2_MBUS_FMT_SGRBG10_1X10 } { “SGRBG10_DPCM8“ V4L2_MBUS_FMT_SGRBG10_DPCM8_1X8 }};static const char *pixelcode_to_string(enum v4l2_mbus_pixelcode code){ unsigned int i; for(i = 0; i < ARRAY_SIZE(mbus_formats); ++i) { if(mbus_formats[i].code == ...
MEDIABUS_H12#define__LINUX_V4L2_MEDIABUS_H1314#include <linux/types.h>15#include <linux/videodev2.h>1617/*18* These pixel codes uniquely identify data formats on the media bus. Mostly19* they correspond to similarly named V4L2_PIX_FMT_* formats, format 0 is20* reserved, V4L2_MBUS_FMT...
> > fmt->height = mode->height; > > - fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; > > + > > + /* Bayer Order is determined by image resolution */ > > + if (fmt->width == 3264 || fmt->width == 1632) > > Could we instead set the bayer order in the mode struct?
.fmt_reg = S5PCSIS_CFG_FMT_RAW8, .data_alignment = 24, }, { .code = V4L2_MBUS_FMT_SGRBG10_1X10, .fmt_reg = S5PCSIS_CFG_FMT_RAW10, .data_alignment = 24, }, { .code = V4L2_MBUS_FMT_SGRBG12_1X12, .fmt_reg = S5PCSIS_CFG_FMT_RAW12, ...
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your...
Available add-ons Advanced Security Enterprise-grade security features GitHub Copilot Enterprise-grade AI features Premium Support Enterprise-grade 24/7 support Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of ...