This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: Video input format

Part Number: AM5728

Tool/software: Linux

Hello

Our Video circuit : 

Component Video  => ADV7403 => AM5728 (vin3a of VIP2)

We have configure ADV7403 to YUV 16 bit ( YVYU).

Based on media-bus-format.h (/include/uapi/linux/media-bus-format.h) and videodev2.h (/include/uapi/linux/videodev2.h) we should use :

MEDIA_BUS_FMT_YVYU8_1X16  and V4L2_PIX_FMT_YVYU for our configuration.

But in /driver/media/platform/ti-vpe/vip.c we see this in line 248 : /* V4L2 currently only defines one 16 bit variant */

which is for RAW16, not YVYU16.

Questions :

1_ Does V4L2 and VIP supports 16 bit YVYU or not? how we can add this input format ?

2_ Where we should set input format in media decoder chip driver (please you explain it based on ADV7180 driver)

3_ Should the video input format be set to decoder IC driver only or need changes in vip.c, vpe.c, ...?

Best Regards.