| /linux/drivers/media/platform/sunxi/sun8i-rotate/ |
| H A D | sun8i_rotate.c | 111 fmt = rotate_find_format(ctx->dst_fmt.pixelformat); in rotate_device_run() 116 ctx->dst_fmt.bytesperline, ctx->dst_fmt.height, in rotate_device_run() 120 ROTATE_SIZE(ctx->dst_fmt.width, ctx->dst_fmt.height)); in rotate_device_run() 292 f->fmt.pix = ctx->dst_fmt; in rotate_g_fmt_vid_cap() 353 ctx->dst_fmt = f->fmt.pix; in rotate_s_fmt_vid_cap() 384 ctx->dst_fmt.colorspace = f->fmt.pix.colorspace; in rotate_s_fmt_vid_out() 385 ctx->dst_fmt.xfer_func = f->fmt.pix.xfer_func; in rotate_s_fmt_vid_out() 386 ctx->dst_fmt.ycbcr_enc = f->fmt.pix.ycbcr_enc; in rotate_s_fmt_vid_out() 387 ctx->dst_fmt.quantization = f->fmt.pix.quantization; in rotate_s_fmt_vid_out() 389 return rotate_set_cap_format(ctx, &ctx->dst_fmt, ctx->rotate); in rotate_s_fmt_vid_out() [all …]
|
| H A D | sun8i-rotate.h | 109 struct v4l2_pix_format dst_fmt; member
|
| /linux/drivers/media/platform/sunxi/sun8i-di/ |
| H A D | sun8i-di.c | 138 width = ctx->dst_fmt.width; in deinterlace_device_run() 139 height = ctx->dst_fmt.height; in deinterlace_device_run() 140 stride = ctx->dst_fmt.bytesperline; in deinterlace_device_run() 156 hstep = (ctx->src_fmt.width << 16) / ctx->dst_fmt.width; in deinterlace_device_run() 157 vstep = (ctx->src_fmt.height << 16) / ctx->dst_fmt.height; in deinterlace_device_run() 397 f->fmt.pix = ctx->dst_fmt; in deinterlace_g_fmt_vid_cap() 457 ctx->dst_fmt = f->fmt.pix; in deinterlace_s_fmt_vid_cap() 480 ctx->dst_fmt.colorspace = f->fmt.pix.colorspace; in deinterlace_s_fmt_vid_out() 481 ctx->dst_fmt.xfer_func = f->fmt.pix.xfer_func; in deinterlace_s_fmt_vid_out() 482 ctx->dst_fmt.ycbcr_enc = f->fmt.pix.ycbcr_enc; in deinterlace_s_fmt_vid_out() [all …]
|
| H A D | sun8i-di.h | 203 struct v4l2_pix_format dst_fmt; member
|
| /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/media/platform/rockchip/rkvdec/ |
| H A D | rkvdec-vdpu381-h264.c | 215 const struct v4l2_pix_format_mplane *dst_fmt; in config_registers() local 258 dst_fmt = &f->fmt.pix_mp; in config_registers() 259 hor_virstride = dst_fmt->plane_fmt[0].bytesperline; in config_registers() 260 ver_virstride = dst_fmt->height; in config_registers() 282 pixels = dst_fmt->height * dst_fmt->width; in config_registers()
|
| /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_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()
|
| /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/gpu/drm/imx/dcss/ |
| H A D | dcss-scaler.c | 407 enum buffer_format dst_fmt) in dcss_scaler_format_set() argument 410 dcss_scaler_write(ch, dst_fmt, DCSS_SCALER_DST_FORMAT); in dcss_scaler_format_set()
|