Home
last modified time | relevance | path

Searched refs:vpu_dst_fmt (Results 1 – 7 of 7) sorted by relevance

/drivers/media/platform/verisilicon/
Dhantro_h1_jpeg_enc.c49 size_left = vb2_plane_size(dst_buf, 0) - ctx->vpu_dst_fmt->header_size; in hantro_h1_jpeg_enc_set_buffers()
50 if (WARN_ON(vb2_plane_size(dst_buf, 0) < ctx->vpu_dst_fmt->header_size)) in hantro_h1_jpeg_enc_set_buffers()
56 ctx->vpu_dst_fmt->header_size, in hantro_h1_jpeg_enc_set_buffers()
165 ctx->vpu_dst_fmt->header_size + bytesused); in hantro_h1_jpeg_enc_done()
Drockchip_vpu2_hw_jpeg_enc.c76 size_left = vb2_plane_size(dst_buf, 0) - ctx->vpu_dst_fmt->header_size; in rockchip_vpu2_jpeg_enc_set_buffers()
77 if (WARN_ON(vb2_plane_size(dst_buf, 0) < ctx->vpu_dst_fmt->header_size)) in rockchip_vpu2_jpeg_enc_set_buffers()
83 ctx->vpu_dst_fmt->header_size, in rockchip_vpu2_jpeg_enc_set_buffers()
196 ctx->vpu_dst_fmt->header_size + bytesused); in rockchip_vpu2_jpeg_enc_done()
Dhantro_hevc.c158 if (ctx->vpu_dst_fmt->fourcc == V4L2_PIX_FMT_NV12_4L4) { in hantro_hevc_validate_sps()
160 ALIGN(sps->pic_width_in_luma_samples, ctx->vpu_dst_fmt->frmsize.step_width)) in hantro_hevc_validate_sps()
164 ALIGN(sps->pic_height_in_luma_samples, ctx->vpu_dst_fmt->frmsize.step_height)) in hantro_hevc_validate_sps()
Dhantro.h257 const struct hantro_fmt *vpu_dst_fmt; member
475 if (hantro_needs_postproc(ctx, ctx->vpu_dst_fmt)) in hantro_get_dec_buf_addr()
Dhantro_postproc.c79 switch (ctx->vpu_dst_fmt->fourcc) { in hantro_postproc_g1_enable()
85 ctx->vpu_dst_fmt->fourcc); in hantro_postproc_g1_enable()
Dhantro_v4l2.c610 ctx->vpu_dst_fmt = hantro_find_format(ctx, pix_mp->pixelformat); in hantro_set_fmt_cap()
631 vpu_debug(0, "CAPTURE codec mode: %d\n", ctx->vpu_dst_fmt->codec_mode); in hantro_set_fmt_cap()
928 codec_mode = ctx->vpu_dst_fmt->codec_mode; in hantro_start_streaming()
938 if (hantro_needs_postproc(ctx, ctx->vpu_dst_fmt)) { in hantro_start_streaming()
Dhantro_drv.c143 if (hantro_needs_postproc(ctx, ctx->vpu_dst_fmt)) in hantro_start_prepare_run()
155 if (hantro_needs_postproc(ctx, ctx->vpu_dst_fmt)) in hantro_end_prepare_run()