Hi Jiaquan, On Wednesday 21 August 2013 18:14:50 Su Jiaquan wrote: > On Tue, Aug 20, 2013 at 8:53 PM, Laurent Pinchart wrote: > > Hi Jiaquan, > > > > I'm not sure if that's needed here. Vendor-specific formats still need to > > be documented, so we could just create a custom YUV format for your case. > > Let's start with the beginning, could you describe what gets transmitted > > on the bus when that special format is selected ? > > For YUV420P format, the data format sent from IPC is similar to > V4L2_MBUS_FMT_YUYV8_1_5X8, but the content for each line is different: > For odd line, it's YYU YYU YYU... For even line, it's YYV YYV YYV... > then DMA engine send them to RAM in planar format. > > For YUV420SP format, the data format sent from IPC is YYUV YYUV > YYUV(maybe called V4L2_MBUS_FMT_YYUV8_2X8?), but DMA engine drop UV > every other line, then send them to RAM as semi-planar. V4L2_MBUS_FMT_YYUV8_2X8 looks good to me. > Well, the first data format is too odd, I don't have a clue how to > call it, do you have suggestion? Maybe V4L2_MBUS_FMT_YU8_YV8_1_5X8 ? I've CC'ed Sakari Ailus, he's often pretty creative for these issues. -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html