Home
last modified time | relevance | path

Searched refs:out_isp_fmt (Results 1 – 25 of 28) sorted by relevance

12

/device/board/isoftstone/yangfan/kernel/src/driv/media/isp/
Dcapture_v20.c259 struct capture_fmt *output_isp_fmt = &stream->out_isp_fmt; in rkisp_stream_config_rsz()
287 stream->out_isp_fmt.fmt_type == FMT_FBCGAIN && in rkisp_stream_config_rsz()
343 if (stream->out_isp_fmt.fmt_type == FMT_FBCGAIN) in calc_burst_len()
413 if (stream->out_isp_fmt.uv_swap) in mp_config_mi()
417 mp_mi_ctrl_set_format(base, stream->out_isp_fmt.write_format); in mp_config_mi()
456 struct capture_fmt *output_isp_fmt = &stream->out_isp_fmt; in sp_config_mi()
494 stream->out_isp_fmt.fmt_type == FMT_FBCGAIN && in sp_config_mi()
502 sp_mi_ctrl_set_format(base, stream->out_isp_fmt.write_format | in sp_config_mi()
695 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in mp_enable_mi()
1025 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in mi_frame_end()
[all …]
Dcapture_v1x.c56 struct capture_fmt *output_isp_fmt = &stream->out_isp_fmt; in rkisp_stream_config_rsz()
206 if (stream->out_isp_fmt.uv_swap) in mp_config_mi()
210 mp_mi_ctrl_set_format(base, stream->out_isp_fmt.write_format); in mp_config_mi()
249 struct capture_fmt *output_isp_fmt = &stream->out_isp_fmt; in sp_config_mi()
285 sp_mi_ctrl_set_format(base, stream->out_isp_fmt.write_format | in sp_config_mi()
298 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in mp_enable_mi()
408 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in mi_frame_end()
547 isp_fmt = &stream->out_isp_fmt; in rkisp_queue_setup()
582 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in rkisp_buf_queue()
Dcapture_v30.c319 val = stream->out_isp_fmt.uv_swap ? ISP3X_MI_XTD_FORMAT_MP_UV_SWAP : 0; in mp_config_mi()
337 stream->out_isp_fmt.write_format; in mp_config_mi()
411 val = stream->out_isp_fmt.uv_swap ? ISP3X_MI_XTD_FORMAT_SP_UV_SWAP : 0; in sp_config_mi()
428 CIF_MI_CTRL_INIT_OFFSET_EN | stream->out_isp_fmt.write_format | in sp_config_mi()
429 sp_in_fmt | stream->out_isp_fmt.output_format | in sp_config_mi()
443 u32 mult = stream->out_isp_fmt.write_format ? 32 : 24; in fbc_config_mi()
513 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in mp_enable_mi()
538 val |= stream->out_isp_fmt.write_format | ISP3X_HEAD_OFFSET_EN | ISP3X_MPFBC_EN; in fbc_enable_mi()
544 u32 val = stream->out_isp_fmt.write_format | in bp_enable_mi()
602 (stream->out_isp_fmt.write_format ? 32 : 24); in update_mi()
[all …]
Ddmarx.c266 struct capture_fmt *dmarx_in_fmt = &stream->out_isp_fmt; in dmarx_config_mi()
326 switch (stream->out_isp_fmt.fourcc) { in rawrd_config_mi()
368 struct capture_fmt *fmt = &stream->out_isp_fmt; in update_rawrd()
381 stream->out_isp_fmt.fmt_type == FMT_YUV) { in update_rawrd()
511 isp_fmt = &stream->out_isp_fmt; in rkisp_queue_setup()
541 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in rkisp_buf_queue()
758 stream->out_isp_fmt = *fmt; in rkisp_set_fmt()
Dcapture_v21.c242 struct capture_fmt *output_isp_fmt = &stream->out_isp_fmt; in rkisp_stream_config_rsz()
387 stream->out_isp_fmt.uv_swap ? CIF_MI_XTD_FMT_CTRL_MP_CB_CR_SWAP : 0, false); in mp_config_mi()
392 stream->out_isp_fmt.write_format, false); in mp_config_mi()
429 struct capture_fmt *output_isp_fmt = &stream->out_isp_fmt; in sp_config_mi()
464 CIF_MI_CTRL_INIT_OFFSET_EN | stream->out_isp_fmt.write_format | in sp_config_mi()
604 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in mp_enable_mi()
866 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in mi_frame_end()
1081 isp_fmt = &stream->out_isp_fmt; in rkisp_queue_setup()
1116 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in rkisp_buf_queue()
Dcapture.h235 struct capture_fmt out_isp_fmt; member
Dcapture.c911 if (t->out_isp_fmt.fmt_type != FMT_YUV || !t->streaming) in rkisp_set_fmt()
1038 stream->out_isp_fmt = *fmt; in rkisp_set_fmt()
1094 pixm.pixelformat = stream->out_isp_fmt.fourcc; in rkisp_set_stream_def_fmt()
1491 stream->out_isp_fmt.fmt_type == FMT_BAYER) || in rkisp_update_crop()
Dcommon.c330 val = stream->out_isp_fmt.fmt_type == FMT_FBC ? in rkisp_alloc_common_dummy_buf()
Dregs_v2x.h2628 if (stream->out_isp_fmt.fmt_type == FMT_YUV) in raw_wr_set_pic_size()
2631 else if (stream->out_isp_fmt.fmt_type == FMT_EBD) in raw_wr_set_pic_size()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
Dcapture_v1x.c56 struct capture_fmt *output_isp_fmt = &stream->out_isp_fmt; in rkisp_stream_config_rsz()
206 if (stream->out_isp_fmt.uv_swap) in mp_config_mi()
210 mp_mi_ctrl_set_format(base, stream->out_isp_fmt.write_format); in mp_config_mi()
249 struct capture_fmt *output_isp_fmt = &stream->out_isp_fmt; in sp_config_mi()
285 sp_mi_ctrl_set_format(base, stream->out_isp_fmt.write_format | in sp_config_mi()
298 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in mp_enable_mi()
408 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in mi_frame_end()
547 isp_fmt = &stream->out_isp_fmt; in rkisp_queue_setup()
582 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in rkisp_buf_queue()
Dcapture_v30.c319 val = stream->out_isp_fmt.uv_swap ? ISP3X_MI_XTD_FORMAT_MP_UV_SWAP : 0; in mp_config_mi()
337 stream->out_isp_fmt.write_format; in mp_config_mi()
411 val = stream->out_isp_fmt.uv_swap ? ISP3X_MI_XTD_FORMAT_SP_UV_SWAP : 0; in sp_config_mi()
428 CIF_MI_CTRL_INIT_OFFSET_EN | stream->out_isp_fmt.write_format | in sp_config_mi()
429 sp_in_fmt | stream->out_isp_fmt.output_format | in sp_config_mi()
443 u32 mult = stream->out_isp_fmt.write_format ? 32 : 24; in fbc_config_mi()
513 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in mp_enable_mi()
538 val |= stream->out_isp_fmt.write_format | ISP3X_HEAD_OFFSET_EN | ISP3X_MPFBC_EN; in fbc_enable_mi()
544 u32 val = stream->out_isp_fmt.write_format | in bp_enable_mi()
602 (stream->out_isp_fmt.write_format ? 32 : 24); in update_mi()
[all …]
Ddmarx.c266 struct capture_fmt *dmarx_in_fmt = &stream->out_isp_fmt; in dmarx_config_mi()
326 switch (stream->out_isp_fmt.fourcc) { in rawrd_config_mi()
368 struct capture_fmt *fmt = &stream->out_isp_fmt; in update_rawrd()
381 stream->out_isp_fmt.fmt_type == FMT_YUV) { in update_rawrd()
511 isp_fmt = &stream->out_isp_fmt; in rkisp_queue_setup()
541 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in rkisp_buf_queue()
758 stream->out_isp_fmt = *fmt; in rkisp_set_fmt()
Dcapture_v21.c242 struct capture_fmt *output_isp_fmt = &stream->out_isp_fmt; in rkisp_stream_config_rsz()
387 stream->out_isp_fmt.uv_swap ? CIF_MI_XTD_FMT_CTRL_MP_CB_CR_SWAP : 0, false); in mp_config_mi()
392 stream->out_isp_fmt.write_format, false); in mp_config_mi()
429 struct capture_fmt *output_isp_fmt = &stream->out_isp_fmt; in sp_config_mi()
464 CIF_MI_CTRL_INIT_OFFSET_EN | stream->out_isp_fmt.write_format | in sp_config_mi()
604 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in mp_enable_mi()
866 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in mi_frame_end()
1081 isp_fmt = &stream->out_isp_fmt; in rkisp_queue_setup()
1116 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in rkisp_buf_queue()
Dcapture.h235 struct capture_fmt out_isp_fmt; member
Dcapture.c911 if (t->out_isp_fmt.fmt_type != FMT_YUV || !t->streaming) in rkisp_set_fmt()
1038 stream->out_isp_fmt = *fmt; in rkisp_set_fmt()
1094 pixm.pixelformat = stream->out_isp_fmt.fourcc; in rkisp_set_stream_def_fmt()
1491 stream->out_isp_fmt.fmt_type == FMT_BAYER) || in rkisp_update_crop()
Dcommon.c330 val = stream->out_isp_fmt.fmt_type == FMT_FBC ? in rkisp_alloc_common_dummy_buf()
Dregs_v2x.h2628 if (stream->out_isp_fmt.fmt_type == FMT_YUV) in raw_wr_set_pic_size()
2631 else if (stream->out_isp_fmt.fmt_type == FMT_EBD) in raw_wr_set_pic_size()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
Dcapture_v1x.c50 struct capture_fmt *output_isp_fmt = &stream->out_isp_fmt; in rkisp_stream_config_rsz()
196 if (stream->out_isp_fmt.uv_swap) { in mp_config_mi()
201 mp_mi_ctrl_set_format(base, stream->out_isp_fmt.write_format); in mp_config_mi()
241 struct capture_fmt *output_isp_fmt = &stream->out_isp_fmt; in sp_config_mi()
274 …sp_mi_ctrl_set_format(base, stream->out_isp_fmt.write_format | sp_in_fmt | output_isp_fmt->output_… in sp_config_mi()
286 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in mp_enable_mi()
394 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in mi_frame_end()
515 isp_fmt = &stream->out_isp_fmt; in rkisp_queue_setup()
548 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in rkisp_buf_queue()
Dcapture_v30.c302 val = stream->out_isp_fmt.uv_swap ? ISP3X_MI_XTD_FORMAT_MP_UV_SWAP : 0; in mp_config_mi()
318 stream->out_isp_fmt.write_format; in mp_config_mi()
391 val = stream->out_isp_fmt.uv_swap ? ISP3X_MI_XTD_FORMAT_SP_UV_SWAP : 0; in sp_config_mi()
407 stream->out_isp_fmt.write_format | sp_in_fmt | stream->out_isp_fmt.output_format | in sp_config_mi()
421 u32 mult = stream->out_isp_fmt.write_format ? 32 : 24; in fbc_config_mi()
490 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in mp_enable_mi()
513 val |= stream->out_isp_fmt.write_format | ISP3X_HEAD_OFFSET_EN | ISP3X_MPFBC_EN; in fbc_enable_mi()
519 u32 val = stream->out_isp_fmt.write_format | ISP3X_BP_ENABLE | ISP3X_BP_AUTO_UPD; in bp_enable_mi()
572 … u32 mult = stream->id != RKISP_STREAM_FBC ? 1 : (stream->out_isp_fmt.write_format ? 32 : 24); in update_mi()
679 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in mi_frame_end()
[all …]
Ddmarx.c297 struct capture_fmt *dmarx_in_fmt = &stream->out_isp_fmt; in dmarx_config_mi()
348 switch (stream->out_isp_fmt.fourcc) { in rawrd_config_mi()
385 struct capture_fmt *fmt = &stream->out_isp_fmt; in update_rawrd()
396 if (stream->id == RKISP_STREAM_RAWRD2 && stream->out_isp_fmt.fmt_type == FMT_YUV) { in update_rawrd()
520 isp_fmt = &stream->out_isp_fmt; in rkisp_queue_setup()
550 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in rkisp_buf_queue()
748 stream->out_isp_fmt = *fmt; in rkisp_set_fmt()
Dcapture_v21.c260 struct capture_fmt *output_isp_fmt = &stream->out_isp_fmt; in rkisp_stream_config_rsz()
402 stream->out_isp_fmt.uv_swap ? CIF_MI_XTD_FMT_CTRL_MP_CB_CR_SWAP : 0, false); in mp_config_mi()
406 CIF_MI_MP_AUTOUPDATE_ENABLE | stream->out_isp_fmt.write_format, in mp_config_mi()
445 struct capture_fmt *output_isp_fmt = &stream->out_isp_fmt; in sp_config_mi()
475 … stream->out_isp_fmt.write_format | sp_in_fmt | output_isp_fmt->output_format | in sp_config_mi()
600 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in mp_enable_mi()
849 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in mi_frame_end()
1041 isp_fmt = &stream->out_isp_fmt; in rkisp_queue_setup()
1075 struct capture_fmt *isp_fmt = &stream->out_isp_fmt; in rkisp_buf_queue()
Dcapture.h231 struct capture_fmt out_isp_fmt; member
Dcapture.c923 if (t->out_isp_fmt.fmt_type != FMT_YUV || !t->streaming) { in rkisp_set_fmt()
1036 stream->out_isp_fmt = *fmt; in rkisp_set_fmt()
1090 pixm.pixelformat = stream->out_isp_fmt.fourcc; in rkisp_set_stream_def_fmt()
1469 if ((stream->id == RKISP_STREAM_MP && stream->out_isp_fmt.fmt_type == FMT_BAYER) || in rkisp_update_crop()
Dcommon.c339 val = stream->out_isp_fmt.fmt_type == FMT_FBC in rkisp_alloc_common_dummy_buf()
Dregs_v2x.h2625 if (stream->out_isp_fmt.fmt_type == FMT_YUV) { in raw_wr_set_pic_size()
2627 … } else if (stream->out_isp_fmt.fmt_type == FMT_EBD) { /* hardware received 16bit embedded data */ in raw_wr_set_pic_size()

12