/drivers/staging/media/sunxi/cedrus/ |
D | cedrus_video.c | 218 if (!ctx->dst_fmt.width || !ctx->dst_fmt.height) { in cedrus_g_fmt_vid_cap() 225 f->fmt.pix = ctx->dst_fmt; in cedrus_g_fmt_vid_cap() 236 if (!ctx->dst_fmt.width || !ctx->dst_fmt.height) { in cedrus_g_fmt_vid_out() 301 ctx->dst_fmt = f->fmt.pix; in cedrus_s_fmt_vid_cap() 303 cedrus_dst_format_set(dev, &ctx->dst_fmt); in cedrus_s_fmt_vid_cap() 326 ctx->dst_fmt.colorspace = f->fmt.pix.colorspace; in cedrus_s_fmt_vid_out() 327 ctx->dst_fmt.xfer_func = f->fmt.pix.xfer_func; in cedrus_s_fmt_vid_out() 328 ctx->dst_fmt.ycbcr_enc = f->fmt.pix.ycbcr_enc; in cedrus_s_fmt_vid_out() 329 ctx->dst_fmt.quantization = f->fmt.pix.quantization; in cedrus_s_fmt_vid_out() 376 pix_fmt = &ctx->dst_fmt; in cedrus_queue_setup() [all …]
|
D | cedrus.h | 96 struct v4l2_pix_format dst_fmt; member 192 return buf ? cedrus_buf_addr(buf, &ctx->dst_fmt, plane) : 0; in cedrus_dst_buf_addr()
|
D | cedrus_h264.c | 84 pic->luma_ptr = cpu_to_le32(cedrus_buf_addr(vbuf, &ctx->dst_fmt, 0)); in cedrus_fill_ref_pic() 85 pic->chroma_ptr = cpu_to_le32(cedrus_buf_addr(vbuf, &ctx->dst_fmt, 1)); in cedrus_fill_ref_pic()
|
/drivers/staging/media/hantro/ |
D | hantro_v4l2.c | 189 *pix_mp = ctx->dst_fmt; in vidioc_g_fmt_cap_mplane() 302 fmt = &ctx->dst_fmt; in hantro_reset_encoded_fmt() 329 encoded_fmt = &ctx->dst_fmt; in hantro_reset_raw_fmt() 332 raw_fmt = &ctx->dst_fmt; in hantro_reset_raw_fmt() 426 ctx->dst_fmt.colorspace = pix_mp->colorspace; in vidioc_s_fmt_out_mplane() 427 ctx->dst_fmt.ycbcr_enc = pix_mp->ycbcr_enc; in vidioc_s_fmt_out_mplane() 428 ctx->dst_fmt.xfer_func = pix_mp->xfer_func; in vidioc_s_fmt_out_mplane() 429 ctx->dst_fmt.quantization = pix_mp->quantization; in vidioc_s_fmt_out_mplane() 465 (pix_mp->pixelformat != ctx->dst_fmt.pixelformat || in vidioc_s_fmt_cap_mplane() 466 pix_mp->height != ctx->dst_fmt.height || in vidioc_s_fmt_cap_mplane() [all …]
|
D | hantro_h1_jpeg_enc.c | 94 jpeg_ctx.width = ctx->dst_fmt.width; in hantro_h1_jpeg_enc_run() 95 jpeg_ctx.height = ctx->dst_fmt.height; in hantro_h1_jpeg_enc_run()
|
D | rk3399_vpu_hw_jpeg_enc.c | 125 jpeg_ctx.width = ctx->dst_fmt.width; in rk3399_vpu_jpeg_enc_run() 126 jpeg_ctx.height = ctx->dst_fmt.height; in rk3399_vpu_jpeg_enc_run()
|
D | hantro_g1_mpeg2_dec.c | 131 addr += ALIGN(ctx->dst_fmt.width, 16); in hantro_g1_mpeg2_dec_set_buffers() 210 reg = G1_REG_PIC_MB_WIDTH(MPEG2_MB_WIDTH(ctx->dst_fmt.width)) | in hantro_g1_mpeg2_dec_run() 211 G1_REG_PIC_MB_HEIGHT_P(MPEG2_MB_HEIGHT(ctx->dst_fmt.height)) | in hantro_g1_mpeg2_dec_run()
|
D | rk3399_vpu_hw_mpeg2_dec.c | 133 addr += ALIGN(ctx->dst_fmt.width, 16); in rk3399_vpu_mpeg2_dec_set_buffers() 226 reg = VDPU_REG_PIC_MB_WIDTH(MPEG2_MB_WIDTH(ctx->dst_fmt.width)) | in rk3399_vpu_mpeg2_dec_run() 227 VDPU_REG_PIC_MB_HEIGHT_P(MPEG2_MB_HEIGHT(ctx->dst_fmt.height)) | in rk3399_vpu_mpeg2_dec_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_h264.c | 634 v4l2_fill_pixfmt_mp(&pix_mp, ctx->dst_fmt.pixelformat, in hantro_h264_dec_init() 635 ctx->dst_fmt.width, ctx->dst_fmt.height); in hantro_h264_dec_init()
|
D | hantro_jpeg.c | 297 ctx->dst_fmt.plane_fmt[0].sizeimage - in hantro_jpeg_enc_init()
|
D | hantro_g1_vp8_dec.c | 434 size_t height = ctx->dst_fmt.height; in hantro_g1_vp8_dec_run() 435 size_t width = ctx->dst_fmt.width; in hantro_g1_vp8_dec_run()
|
D | rk3399_vpu_hw_vp8_dec.c | 513 size_t height = ctx->dst_fmt.height; in rk3399_vpu_vp8_dec_run() 514 size_t width = ctx->dst_fmt.width; in rk3399_vpu_vp8_dec_run()
|
D | hantro.h | 242 struct v4l2_pix_format_mplane dst_fmt; member
|
D | hantro_g1_h264_dec.c | 256 mv_offset += 32 * H264_MB_WIDTH(ctx->dst_fmt.width); in set_buffers()
|
D | hantro_drv.c | 87 buf->planes[0].bytesused = ctx->dst_fmt.plane_fmt[0].sizeimage; in hantro_dec_buf_finish()
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_scaler.c | 205 u32 dst_fmt) in scaler_set_dst_fmt() argument 209 val = SCALER_DST_CFG_SET_COLOR_FORMAT(dst_fmt); in scaler_set_dst_fmt() 363 const struct scaler_format *src_fmt, *dst_fmt; in scaler_commit() local 366 dst_fmt = scaler_get_format(task->dst.buf.fourcc); in scaler_commit() 383 scaler_set_dst_fmt(scaler, dst_fmt->internal_fmt); in scaler_commit()
|
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_dec.c | 330 pix_mp->pixelformat = ctx->dst_fmt->fourcc; in vidioc_g_fmt() 412 ctx->dst_fmt = find_format(f, MFC_FMT_RAW); in vidioc_s_fmt() 952 for (i = 0; i < ctx->dst_fmt->num_planes; i++) { in s5p_mfc_buf_init() 1179 ctx->dst_fmt = find_format(&f, MFC_FMT_RAW); in s5p_mfc_dec_init() 1181 ctx->src_fmt, ctx->dst_fmt); in s5p_mfc_dec_init()
|
D | s5p_mfc_enc.c | 1357 pix_fmt_mp->pixelformat = ctx->dst_fmt->fourcc; in vidioc_g_fmt() 1358 pix_fmt_mp->num_planes = ctx->dst_fmt->num_planes; in vidioc_g_fmt() 1438 ctx->dst_fmt = find_format(f, MFC_FMT_ENC); in vidioc_s_fmt() 1440 ctx->codec_mode = ctx->dst_fmt->codec_mode; in vidioc_s_fmt() 2380 if (ctx->dst_fmt) in s5p_mfc_queue_setup() 2381 *plane_count = ctx->dst_fmt->num_planes; in s5p_mfc_queue_setup() 2427 ret = check_vb_with_fmt(ctx->dst_fmt, vb); in s5p_mfc_buf_init() 2460 ret = check_vb_with_fmt(ctx->dst_fmt, vb); in s5p_mfc_buf_prepare() 2689 ctx->dst_fmt = find_format(&f, MFC_FMT_ENC); in s5p_mfc_enc_init()
|
D | s5p_mfc_common.h | 627 struct s5p_mfc_fmt *dst_fmt; member
|
D | s5p_mfc_opr_v6.c | 1632 if (ctx->dst_fmt->fourcc == V4L2_PIX_FMT_NV12MT_16X16) in s5p_mfc_init_decode_v6() 1641 if (ctx->dst_fmt->fourcc == V4L2_PIX_FMT_NV21M) in s5p_mfc_init_decode_v6()
|
/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()
|