| /OK3568_Linux_fs/kernel/drivers/staging/media/hantro/ |
| H A D | hantro_hw.h | 26 struct hantro_ctx; 136 int (*init)(struct hantro_ctx *ctx); 137 void (*exit)(struct hantro_ctx *ctx); 138 void (*run)(struct hantro_ctx *ctx); 139 void (*done)(struct hantro_ctx *ctx); 140 void (*reset)(struct hantro_ctx *ctx); 163 void hantro_run(struct hantro_ctx *ctx); 166 void hantro_start_prepare_run(struct hantro_ctx *ctx); 167 void hantro_end_prepare_run(struct hantro_ctx *ctx); 169 void hantro_h1_jpeg_enc_run(struct hantro_ctx *ctx); [all …]
|
| H A D | hantro.h | 29 struct hantro_ctx; 221 struct hantro_ctx { struct 323 static inline struct hantro_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() 325 return container_of(fh, struct hantro_ctx, fh); in fh_to_ctx() 397 void *hantro_get_ctrl(struct hantro_ctx *ctx, u32 id); 398 dma_addr_t hantro_get_ref(struct hantro_ctx *ctx, u64 ts); 401 hantro_get_src_buf(struct hantro_ctx *ctx) in hantro_get_src_buf() 407 hantro_get_dst_buf(struct hantro_ctx *ctx) in hantro_get_dst_buf() 413 hantro_needs_postproc(const struct hantro_ctx *ctx, in hantro_needs_postproc() 420 hantro_get_dec_buf_addr(struct hantro_ctx *ctx, struct vb2_buffer *vb) in hantro_get_dec_buf_addr() [all …]
|
| H A D | hantro_v4l2.c | 33 static int hantro_set_fmt_out(struct hantro_ctx *ctx, 35 static int hantro_set_fmt_cap(struct hantro_ctx *ctx, 39 hantro_get_formats(const struct hantro_ctx *ctx, unsigned int *num_fmts) in hantro_get_formats() 55 hantro_get_postproc_formats(const struct hantro_ctx *ctx, in hantro_get_postproc_formats() 68 hantro_find_format(const struct hantro_ctx *ctx, u32 fourcc) in hantro_find_format() 86 hantro_get_default_fmt(const struct hantro_ctx *ctx, bool bitstream) in hantro_get_default_fmt() 116 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_framesizes() 146 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_fmt() 213 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt_out_mplane() 226 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt_cap_mplane() [all …]
|
| H A D | hantro_h264.c | 196 assemble_scaling_list(struct hantro_ctx *ctx) in assemble_scaling_list() 226 static void prepare_table(struct hantro_ctx *ctx) in prepare_table() 252 static void update_dpb(struct hantro_ctx *ctx) in update_dpb() 313 dma_addr_t hantro_h264_get_ref_buf(struct hantro_ctx *ctx, in hantro_h264_get_ref_buf() 338 int hantro_h264_dec_prepare_run(struct hantro_ctx *ctx) in hantro_h264_dec_prepare_run() 381 void hantro_h264_dec_exit(struct hantro_ctx *ctx) in hantro_h264_dec_exit() 390 int hantro_h264_dec_init(struct hantro_ctx *ctx) in hantro_h264_dec_init()
|
| H A D | hantro_drv.c | 38 void *hantro_get_ctrl(struct hantro_ctx *ctx, u32 id) in hantro_get_ctrl() 46 dma_addr_t hantro_get_ref(struct hantro_ctx *ctx, u64 ts) in hantro_get_ref() 60 struct hantro_ctx *ctx, in hantro_job_finish_no_pm() 81 struct hantro_ctx *ctx, in hantro_job_finish() 95 struct hantro_ctx *ctx = in hantro_irq_done() 113 struct hantro_ctx *ctx; in hantro_watchdog() 125 void hantro_start_prepare_run(struct hantro_ctx *ctx) in hantro_start_prepare_run() 141 void hantro_end_prepare_run(struct hantro_ctx *ctx) in hantro_end_prepare_run() 156 struct hantro_ctx *ctx = priv; in device_run() 189 struct hantro_ctx *ctx = priv; in queue_init() [all …]
|
| H A D | hantro_postproc.c | 53 void hantro_postproc_enable(struct hantro_ctx *ctx) in hantro_postproc_enable() 97 void hantro_postproc_free(struct hantro_ctx *ctx) in hantro_postproc_free() 113 int hantro_postproc_alloc(struct hantro_ctx *ctx) in hantro_postproc_alloc() 142 void hantro_postproc_disable(struct hantro_ctx *ctx) in hantro_postproc_disable()
|
| H A D | hantro_h1_jpeg_enc.c | 19 struct hantro_ctx *ctx) in hantro_h1_set_src_img_ctrl() 32 struct hantro_ctx *ctx, in hantro_h1_jpeg_enc_set_buffers() 91 void hantro_h1_jpeg_enc_run(struct hantro_ctx *ctx) in hantro_h1_jpeg_enc_run() 141 void hantro_jpeg_enc_done(struct hantro_ctx *ctx) in hantro_jpeg_enc_done()
|
| H A D | hantro_g1_vp8_dec.c | 135 static void cfg_lf(struct hantro_ctx *ctx, in cfg_lf() 177 static void cfg_qp(struct hantro_ctx *ctx, in cfg_qp() 232 static void cfg_parts(struct hantro_ctx *ctx, in cfg_parts() 330 static void cfg_tap(struct hantro_ctx *ctx, in cfg_tap() 370 static void cfg_ref(struct hantro_ctx *ctx, in cfg_ref() 408 static void cfg_buffers(struct hantro_ctx *ctx, in cfg_buffers() 436 void hantro_g1_vp8_dec_run(struct hantro_ctx *ctx) in hantro_g1_vp8_dec_run()
|
| H A D | rk3399_vpu_hw_vp8_dec.c | 276 static void cfg_lf(struct hantro_ctx *ctx, in cfg_lf() 315 static void cfg_qp(struct hantro_ctx *ctx, in cfg_qp() 345 static void cfg_parts(struct hantro_ctx *ctx, in cfg_parts() 428 static void cfg_tap(struct hantro_ctx *ctx, in cfg_tap() 447 static void cfg_ref(struct hantro_ctx *ctx, in cfg_ref() 485 static void cfg_buffers(struct hantro_ctx *ctx, in cfg_buffers() 514 void rk3399_vpu_vp8_dec_run(struct hantro_ctx *ctx) in rk3399_vpu_vp8_dec_run()
|
| H A D | rk3399_vpu_hw_jpeg_enc.c | 36 struct hantro_ctx *ctx) in rk3399_vpu_set_src_img_ctrl() 63 struct hantro_ctx *ctx, in rk3399_vpu_jpeg_enc_set_buffers() 121 void rk3399_vpu_jpeg_enc_run(struct hantro_ctx *ctx) in rk3399_vpu_jpeg_enc_run()
|
| H A D | hantro_mpeg2.c | 38 int hantro_mpeg2_dec_init(struct hantro_ctx *ctx) in hantro_mpeg2_dec_init() 53 void hantro_mpeg2_dec_exit(struct hantro_ctx *ctx) in hantro_mpeg2_dec_exit()
|
| H A D | hantro_g1_h264_dec.c | 22 static void set_params(struct hantro_ctx *ctx) in set_params() 128 static void set_ref(struct hantro_ctx *ctx) in set_ref() 229 static void set_buffers(struct hantro_ctx *ctx) in set_buffers() 276 void hantro_g1_h264_dec_run(struct hantro_ctx *ctx) in hantro_g1_h264_dec_run()
|
| H A D | hantro_vp8.c | 49 void hantro_vp8_prob_update(struct hantro_ctx *ctx, in hantro_vp8_prob_update() 145 int hantro_vp8_dec_init(struct hantro_ctx *ctx) in hantro_vp8_dec_init() 192 void hantro_vp8_dec_exit(struct hantro_ctx *ctx) in hantro_vp8_dec_exit()
|
| H A D | hantro_jpeg.c | 330 int hantro_jpeg_enc_init(struct hantro_ctx *ctx) in hantro_jpeg_enc_init() 348 void hantro_jpeg_enc_exit(struct hantro_ctx *ctx) in hantro_jpeg_enc_exit()
|
| H A D | rk3399_vpu_hw_mpeg2_dec.c | 88 struct hantro_ctx *ctx) in rk3399_vpu_mpeg2_dec_set_quantization() 101 struct hantro_ctx *ctx, in rk3399_vpu_mpeg2_dec_set_buffers() 160 void rk3399_vpu_mpeg2_dec_run(struct hantro_ctx *ctx) in rk3399_vpu_mpeg2_dec_run()
|
| H A D | hantro_g1_mpeg2_dec.c | 86 struct hantro_ctx *ctx) in hantro_g1_mpeg2_dec_set_quantization() 99 hantro_g1_mpeg2_dec_set_buffers(struct hantro_dev *vpu, struct hantro_ctx *ctx, in hantro_g1_mpeg2_dec_set_buffers() 158 void hantro_g1_mpeg2_dec_run(struct hantro_ctx *ctx) in hantro_g1_mpeg2_dec_run()
|
| H A D | rk3399_vpu_hw.c | 134 static void rk3399_vpu_enc_reset(struct hantro_ctx *ctx) in rk3399_vpu_enc_reset() 143 static void rk3399_vpu_dec_reset(struct hantro_ctx *ctx) in rk3399_vpu_dec_reset()
|
| H A D | rk3288_vpu_hw.c | 155 static void rk3288_vpu_enc_reset(struct hantro_ctx *ctx) in rk3288_vpu_enc_reset() 164 static void rk3288_vpu_dec_reset(struct hantro_ctx *ctx) in rk3288_vpu_dec_reset()
|
| H A D | hantro_v4l2.h | 24 void hantro_reset_fmts(struct hantro_ctx *ctx);
|
| H A D | imx8m_vpu_hw.c | 159 static void imx8m_vpu_g1_reset(struct hantro_ctx *ctx) in imx8m_vpu_g1_reset()
|