/drivers/staging/media/hantro/ |
D | hantro_postproc.c | 87 HANTRO_PP_REG_WRITE(vpu, input_width, MB_WIDTH(ctx->dst_fmt.width)); in hantro_postproc_enable() 88 HANTRO_PP_REG_WRITE(vpu, input_height, MB_HEIGHT(ctx->dst_fmt.height)); in hantro_postproc_enable() 91 HANTRO_PP_REG_WRITE(vpu, output_width, ctx->dst_fmt.width); in hantro_postproc_enable() 92 HANTRO_PP_REG_WRITE(vpu, output_height, ctx->dst_fmt.height); in hantro_postproc_enable() 93 HANTRO_PP_REG_WRITE(vpu, orig_width, MB_WIDTH(ctx->dst_fmt.width)); in hantro_postproc_enable() 94 HANTRO_PP_REG_WRITE(vpu, display_width, ctx->dst_fmt.width); in hantro_postproc_enable() 121 buf_size = ctx->dst_fmt.plane_fmt[0].sizeimage + in hantro_postproc_alloc() 122 hantro_h264_mv_size(ctx->dst_fmt.width, in hantro_postproc_alloc() 123 ctx->dst_fmt.height); in hantro_postproc_alloc()
|
D | hantro_v4l2.c | 230 *pix_mp = ctx->dst_fmt; in vidioc_g_fmt_cap_mplane() 335 fmt = &ctx->dst_fmt; in hantro_reset_encoded_fmt() 361 encoded_fmt = &ctx->dst_fmt; in hantro_reset_raw_fmt() 364 raw_fmt = &ctx->dst_fmt; in hantro_reset_raw_fmt() 457 ctx->dst_fmt.colorspace = pix_mp->colorspace; in hantro_set_fmt_out() 458 ctx->dst_fmt.ycbcr_enc = pix_mp->ycbcr_enc; in hantro_set_fmt_out() 459 ctx->dst_fmt.xfer_func = pix_mp->xfer_func; in hantro_set_fmt_out() 460 ctx->dst_fmt.quantization = pix_mp->quantization; in hantro_set_fmt_out() 493 (pix_mp->pixelformat != ctx->dst_fmt.pixelformat || in hantro_set_fmt_cap() 494 pix_mp->height != ctx->dst_fmt.height || in hantro_set_fmt_cap() [all …]
|
D | rk3399_vpu_hw_jpeg_enc.c | 135 jpeg_ctx.width = ctx->dst_fmt.width; in rk3399_vpu_jpeg_enc_run() 136 jpeg_ctx.height = ctx->dst_fmt.height; in rk3399_vpu_jpeg_enc_run()
|
D | rk3399_vpu_hw_mpeg2_dec.c | 130 addr += ALIGN(ctx->dst_fmt.width, 16); in rk3399_vpu_mpeg2_dec_set_buffers() 223 reg = VDPU_REG_PIC_MB_WIDTH(MB_WIDTH(ctx->dst_fmt.width)) | in rk3399_vpu_mpeg2_dec_run() 224 VDPU_REG_PIC_MB_HEIGHT_P(MB_HEIGHT(ctx->dst_fmt.height)) | in rk3399_vpu_mpeg2_dec_run()
|
D | hantro_g1_mpeg2_dec.c | 128 addr += ALIGN(ctx->dst_fmt.width, 16); in hantro_g1_mpeg2_dec_set_buffers() 207 reg = G1_REG_PIC_MB_WIDTH(MB_WIDTH(ctx->dst_fmt.width)) | in hantro_g1_mpeg2_dec_run() 208 G1_REG_PIC_MB_HEIGHT_P(MB_HEIGHT(ctx->dst_fmt.height)) | in hantro_g1_mpeg2_dec_run()
|
D | hantro_h1_jpeg_enc.c | 105 jpeg_ctx.width = ctx->dst_fmt.width; in hantro_h1_jpeg_enc_run() 106 jpeg_ctx.height = ctx->dst_fmt.height; in hantro_h1_jpeg_enc_run()
|
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()
|
D | hantro_jpeg.c | 333 ctx->dst_fmt.plane_fmt[0].sizeimage - in hantro_jpeg_enc_init()
|
D | hantro_g1_vp8_dec.c | 440 size_t height = ctx->dst_fmt.height; in hantro_g1_vp8_dec_run() 441 size_t width = ctx->dst_fmt.width; in hantro_g1_vp8_dec_run()
|
D | rk3399_vpu_hw_vp8_dec.c | 518 size_t height = ctx->dst_fmt.height; in rk3399_vpu_vp8_dec_run() 519 size_t width = ctx->dst_fmt.width; in rk3399_vpu_vp8_dec_run()
|
/drivers/media/platform/sunxi/sun8i-rotate/ |
D | sun8i_rotate.c | 112 fmt = rotate_find_format(ctx->dst_fmt.pixelformat); in rotate_device_run() 117 ctx->dst_fmt.bytesperline, ctx->dst_fmt.height, in rotate_device_run() 121 ROTATE_SIZE(ctx->dst_fmt.width, ctx->dst_fmt.height)); in rotate_device_run() 293 f->fmt.pix = ctx->dst_fmt; in rotate_g_fmt_vid_cap() 354 ctx->dst_fmt = f->fmt.pix; in rotate_s_fmt_vid_cap() 385 ctx->dst_fmt.colorspace = f->fmt.pix.colorspace; in rotate_s_fmt_vid_out() 386 ctx->dst_fmt.xfer_func = f->fmt.pix.xfer_func; in rotate_s_fmt_vid_out() 387 ctx->dst_fmt.ycbcr_enc = f->fmt.pix.ycbcr_enc; in rotate_s_fmt_vid_out() 388 ctx->dst_fmt.quantization = f->fmt.pix.quantization; in rotate_s_fmt_vid_out() 390 return rotate_set_cap_format(ctx, &ctx->dst_fmt, ctx->rotate); in rotate_s_fmt_vid_out() [all …]
|
D | sun8i-rotate.h | 109 struct v4l2_pix_format dst_fmt; member
|
/drivers/staging/media/sunxi/cedrus/ |
D | cedrus_video.c | 223 f->fmt.pix = ctx->dst_fmt; in cedrus_g_fmt_vid_cap() 291 ctx->dst_fmt = f->fmt.pix; in cedrus_s_fmt_vid_cap() 345 ctx->dst_fmt.colorspace = f->fmt.pix.colorspace; in cedrus_s_fmt_vid_out() 346 ctx->dst_fmt.xfer_func = f->fmt.pix.xfer_func; in cedrus_s_fmt_vid_out() 347 ctx->dst_fmt.ycbcr_enc = f->fmt.pix.ycbcr_enc; in cedrus_s_fmt_vid_out() 348 ctx->dst_fmt.quantization = f->fmt.pix.quantization; in cedrus_s_fmt_vid_out() 349 ctx->dst_fmt.width = ctx->src_fmt.width; in cedrus_s_fmt_vid_out() 350 ctx->dst_fmt.height = ctx->src_fmt.height; in cedrus_s_fmt_vid_out() 351 cedrus_prepare_format(&ctx->dst_fmt); in cedrus_s_fmt_vid_out() 397 pix_fmt = &ctx->dst_fmt; in cedrus_queue_setup() [all …]
|
D | cedrus.c | 315 ctx->dst_fmt.pixelformat = V4L2_PIX_FMT_SUNXI_TILED_NV12; in cedrus_open() 316 cedrus_prepare_format(&ctx->dst_fmt); in cedrus_open() 322 ctx->src_fmt.width = ctx->dst_fmt.width; in cedrus_open() 323 ctx->src_fmt.height = ctx->dst_fmt.height; in cedrus_open()
|
D | cedrus.h | 106 struct v4l2_pix_format dst_fmt; member 218 return buf ? cedrus_buf_addr(buf, &ctx->dst_fmt, plane) : 0; in cedrus_dst_buf_addr()
|
D | cedrus_dec.c | 79 cedrus_dst_format_set(dev, &ctx->dst_fmt); in cedrus_device_run()
|
/drivers/media/platform/sunxi/sun8i-di/ |
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() 398 f->fmt.pix = ctx->dst_fmt; in deinterlace_g_fmt_vid_cap() 458 ctx->dst_fmt = f->fmt.pix; in deinterlace_s_fmt_vid_cap() 481 ctx->dst_fmt.colorspace = f->fmt.pix.colorspace; in deinterlace_s_fmt_vid_out() 482 ctx->dst_fmt.xfer_func = f->fmt.pix.xfer_func; in deinterlace_s_fmt_vid_out() 483 ctx->dst_fmt.ycbcr_enc = f->fmt.pix.ycbcr_enc; in deinterlace_s_fmt_vid_out() [all …]
|
D | sun8i-di.h | 203 struct v4l2_pix_format dst_fmt; member
|
/drivers/media/platform/ti-vpe/ |
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()
|
D | csc.h | 61 struct v4l2_format *src_fmt, struct v4l2_format *dst_fmt);
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_scaler.c | 206 u32 dst_fmt) in scaler_set_dst_fmt() argument 210 val = SCALER_DST_CFG_SET_COLOR_FORMAT(dst_fmt); in scaler_set_dst_fmt() 364 const struct scaler_format *src_fmt, *dst_fmt; in scaler_commit() local 367 dst_fmt = scaler_get_format(task->dst.buf.fourcc); in scaler_commit() 384 scaler_set_dst_fmt(scaler, dst_fmt->internal_fmt); in scaler_commit()
|
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_dec.c | 345 pix_mp->pixelformat = ctx->dst_fmt->fourcc; in vidioc_g_fmt() 427 ctx->dst_fmt = find_format(f, MFC_FMT_RAW); in vidioc_s_fmt() 969 for (i = 0; i < ctx->dst_fmt->num_planes; i++) { in s5p_mfc_buf_init() 1196 ctx->dst_fmt = find_format(&f, MFC_FMT_RAW); in s5p_mfc_dec_init() 1198 ctx->src_fmt, ctx->dst_fmt); in s5p_mfc_dec_init()
|
D | s5p_mfc_enc.c | 1371 pix_fmt_mp->pixelformat = ctx->dst_fmt->fourcc; in vidioc_g_fmt() 1372 pix_fmt_mp->num_planes = ctx->dst_fmt->num_planes; in vidioc_g_fmt() 1452 ctx->dst_fmt = find_format(f, MFC_FMT_ENC); in vidioc_s_fmt() 1454 ctx->codec_mode = ctx->dst_fmt->codec_mode; in vidioc_s_fmt() 2395 if (ctx->dst_fmt) in s5p_mfc_queue_setup() 2396 *plane_count = ctx->dst_fmt->num_planes; in s5p_mfc_queue_setup() 2442 ret = check_vb_with_fmt(ctx->dst_fmt, vb); in s5p_mfc_buf_init() 2475 ret = check_vb_with_fmt(ctx->dst_fmt, vb); in s5p_mfc_buf_prepare() 2704 ctx->dst_fmt = find_format(&f, MFC_FMT_ENC); in s5p_mfc_enc_init()
|
/drivers/media/platform/sti/bdisp/ |
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()
|
/drivers/staging/media/rkvdec/ |
D | rkvdec-h264.c | 903 const struct v4l2_pix_format_mplane *dst_fmt; in config_registers() local 922 dst_fmt = &f->fmt.pix_mp; in config_registers() 923 hor_virstride = (sps->bit_depth_luma_minus8 + 8) * dst_fmt->width / 8; in config_registers() 924 ver_virstride = round_up(dst_fmt->height, 16); in config_registers()
|