| /OK3568_Linux_fs/external/mpp/mpp/hal/vpu/jpegd/ |
| H A D | hal_jpegd_rkv.c | 323 if (ctx->set_output_fmt_flag && (ctx->output_fmt != s->output_fmt)) { // PP enable in setup_output_fmt() 324 if (MPP_FRAME_FMT_IS_YUV(ctx->output_fmt) && s->output_fmt != MPP_FMT_YUV400) { in setup_output_fmt() 325 if (ctx->output_fmt == MPP_FMT_YUV420SP) in setup_output_fmt() 327 else if (ctx->output_fmt == MPP_FMT_YUV422_YUYV) in setup_output_fmt() 333 else if (ctx->output_fmt == MPP_FMT_YUV422_YVYU) { in setup_output_fmt() 336 } else if (ctx->output_fmt == MPP_FMT_YUV420SP_VU) { in setup_output_fmt() 340 } else if (MPP_FRAME_FMT_IS_RGB(ctx->output_fmt)) { in setup_output_fmt() 341 if (ctx->output_fmt == MPP_FMT_RGB888) { in setup_output_fmt() 344 } else if (ctx->output_fmt == MPP_FMT_BGR565) { //bgr565le in setup_output_fmt() 348 mpp_err_f("unsupported output format %d\n", ctx->output_fmt); in setup_output_fmt() [all …]
|
| H A D | hal_jpegd_common.c | 455 ctx->output_fmt != s->output_fmt) { in jpegd_setup_output_fmt() 459 switch (s->output_fmt) { in jpegd_setup_output_fmt() 479 jpegd_dbg_hal("other output format %d\n", s->output_fmt); in jpegd_setup_output_fmt() 486 fmt = ctx->output_fmt; in jpegd_setup_output_fmt() 524 ctx->output_fmt = s->output_fmt; in jpegd_setup_output_fmt() 554 mpp_frame_set_fmt(frm, ctx->output_fmt); in jpegd_setup_output_fmt()
|
| H A D | hal_jpegd_vdpu1.c | 506 PpRgbCfg *cfg = get_pp_rgb_Cfg(ctx->output_fmt); in jpegd_setup_pp() 790 JpegHalCtx->output_fmt = MPP_FMT_YUV420SP; in hal_jpegd_vdpu1_init() 843 JpegHalCtx->output_fmt = MPP_FMT_YUV420SP; in hal_jpegd_vdpu1_deinit() 874 mpp_err_f("setup output format %x failed\n", syntax->output_fmt); in hal_jpegd_vdpu1_gen_regs() 974 if (JpegHalCtx->output_fmt != MPP_FMT_YUV420SP) in hal_jpegd_vdpu1_wait() 977 mpp_err_f("IRQ STREAM ERROR! %d", JpegHalCtx->output_fmt); in hal_jpegd_vdpu1_wait() 1056 JpegHalCtx->output_fmt = *((MppFrameFormat *)param); in hal_jpegd_vdpu1_control() 1058 jpegd_dbg_hal("output_format:%d\n", JpegHalCtx->output_fmt); in hal_jpegd_vdpu1_control() 1060 …if (!MPP_FRAME_FMT_IS_YUV(JpegHalCtx->output_fmt) && !MPP_FRAME_FMT_IS_RGB(JpegHalCtx->output_fmt)… in hal_jpegd_vdpu1_control() 1061 mpp_err_f("output format %d is invalid.\n", JpegHalCtx->output_fmt); in hal_jpegd_vdpu1_control()
|
| H A D | hal_jpegd_vdpu2.c | 525 PpRgbCfg *cfg = get_pp_rgb_Cfg(ctx->output_fmt); in jpegd_setup_pp() 776 JpegHalCtx->output_fmt = MPP_FMT_YUV420SP; in hal_jpegd_vdpu2_init() 859 mpp_err_f("setup output format %x failed\n", syntax->output_fmt); in hal_jpegd_vdpu2_gen_regs() 1036 JpegHalCtx->output_fmt = *((MppFrameFormat *)param); in hal_jpegd_vdpu2_control() 1038 jpegd_dbg_hal("output_format:%d\n", JpegHalCtx->output_fmt); in hal_jpegd_vdpu2_control() 1040 …if (!MPP_FRAME_FMT_IS_YUV(JpegHalCtx->output_fmt) && !MPP_FRAME_FMT_IS_RGB(JpegHalCtx->output_fmt)… in hal_jpegd_vdpu2_control() 1041 mpp_err_f("output format %d is invalid.\n", JpegHalCtx->output_fmt); in hal_jpegd_vdpu2_control()
|
| H A D | hal_jpegd_base.h | 49 MppFrameFormat output_fmt; member
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/imx/ |
| H A D | parallel-display.c | 142 static bool imx_pd_format_supported(u32 output_fmt) in imx_pd_format_supported() argument 147 if (imx_pd_bus_fmts[i] == output_fmt) in imx_pd_format_supported() 159 u32 output_fmt, in imx_pd_bridge_atomic_get_input_bus_fmts() argument 170 if (output_fmt == MEDIA_BUS_FMT_FIXED) in imx_pd_bridge_atomic_get_input_bus_fmts() 171 output_fmt = imxpd->bus_format ? : MEDIA_BUS_FMT_RGB888_1X24; in imx_pd_bridge_atomic_get_input_bus_fmts() 174 if ((imxpd->bus_format && imxpd->bus_format != output_fmt) || in imx_pd_bridge_atomic_get_input_bus_fmts() 175 !imx_pd_format_supported(output_fmt)) { in imx_pd_bridge_atomic_get_input_bus_fmts() 185 input_fmts[0] = output_fmt; in imx_pd_bridge_atomic_get_input_bus_fmts()
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/dec/jpeg/ |
| H A D | jpegd_parser.c | 92 s->output_fmt = MPP_FMT_YUV420SP; in jpeg_judge_yuv_mode() 98 s->output_fmt = MPP_FMT_YUV422SP; in jpeg_judge_yuv_mode() 109 s->output_fmt = MPP_FMT_YUV440SP; in jpeg_judge_yuv_mode() 120 s->output_fmt = MPP_FMT_YUV444SP; in jpeg_judge_yuv_mode() 135 s->output_fmt = MPP_FMT_YUV411SP; in jpeg_judge_yuv_mode() 151 s->output_fmt = MPP_FMT_YUV400; in jpeg_judge_yuv_mode() 152 if (s->output_fmt != ctx->output_fmt) { in jpeg_judge_yuv_mode() 153 mpp_err_f("unsupported upsampling(%d*%d)\n", s->output_fmt, in jpeg_judge_yuv_mode() 154 ctx->output_fmt); in jpeg_judge_yuv_mode() 1175 JpegCtx->output_fmt = MPP_FMT_YUV420SP; in jpegd_deinit() [all …]
|
| H A D | jpegd_parser.h | 128 MppFrameFormat output_fmt; member
|
| /OK3568_Linux_fs/kernel/drivers/misc/rk628/ |
| H A D | rk628_config.c | 46 rk628->output_fmt = format; in rk628_set_output_bus_format() 51 return rk628->output_fmt; in rk628_get_output_bus_format()
|
| /OK3568_Linux_fs/kernel/scripts/gdb/linux/ |
| H A D | proc.py | 220 output_fmt = fdt_header_le 222 output_fmt = fdt_header_be 224 return unpack(output_fmt, pack(fdt_header_be,
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/hantro/ |
| H A D | hantro_postproc.c | 48 .output_fmt = {G1_REG_PP_CONTROL, 26, 0x7}, 90 HANTRO_PP_REG_WRITE(vpu, output_fmt, dst_pp_fmt); in hantro_postproc_enable()
|
| H A D | hantro.h | 288 struct hantro_reg output_fmt; member
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/cif/ |
| H A D | capture.c | 555 const struct cif_output_fmt *output_fmt) in rkcif_output_fmt_check() argument 566 if (output_fmt->fourcc == V4L2_PIX_FMT_NV16 || in rkcif_output_fmt_check() 567 output_fmt->fourcc == V4L2_PIX_FMT_NV61 || in rkcif_output_fmt_check() 568 output_fmt->fourcc == V4L2_PIX_FMT_NV12 || in rkcif_output_fmt_check() 569 output_fmt->fourcc == V4L2_PIX_FMT_NV21 || in rkcif_output_fmt_check() 570 output_fmt->fourcc == V4L2_PIX_FMT_YUYV || in rkcif_output_fmt_check() 571 output_fmt->fourcc == V4L2_PIX_FMT_YVYU || in rkcif_output_fmt_check() 572 output_fmt->fourcc == V4L2_PIX_FMT_UYVY || in rkcif_output_fmt_check() 573 output_fmt->fourcc == V4L2_PIX_FMT_VYUY) in rkcif_output_fmt_check() 581 if (output_fmt->fourcc == V4L2_PIX_FMT_SRGGB8 || in rkcif_output_fmt_check() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/mmp/fb/ |
| H A D | mmpfb.h | 37 int output_fmt; member
|
| H A D | mmpfb.c | 224 struct fb_videomode *videomode, int output_fmt) in fbmode_to_mmpmode() argument 245 mode->pix_fmt_out = output_fmt; in fbmode_to_mmpmode() 411 fbmode_to_mmpmode(&mode, &fbi->mode, fbi->output_fmt); in mmpfb_set_par() 492 fbi->output_fmt = mmp_modes[0].pix_fmt_out; in modes_setup()
|
| /OK3568_Linux_fs/kernel/include/drm/ |
| H A D | drm_bridge.h | 460 u32 output_fmt, 868 u32 output_fmt,
|
| H A D | drm_atomic_helper.h | 235 u32 output_fmt,
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/ |
| H A D | display-connector.c | 144 u32 output_fmt, in display_connector_get_input_bus_fmts() argument 167 crtc_state, conn_state, output_fmt, in display_connector_get_input_bus_fmts()
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/ |
| H A D | capture_v1x.c | 361 struct v4l2_pix_format_mplane output_fmt = stream->out_fmt; in rkisp_stream_config_rsz() local 375 out_y.width = output_fmt.width; in rkisp_stream_config_rsz() 376 out_y.height = output_fmt.height; in rkisp_stream_config_rsz() 402 output_fmt.width, output_fmt.height); in rkisp_stream_config_rsz()
|
| H A D | capture_v30.c | 356 struct v4l2_pix_format_mplane output_fmt = stream->out_fmt; in rkisp_stream_config_rsz() local 374 out_y.width = output_fmt.width; in rkisp_stream_config_rsz() 375 out_y.height = output_fmt.height; in rkisp_stream_config_rsz() 386 output_fmt.width, output_fmt.height); in rkisp_stream_config_rsz()
|
| H A D | capture_v21.c | 569 struct v4l2_pix_format_mplane output_fmt = stream->out_fmt; in rkisp_stream_config_rsz() local 583 out_y.width = output_fmt.width; in rkisp_stream_config_rsz() 584 out_y.height = output_fmt.height; in rkisp_stream_config_rsz() 610 output_fmt.width, output_fmt.height); in rkisp_stream_config_rsz()
|
| /OK3568_Linux_fs/external/mpp/mpp/common/ |
| H A D | jpegd_syntax.h | 120 MppFrameFormat output_fmt; member
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/meson/ |
| H A D | meson_dw_hdmi.c | 723 u32 output_fmt, in meson_venc_hdmi_encoder_get_inp_bus_fmts() argument 732 if (output_fmt == meson_dw_hdmi_out_bus_fmts[i]) { in meson_venc_hdmi_encoder_get_inp_bus_fmts() 740 input_fmts[0] = output_fmt; in meson_venc_hdmi_encoder_get_inp_bus_fmts()
|
| /OK3568_Linux_fs/u-boot/arch/arm/include/asm/arch-sunxi/ |
| H A D | display.h | 34 u32 output_fmt; /* 0x05c */ member
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp1/ |
| H A D | capture.c | 698 struct v4l2_pix_format_mplane output_fmt = stream->out_fmt; in rkisp1_config_rsz() local 712 out_y.width = output_fmt.width; in rkisp1_config_rsz() 713 out_y.height = output_fmt.height; in rkisp1_config_rsz() 739 output_fmt.width, output_fmt.height); in rkisp1_config_rsz()
|