Home
last modified time | relevance | path

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

/drivers/media/platform/verisilicon/
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()
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()
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()
A Dhantro_v4l2.c134 int dst_bit_depth = hantro_get_format_depth(ctx->vpu_dst_fmt->fourcc); in hantro_set_reference_frames_format()
615 ctx->vpu_dst_fmt = hantro_find_format(ctx, pix_mp->pixelformat); in hantro_set_fmt_cap()
639 vpu_debug(0, "CAPTURE codec mode: %d\n", ctx->vpu_dst_fmt->codec_mode); in hantro_set_fmt_cap()
937 codec_mode = ctx->vpu_dst_fmt->codec_mode; in hantro_start_streaming()
947 if (hantro_needs_postproc(ctx, ctx->vpu_dst_fmt)) { in hantro_start_streaming()
A Dhantro.h257 const struct hantro_fmt *vpu_dst_fmt; member
490 if (hantro_needs_postproc(ctx, ctx->vpu_dst_fmt)) in hantro_get_dec_buf_addr()
A Dhantro_postproc.c81 switch (ctx->vpu_dst_fmt->fourcc) { in hantro_postproc_g1_enable()
87 ctx->vpu_dst_fmt->fourcc); in hantro_postproc_g1_enable()
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()

Completed in 22 milliseconds