Camera capture output format BGRA(32bit), required RGB24(24BIT)



Currently am working on RCAR-H3, camera capture output is 32bit format(BGRA)

May i know what are the changes we have to do in kernel source to get RGB24 (24bit) output format.

I looked rcar_vin.c file but there is no support for RGB24.


Could you please support changes in kernel source code, I really appreciate your feedback.

I am eagerly waiting for your inputs.


Thanks & Regards,


Parents Reply Children
  • Hi Sai,

    Thank you for your feedback.
    I would like to know RCAR-H3 will supports RGB 24-bit output format or not.
    In Datasheet (VIN module) I could not find RGB 24-bit format, It supports EXRGB(RGB 32bit) & ARGB
    As per your input R-CAR V2H supports 24-bit RGB display, Could you please share those drivers i will check with R-CAR H3 drivers.

    Thank you again, I am eagerly waiting for your response.

    Thanks & Regards,
  • Hello ram!

    I'm afraid I am not able to help you with that. I suggest you contact Renesas technical support by submitting a ticket.

    Best regards,

  • Hello Sai,

    Sorry for asking the drivers to share to test.

    Default camera captures BGRA format, to get RGB24(3-channel), i thought we can change the rcar_vin.c driver but this driver supports only 32bit data not 24bit data.

    To get RGB24 data we can use VSP(Video Signal Processor) module.
    In Yocto BSP i found the VSP manager(vspm.ko) and VSP interface drivers(vspm_if.ko)

    Now am looking for application which interact with vsp drivers. Below link found on web and compiled successfully.
    (In these applications i could not find /dev/video0 device name)

    I would like to know, Can you please share vsp sample application program to get RGB24 fromat or any formats from camera.

    One more point is how application will interact either /dev/video0 or /dev/media.

    I am eagerly waiting for your response.

    Thank you for your support, I really appreciate.

    Thanks & Regards,