| /Linux-v5.4/drivers/staging/media/hantro/ |
| D | hantro_hw.h | 22 struct hantro_ctx; 126 int (*init)(struct hantro_ctx *ctx); 127 void (*exit)(struct hantro_ctx *ctx); 128 void (*run)(struct hantro_ctx *ctx); 129 void (*done)(struct hantro_ctx *ctx, enum vb2_buffer_state); 130 void (*reset)(struct hantro_ctx *ctx); 150 void hantro_run(struct hantro_ctx *ctx); 153 void hantro_prepare_run(struct hantro_ctx *ctx); 154 void hantro_finish_run(struct hantro_ctx *ctx); 156 void hantro_h1_jpeg_enc_run(struct hantro_ctx *ctx); [all …]
|
| D | hantro_v4l2.c | 34 hantro_get_formats(const struct hantro_ctx *ctx, unsigned int *num_fmts) in hantro_get_formats() 91 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_framesizes() 123 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_fmt() 172 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt_out_mplane() 185 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt_cap_mplane() 197 struct hantro_ctx *ctx = fh_to_ctx(priv); in vidioc_try_fmt() 291 hantro_reset_encoded_fmt(struct hantro_ctx *ctx) in hantro_reset_encoded_fmt() 317 hantro_reset_raw_fmt(struct hantro_ctx *ctx) in hantro_reset_raw_fmt() 342 void hantro_reset_fmts(struct hantro_ctx *ctx) in hantro_reset_fmts() 349 hantro_update_requires_request(struct hantro_ctx *ctx, u32 fourcc) in hantro_update_requires_request() [all …]
|
| D | hantro.h | 45 struct hantro_ctx; 232 struct hantro_ctx { struct 247 int (*buf_finish)(struct hantro_ctx *ctx, argument 319 static inline struct hantro_ctx *fh_to_ctx(struct v4l2_fh *fh) in fh_to_ctx() 321 return container_of(fh, struct hantro_ctx, fh); in fh_to_ctx() 379 bool hantro_is_encoder_ctx(const struct hantro_ctx *ctx); 381 void *hantro_get_ctrl(struct hantro_ctx *ctx, u32 id); 385 hantro_get_src_buf(struct hantro_ctx *ctx) in hantro_get_src_buf() 391 hantro_get_dst_buf(struct hantro_ctx *ctx) in hantro_get_dst_buf()
|
| D | hantro_drv.c | 38 void *hantro_get_ctrl(struct hantro_ctx *ctx, u32 id) in hantro_get_ctrl() 59 hantro_enc_buf_finish(struct hantro_ctx *ctx, struct vb2_buffer *buf, in hantro_enc_buf_finish() 83 hantro_dec_buf_finish(struct hantro_ctx *ctx, struct vb2_buffer *buf, in hantro_dec_buf_finish() 92 struct hantro_ctx *ctx, in hantro_job_finish() 127 struct hantro_ctx *ctx = in hantro_irq_done() 142 struct hantro_ctx *ctx; in hantro_watchdog() 154 void hantro_prepare_run(struct hantro_ctx *ctx) in hantro_prepare_run() 163 void hantro_finish_run(struct hantro_ctx *ctx) in hantro_finish_run() 178 struct hantro_ctx *ctx = priv; in device_run() 201 bool hantro_is_encoder_ctx(const struct hantro_ctx *ctx) in hantro_is_encoder_ctx() [all …]
|
| D | hantro_h264.c | 215 reorder_scaling_list(struct hantro_ctx *ctx) in reorder_scaling_list() 251 static void prepare_table(struct hantro_ctx *ctx) in prepare_table() 294 init_reflist_builder(struct hantro_ctx *ctx, in init_reflist_builder() 479 static void update_dpb(struct hantro_ctx *ctx) in update_dpb() 540 struct vb2_buffer *hantro_h264_get_ref_buf(struct hantro_ctx *ctx, in hantro_h264_get_ref_buf() 568 int hantro_h264_dec_prepare_run(struct hantro_ctx *ctx) in hantro_h264_dec_prepare_run() 615 void hantro_h264_dec_exit(struct hantro_ctx *ctx) in hantro_h264_dec_exit() 624 int hantro_h264_dec_init(struct hantro_ctx *ctx) in hantro_h264_dec_init()
|
| 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() 402 static void cfg_buffers(struct hantro_ctx *ctx, in cfg_buffers() 430 void hantro_g1_vp8_dec_run(struct hantro_ctx *ctx) in hantro_g1_vp8_dec_run()
|
| 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() 80 void hantro_h1_jpeg_enc_run(struct hantro_ctx *ctx) in hantro_h1_jpeg_enc_run()
|
| D | rk3399_vpu_hw_jpeg_enc.c | 37 struct hantro_ctx *ctx) in rk3399_vpu_set_src_img_ctrl() 64 struct hantro_ctx *ctx, in rk3399_vpu_jpeg_enc_set_buffers() 111 void rk3399_vpu_jpeg_enc_run(struct hantro_ctx *ctx) in rk3399_vpu_jpeg_enc_run()
|
| 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()
|
| 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() 480 static void cfg_buffers(struct hantro_ctx *ctx, in cfg_buffers() 509 void rk3399_vpu_vp8_dec_run(struct hantro_ctx *ctx) in rk3399_vpu_vp8_dec_run()
|
| 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() 230 static void set_buffers(struct hantro_ctx *ctx) in set_buffers() 264 void hantro_g1_h264_dec_run(struct hantro_ctx *ctx) in hantro_g1_h264_dec_run()
|
| D | hantro_jpeg.c | 294 int hantro_jpeg_enc_init(struct hantro_ctx *ctx) in hantro_jpeg_enc_init() 312 void hantro_jpeg_enc_exit(struct hantro_ctx *ctx) in hantro_jpeg_enc_exit()
|
| 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()
|
| D | hantro_v4l2.h | 24 void hantro_reset_fmts(struct hantro_ctx *ctx);
|
| D | rk3288_vpu_hw.c | 149 static void rk3288_vpu_enc_reset(struct hantro_ctx *ctx) in rk3288_vpu_enc_reset() 158 static void rk3288_vpu_dec_reset(struct hantro_ctx *ctx) in rk3288_vpu_dec_reset()
|
| D | rk3399_vpu_hw.c | 135 static void rk3399_vpu_enc_reset(struct hantro_ctx *ctx) in rk3399_vpu_enc_reset() 144 static void rk3399_vpu_dec_reset(struct hantro_ctx *ctx) in rk3399_vpu_dec_reset()
|
| 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() 161 void hantro_g1_mpeg2_dec_run(struct hantro_ctx *ctx) in hantro_g1_mpeg2_dec_run()
|
| 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() 163 void rk3399_vpu_mpeg2_dec_run(struct hantro_ctx *ctx) in rk3399_vpu_mpeg2_dec_run()
|