您好:
DM368接收720p60的YCbCr图像信号,ISIF->SDRAM->OSD输出,电视上可以正确显示源图像。
但是 ISIF->IPIPE->SDRAM->OSD,图像颜色错误。
请问这是什么原因???
源图像:
经裁剪后(422to420),实际图像
以下是RSZ部分的寄存器:
rsz SRC_EN reg val is : 0x00000001
rsz SRC_MODE reg val is : 0x00000000
rsz SRC_FMT0 reg val is : 0x00000001
rsz SRC_FMT1 reg val is : 0x00000000
rsz SRC_VPS reg val is : 0x00000000
rsz SRC_VSZ reg val is : 0x000002df
rsz SRC_HPS reg val is : 0x00000000
rsz SRC_HSZ reg val is : 0x000004ff
rsz DMA_RZA reg val is : 0x00000080
rsz DMA_RZB reg val is : 0x00000040
rsz DMA_STA reg val is : 0x00000000
rsz GCK_MMR reg val is : 0x00000001
rsz GCK_SDR reg val is : 0x00000001
rsz IRQ_RZA reg val is : 0x00001fff
rsz IRQ_RZB reg val is : 0x00001fff
rsz YUV_Y_MIN reg val is : 0x00000000
rsz YUV_Y_MAX reg val is : 0x000000ff
rsz YUV_C_MIN reg val is : 0x00000000
rsz YUV_C_MAX reg val is : 0x000000ff
rsz YUV_PHS reg val is : 0x00000001
rsz SEQ reg val is : 0x00000000
rsz RZA_EN reg val is : 0x00000001
rsz RZA_MODE reg val is : 0x00000000
rsz RZA_420 reg val is : 0x00000003
rsz RZA_I_VPS reg val is : 0x00000000
rsz RZA_I_HPS reg val is : 0x00000000
rsz RZA_O_VSZ reg val is : 0x000002df
rsz RZA_O_HSZ reg val is : 0x000004ff
rsz RZA_V_PHS_Y reg val is : 0x00000000
rsz RZA_V_PHS_C reg val is : 0x00000000
rsz RZA_V_DIF reg val is : 0x00000100
rsz RZA_V_TYP reg val is : 0x00000000
rsz RZA_V_LPF reg val is : 0x00000000
rsz RZA_H_PHS reg val is : 0x00000000
rsz RZA_H_PHS_ADJ reg val is : 0x00000000
rsz RZA_H_DIF reg val is : 0x00000100
rsz RZA_H_TYP reg val is : 0x00000000
rsz RZA_H_LPF reg val is : 0x00000000
rsz RZA_DWN_EN reg val is : 0x00000000
rsz RZA_DWN_AV reg val is : 0x00000000
rsz RZA_RGB_EN reg val is : 0x00000000
rsz RZA_RGB_TYP reg val is : 0x00000000
rsz RZA_RGB_BLD reg val is : 0x00000000
rsz RZA_SDR_Y_BAD_H reg val is : 0x000083c1
rsz RZA_SDR_Y_BAD_L reg val is : 0x00006080
rsz RZA_SDR_Y_SAD_H reg val is : 0x00008396
rsz RZA_SDR_Y_SAD_L reg val is : 0x00000080
rsz RZA_SDR_Y_OFT reg val is : 0x00000500
rsz RZA_SDR_Y_PTR_S reg val is : 0x00000000
rsz RZA_SDR_Y_PTR_E reg val is : 0x000002e0
rsz RZA_SDR_C_BAD_H reg val is : 0x000083d0
rsz RZA_SDR_C_BAD_L reg val is : 0x0000c080
rsz RZA_SDR_C_SAD_H reg val is : 0x000083a4
rsz RZA_SDR_C_SAD_L reg val is : 0x00006080
rsz RZA_SDR_C_OFT reg val is : 0x00000500
rsz RZA_SDR_C_PTR_S reg val is : 0x00000000
rsz RZA_SDR_C_PTR_E reg val is : 0x00000170
rsz RZB_EN reg val is : 0x00000001
rsz RZB_MOD reg val is : 0x00000000
rsz RZB_420 reg val is : 0x00000003
rsz RZB_I_VPS reg val is : 0x00000000
rsz RZB_I_HPS reg val is : 0x00000000
rsz RZB_O_VSZ reg val is : 0x000000bf
rsz RZB_O_HSZ reg val is : 0x0000013f
rsz RZB_V_PHS_Y reg val is : 0x00000000
rsz RZB_V_PHS_C reg val is : 0x00000000
rsz RZB_V_DIF reg val is : 0x000003d5
rsz RZB_V_TYP reg val is : 0x00000000
rsz RZB_V_LPF reg val is : 0x00000000
rsz RZB_H_PHS reg val is : 0x00000000
rsz RZB_H_PHS_ADJ reg val is : 0x00000000
rsz RZB_H_DIF reg val is : 0x00000400
rsz RZB_H_TYP reg val is : 0x00000000
rsz RZB_H_LPF reg val is : 0x00000000
rsz RZB_DWN_EN reg val is : 0x00000000
rsz RZB_DWN_AV reg val is : 0x00000000
rsz RZB_RGB_EN reg val is : 0x00000000
rsz RZB_RGB_TYP reg val is : 0x00000000
rsz RZB_RGB_BLD reg val is : 0x00000000
rsz RZB_SDR_Y_BAD_H reg val is : 0x000083da
rsz RZB_SDR_Y_BAD_L reg val is : 0x00002080
rsz RZB_SDR_Y_SAD_H reg val is : 0x000083d7
rsz RZB_SDR_Y_SAD_L reg val is : 0x00004080
rsz RZB_SDR_Y_OFT reg val is : 0x00000140
rsz RZB_SDR_Y_PTR_S reg val is : 0x00000000
rsz RZB_SDR_Y_PTR_E reg val is : 0x000000c0
rsz RZB_SDR_C_BAD_H reg val is : 0x000083db
rsz RZB_SDR_C_BAD_L reg val is : 0x00001080
rsz RRZB_SDR_C_SAD_H reg val is : 0x000083d8
rsz RZB_SDR_C_SAD_L reg val is : 0x00003080
rsz RZB_SDR_C_OFT reg val is : 0x00000140
rsz RZB_SDR_C_PTR_S reg val is : 0x00000000
rsz RZB_SDR_C_PTR_E reg val is : 0x00000060
Tuff Li:
你接的是LCD屏?像是CbCr顺序反了
另外一个,DM36x VPBE内部可以直接产生colorbar,你看看VDPRO寄存器,直接输出看是否正常