imx8MPlus how to set HDMI output BT.709 format

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8MPlus how to set HDMI output BT.709 format

769 Views
Jerry_z
Contributor I

Hi 

now i use command 

cat /sys/kernel/debug/dri/1/state  

find this: color-encoding=ITU-R BT.601 YCbCr

plane[37]: plane-2
        crtc=crtc-2
        fb=48
                allocated by = weston
                refcount=2
                format=XR24 little-endian (0x34325258)
                modifier=0x0
                size=1920x1080
                layers:
                        size[0]=1920x1080
                        pitch[0]=7680
                        offset[0]=0
                        obj[0]:
                                name=0
                                refcount=4
                                start=001017bb
                                size=8294400
                                imported=no
                                paddr=0x00000000d5a00000
                                vaddr=00000000797290c0
        crtc-pos=1920x1080+0+0
        src-pos=1920.000000x1080.000000+0.000000+0.000000
        rotation=1
        normalized-zpos=0
        color-encoding=ITU-R BT.601 YCbCr
        color-range=YCbCr limited range

connector[41]: HDMI-A-1
        crtc=crtc-2
        self_refresh_aware=0

And i find the problem, my sensor flow(BT.709) save in the USB Disk with format BT.709. is different with the screen i saw on the screen, which is BT.601 format.

Now i want HDMI output BT.709 format instead of BT.601.

Please tell me how to change in the bsp or any other method to modify.

 

Environment:

  CPU: i.MX 8M Plus Quad

  Linux version 5.10.9

   aarch64-poky-linux-gcc (GCC) 10.2.0,

 

Thanks a lot.

 

0 Kudos
Reply
2 Replies

676 Views
pengyong_zhang
NXP Employee
NXP Employee

Hi @Jerry_z 

It can not be modified by yourself, It depends on the HDMI spec 2.0, So you can check it on the HDMI spec file.

B.R

0 Kudos
Reply

704 Views
Jerry_z
Contributor I

hello?

Anyone can answer it ?

0 Kudos
Reply