Home
last modified time | relevance | path

Searched refs:dst_fmt (Results 1 – 22 of 22) sorted by relevance

/drivers/staging/media/sunxi/cedrus/
Dcedrus_video.c218 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 …]
Dcedrus.h96 struct v4l2_pix_format dst_fmt; member
192 return buf ? cedrus_buf_addr(buf, &ctx->dst_fmt, plane) : 0; in cedrus_dst_buf_addr()
Dcedrus_h264.c84 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/
Dhantro_v4l2.c189 *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 …]
Dhantro_h1_jpeg_enc.c94 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()
Drk3399_vpu_hw_jpeg_enc.c125 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()
Dhantro_g1_mpeg2_dec.c131 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()
Drk3399_vpu_hw_mpeg2_dec.c133 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()
Dhantro_vp8.c154 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()
Dhantro_h264.c634 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()
Dhantro_jpeg.c297 ctx->dst_fmt.plane_fmt[0].sizeimage - in hantro_jpeg_enc_init()
Dhantro_g1_vp8_dec.c434 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()
Drk3399_vpu_hw_vp8_dec.c513 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()
Dhantro.h242 struct v4l2_pix_format_mplane dst_fmt; member
Dhantro_g1_h264_dec.c256 mv_offset += 32 * H264_MB_WIDTH(ctx->dst_fmt.width); in set_buffers()
Dhantro_drv.c87 buf->planes[0].bytesused = ctx->dst_fmt.plane_fmt[0].sizeimage; in hantro_dec_buf_finish()
/drivers/gpu/drm/exynos/
Dexynos_drm_scaler.c205 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/
Ds5p_mfc_dec.c330 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()
Ds5p_mfc_enc.c1357 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()
Ds5p_mfc_common.h627 struct s5p_mfc_fmt *dst_fmt; member
Ds5p_mfc_opr_v6.c1632 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/
Dbdisp-hw.c769 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()