Home
last modified time | relevance | path

Searched refs:dst_cbcr_swp (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/video/rockchip/rga2/
H A Drga2_reg_info.c382 RK_U8 dst_cbcr_swp = 0; in RGA2_set_reg_dst_info() local
479 … case RGA2_FORMAT_YCbCr_420_P : dst_format = 0xb; dst_cbcr_swp = 1; x_div = 2; y_div = 2; break; in RGA2_set_reg_dst_info()
480 … case RGA2_FORMAT_YCrCb_422_SP : dst_format = 0x8; dst_cbcr_swp = 1; x_div = 1; y_div = 1; break; in RGA2_set_reg_dst_info()
481 … case RGA2_FORMAT_YCrCb_422_P : dst_format = 0x9; dst_cbcr_swp = 1; x_div = 2; y_div = 1; break; in RGA2_set_reg_dst_info()
482 … case RGA2_FORMAT_YCrCb_420_SP : dst_format = 0xa; dst_cbcr_swp = 1; x_div = 1; y_div = 2; break; in RGA2_set_reg_dst_info()
488 case RGA2_FORMAT_YUYV_422 : dst_format = 0xe; dpw = 2; dst_cbcr_swp = 1; break; in RGA2_set_reg_dst_info()
490 case RGA2_FORMAT_YUYV_420 : dst_format = 0xf; dpw = 2; dst_cbcr_swp = 1; break; in RGA2_set_reg_dst_info()
492 case RGA2_FORMAT_UYVY_422 : dst_format = 0xc; dpw = 2; dst_cbcr_swp = 1; break; in RGA2_set_reg_dst_info()
494 case RGA2_FORMAT_UYVY_420 : dst_format = 0xd; dpw = 2; dst_cbcr_swp = 1; break; in RGA2_set_reg_dst_info()
501 …reg = ((reg & (~m_RGA2_DST_INFO_SW_DST_UV_SWAP)) | (s_RGA2_DST_INFO_SW_DST_UV_SWAP(dst_cbcr_swp))); in RGA2_set_reg_dst_info()
[all …]
/OK3568_Linux_fs/kernel/drivers/video/rockchip/rga3/
H A Drga2_reg_info.c659 u8 dst_cbcr_swp = 0; in RGA2_set_reg_dst_info() local
941 dst_cbcr_swp = 1; in RGA2_set_reg_dst_info()
947 dst_cbcr_swp = 1; in RGA2_set_reg_dst_info()
953 dst_cbcr_swp = 1; in RGA2_set_reg_dst_info()
959 dst_cbcr_swp = 1; in RGA2_set_reg_dst_info()
986 dst_cbcr_swp = 1; in RGA2_set_reg_dst_info()
995 dst_cbcr_swp = 1; in RGA2_set_reg_dst_info()
1004 dst_cbcr_swp = 1; in RGA2_set_reg_dst_info()
1013 dst_cbcr_swp = 1; in RGA2_set_reg_dst_info()
1032 (s_RGA2_DST_INFO_SW_DST_UV_SWAP(dst_cbcr_swp))); in RGA2_set_reg_dst_info()
[all …]