Home
last modified time | relevance | path

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

/linux/drivers/media/platform/verisilicon/
H A 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()
H A 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()
H A Dhantro_hevc.c163 if (ctx->vpu_dst_fmt->fourcc == V4L2_PIX_FMT_NV12_4L4) { in hantro_hevc_validate_sps()
165 ALIGN(sps->pic_width_in_luma_samples, ctx->vpu_dst_fmt->frmsize.step_width)) in hantro_hevc_validate_sps()
169 ALIGN(sps->pic_height_in_luma_samples, ctx->vpu_dst_fmt->frmsize.step_height)) in hantro_hevc_validate_sps()
284 hevc_use_compression & hantro_needs_postproc(ctx, ctx->vpu_dst_fmt); in hantro_hevc_dec_init()
H A 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()