Home
last modified time | relevance | path

Searched refs:y_div (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/rga/
H A Drga.c194 .y_div = 1,
203 .y_div = 1,
212 .y_div = 1,
221 .y_div = 1,
230 .y_div = 1,
239 .y_div = 1,
248 .y_div = 1,
257 .y_div = 1,
266 .y_div = 1,
275 .y_div = 2,
[all …]
H A Drga-hw.c52 y_div = 0, uv_stride = 0, pixel_width = 0, uv_factor = 0; in rga_get_addr_offset() local
60 y_div = frm->fmt->y_div; in rga_get_addr_offset()
67 frm->width * frm->height + (y / y_div) * uv_stride + x / x_div; in rga_get_addr_offset()
71 lb->u_off = lt->u_off + (h / y_div - 1) * uv_stride; in rga_get_addr_offset()
72 lb->v_off = lt->v_off + (h / y_div - 1) * uv_stride; in rga_get_addr_offset()
H A Drga.h20 u8 y_div; member
/OK3568_Linux_fs/kernel/drivers/video/rockchip/rga2/
H A Drga2_reg_info.c394 RK_U32 d_uv_stride, x_div, y_div; in RGA2_set_reg_dst_info() local
400 x_div = y_div = 1; in RGA2_set_reg_dst_info()
476 case RGA2_FORMAT_YCbCr_422_SP : dst_format = 0x8; x_div = 1; y_div = 1; break; in RGA2_set_reg_dst_info()
477 case RGA2_FORMAT_YCbCr_422_P : dst_format = 0x9; x_div = 2; y_div = 1; break; in RGA2_set_reg_dst_info()
478 case RGA2_FORMAT_YCbCr_420_SP : dst_format = 0xa; x_div = 1; y_div = 2; break; in RGA2_set_reg_dst_info()
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()
483 case RGA2_FORMAT_YCrCb_420_P : dst_format = 0xb; x_div = 2; y_div = 2; break; in RGA2_set_reg_dst_info()
[all …]
/OK3568_Linux_fs/kernel/drivers/video/rockchip/rga3/
H A Drga2_reg_info.c672 u32 d_uv_stride, x_div, y_div; in RGA2_set_reg_dst_info() local
678 x_div = y_div = 1; in RGA2_set_reg_dst_info()
927 y_div = 1; in RGA2_set_reg_dst_info()
932 y_div = 1; in RGA2_set_reg_dst_info()
937 y_div = 2; in RGA2_set_reg_dst_info()
943 y_div = 2; in RGA2_set_reg_dst_info()
949 y_div = 1; in RGA2_set_reg_dst_info()
955 y_div = 1; in RGA2_set_reg_dst_info()
961 y_div = 2; in RGA2_set_reg_dst_info()
966 y_div = 2; in RGA2_set_reg_dst_info()
[all …]