/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_h1_jpeg_enc.c | 30 overfill_r = ctx->src_fmt.width - ctx->dst_fmt.width; in hantro_h1_set_src_img_ctrl() 31 overfill_b = ctx->src_fmt.height - ctx->dst_fmt.height; in hantro_h1_set_src_img_ctrl() 120 jpeg_ctx.width = ctx->dst_fmt.width; in hantro_h1_jpeg_enc_run() 121 jpeg_ctx.height = ctx->dst_fmt.height; in hantro_h1_jpeg_enc_run()
|
H A D | rockchip_vpu2_hw_jpeg_enc.c | 47 overfill_r = ctx->src_fmt.width - ctx->dst_fmt.width; in rockchip_vpu2_set_src_img_ctrl() 48 overfill_b = ctx->src_fmt.height - ctx->dst_fmt.height; in rockchip_vpu2_set_src_img_ctrl() 149 jpeg_ctx.width = ctx->dst_fmt.width; in rockchip_vpu2_jpeg_enc_run() 150 jpeg_ctx.height = ctx->dst_fmt.height; in rockchip_vpu2_jpeg_enc_run()
|
H A D | hantro_g1_mpeg2_dec.c | 118 addr += ALIGN(ctx->dst_fmt.width, 16); in hantro_g1_mpeg2_dec_set_buffers() 196 reg = G1_REG_PIC_MB_WIDTH(MB_WIDTH(ctx->dst_fmt.width)) | in hantro_g1_mpeg2_dec_run() 197 G1_REG_PIC_MB_HEIGHT_P(MB_HEIGHT(ctx->dst_fmt.height)) | in hantro_g1_mpeg2_dec_run()
|
H A D | rockchip_vpu2_hw_mpeg2_dec.c | 121 addr += ALIGN(ctx->dst_fmt.width, 16); in rockchip_vpu2_mpeg2_dec_set_buffers() 213 reg = VDPU_REG_PIC_MB_WIDTH(MB_WIDTH(ctx->dst_fmt.width)) | in rockchip_vpu2_mpeg2_dec_run() 214 VDPU_REG_PIC_MB_HEIGHT_P(MB_HEIGHT(ctx->dst_fmt.height)) | in rockchip_vpu2_mpeg2_dec_run()
|
H A D | hantro_vp8.c | 154 mb_width = DIV_ROUND_UP(ctx->dst_fmt.width, 16); in hantro_vp8_dec_init() 155 mb_height = DIV_ROUND_UP(ctx->dst_fmt.height, 16); in hantro_vp8_dec_init()
|
H A D | hantro_hevc.c | 164 if (ctx->dst_fmt.width != in hantro_hevc_validate_sps() 168 if (ctx->dst_fmt.height != in hantro_hevc_validate_sps()
|
H A D | hantro_g1_vp8_dec.c | 437 size_t height = ctx->dst_fmt.height; in hantro_g1_vp8_dec_run() 438 size_t width = ctx->dst_fmt.width; in hantro_g1_vp8_dec_run()
|
H A D | rockchip_vpu2_hw_vp8_dec.c | 514 size_t height = ctx->dst_fmt.height; in rockchip_vpu2_vp8_dec_run() 515 size_t width = ctx->dst_fmt.width; in rockchip_vpu2_vp8_dec_run()
|
/linux/drivers/media/platform/ti/vpe/ |
H A D | csc.c | 140 struct v4l2_format *src_fmt, struct v4l2_format *dst_fmt) in csc_set_coeff() argument 164 if (V4L2_TYPE_IS_MULTIPLANAR(dst_fmt->type)) { in csc_set_coeff() 165 mp = &dst_fmt->fmt.pix_mp; in csc_set_coeff() 170 pix = &dst_fmt->fmt.pix; in csc_set_coeff()
|
H A D | csc.h | 61 struct v4l2_format *src_fmt, struct v4l2_format *dst_fmt);
|
/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_scaler.c | 207 u32 dst_fmt) in scaler_set_dst_fmt() argument 211 val = SCALER_DST_CFG_SET_COLOR_FORMAT(dst_fmt); in scaler_set_dst_fmt() 365 const struct scaler_format *src_fmt, *dst_fmt; in scaler_commit() local 369 dst_fmt = scaler_get_format(task->dst.buf.fourcc); in scaler_commit() 387 scaler_set_dst_fmt(scaler, dst_fmt->internal_fmt); in scaler_commit()
|
/linux/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus.h | 120 struct v4l2_pix_format dst_fmt; member 237 return buf ? cedrus_buf_addr(buf, &ctx->dst_fmt, plane) : 0; in cedrus_dst_buf_addr()
|
H A D | cedrus_dec.c | 95 cedrus_dst_format_set(dev, &ctx->dst_fmt); in cedrus_device_run()
|
H A D | cedrus_h265.c | 817 unsigned int stride = ALIGN(ctx->dst_fmt.width / 4, 32); in cedrus_h265_setup() 819 reg = ctx->dst_fmt.sizeimage - in cedrus_h265_setup() 820 cedrus_h265_2bit_size(ctx->dst_fmt.width, in cedrus_h265_setup() 821 ctx->dst_fmt.height); in cedrus_h265_setup()
|
H A D | cedrus_h264.c | 80 pic->luma_ptr = cpu_to_le32(cedrus_buf_addr(vbuf, &ctx->dst_fmt, 0)); in cedrus_fill_ref_pic() 81 pic->chroma_ptr = cpu_to_le32(cedrus_buf_addr(vbuf, &ctx->dst_fmt, 1)); in cedrus_fill_ref_pic()
|
/linux/drivers/media/platform/sunxi/sun8i-rotate/ |
H A D | sun8i-rotate.h | 109 struct v4l2_pix_format dst_fmt; member
|
/linux/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_opr_v6.c | 496 switch (ctx->dst_fmt->fourcc) { in s5p_mfc_dec_calc_dpb_size_v6() 626 if (ctx->dst_fmt->fourcc == V4L2_PIX_FMT_YUV420M || ctx->dst_fmt->fourcc == in s5p_mfc_set_dec_frame_buffer_v6() 635 if (ctx->dst_fmt->fourcc == V4L2_PIX_FMT_YUV420M || ctx->dst_fmt->fourcc == in s5p_mfc_set_dec_frame_buffer_v6() 666 if (ctx->dst_fmt->fourcc == V4L2_PIX_FMT_YUV420M || ctx->dst_fmt->fourcc == in s5p_mfc_set_dec_frame_buffer_v6() 1785 if (ctx->dst_fmt->fourcc == V4L2_PIX_FMT_NV12MT_16X16) in s5p_mfc_init_decode_v6() 1794 if (ctx->dst_fmt->fourcc == V4L2_PIX_FMT_YUV420M) in s5p_mfc_init_decode_v6() 1796 else if (ctx->dst_fmt->fourcc == V4L2_PIX_FMT_YVU420M) in s5p_mfc_init_decode_v6() 1798 else if (ctx->dst_fmt->fourcc == V4L2_PIX_FMT_NV21M) in s5p_mfc_init_decode_v6()
|
H A D | s5p_mfc_common.h | 642 const struct s5p_mfc_fmt *dst_fmt; member
|
/linux/drivers/media/platform/st/sti/bdisp/ |
H A D | bdisp-hw.c | 769 u32 src_fmt, dst_fmt; in bdisp_hw_build_node() local 787 dst_fmt = dst->fmt->pixelformat; in bdisp_hw_build_node() 831 node->tty |= bdisp_hw_color_format(dst_fmt); in bdisp_hw_build_node()
|
/linux/drivers/media/platform/sunxi/sun8i-di/ |
H A D | sun8i-di.h | 203 struct v4l2_pix_format dst_fmt; member
|
/linux/drivers/staging/media/rkvdec/ |
H A D | rkvdec-h264.c | 892 const struct v4l2_pix_format_mplane *dst_fmt; in config_registers() local 911 dst_fmt = &f->fmt.pix_mp; in config_registers() 912 hor_virstride = (sps->bit_depth_luma_minus8 + 8) * dst_fmt->width / 8; in config_registers() 913 ver_virstride = round_up(dst_fmt->height, 16); in config_registers()
|