Home
last modified time | relevance | path

Searched refs:vpu_dst_fmt (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/
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_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 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()
H A 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()
H A Dhantro.h228 * @vpu_dst_fmt: Descriptor of active destination format.
257 const struct hantro_fmt *vpu_dst_fmt; member
475 if (hantro_needs_postproc(ctx, ctx->vpu_dst_fmt)) in hantro_get_dec_buf_addr()
H A 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()
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()
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
H A Dhantro_v4l2.c261 vpu_fmt = ctx->vpu_dst_fmt; in hantro_try_fmt()
334 ctx->vpu_dst_fmt = vpu_fmt; in hantro_reset_encoded_fmt()
363 ctx->vpu_dst_fmt = raw_vpu_fmt; in hantro_reset_raw_fmt()
503 ctx->vpu_dst_fmt = hantro_find_format(ctx, pix_mp->pixelformat); in hantro_set_fmt_cap()
524 vpu_debug(0, "CAPTURE codec mode: %d\n", ctx->vpu_dst_fmt->codec_mode); in hantro_set_fmt_cap()
688 codec_mode = ctx->vpu_dst_fmt->codec_mode; in hantro_start_streaming()
698 if (hantro_needs_postproc(ctx, ctx->vpu_dst_fmt)) { in hantro_start_streaming()
H A Dhantro_h1_jpeg_enc.c152 ctx->vpu_dst_fmt->header_size, in hantro_jpeg_enc_done()
155 ctx->vpu_dst_fmt->header_size + bytesused); in hantro_jpeg_enc_done()
H A Dhantro_postproc.c68 switch (ctx->vpu_dst_fmt->fourcc) { in hantro_postproc_enable()
74 ctx->vpu_dst_fmt->fourcc); in hantro_postproc_enable()
H A Dhantro.h209 * @vpu_dst_fmt: Descriptor of active destination format.
231 const struct hantro_fmt *vpu_dst_fmt; member
422 if (hantro_needs_postproc(ctx, ctx->vpu_dst_fmt)) in hantro_get_dec_buf_addr()
H A Dhantro_drv.c134 if (hantro_needs_postproc(ctx, ctx->vpu_dst_fmt)) in hantro_start_prepare_run()
H A Dhantro_jpeg.c334 ctx->vpu_dst_fmt->header_size; in hantro_jpeg_enc_init()

Completed in 11 milliseconds