hantro_ctx 45 drivers/staging/media/hantro/hantro.h struct hantro_ctx; hantro_ctx 247 drivers/staging/media/hantro/hantro.h int (*buf_finish)(struct hantro_ctx *ctx, hantro_ctx 319 drivers/staging/media/hantro/hantro.h static inline struct hantro_ctx *fh_to_ctx(struct v4l2_fh *fh) hantro_ctx 321 drivers/staging/media/hantro/hantro.h return container_of(fh, struct hantro_ctx, fh); hantro_ctx 379 drivers/staging/media/hantro/hantro.h bool hantro_is_encoder_ctx(const struct hantro_ctx *ctx); hantro_ctx 381 drivers/staging/media/hantro/hantro.h void *hantro_get_ctrl(struct hantro_ctx *ctx, u32 id); hantro_ctx 385 drivers/staging/media/hantro/hantro.h hantro_get_src_buf(struct hantro_ctx *ctx) hantro_ctx 391 drivers/staging/media/hantro/hantro.h hantro_get_dst_buf(struct hantro_ctx *ctx) hantro_ctx 38 drivers/staging/media/hantro/hantro_drv.c void *hantro_get_ctrl(struct hantro_ctx *ctx, u32 id) hantro_ctx 59 drivers/staging/media/hantro/hantro_drv.c hantro_enc_buf_finish(struct hantro_ctx *ctx, struct vb2_buffer *buf, hantro_ctx 83 drivers/staging/media/hantro/hantro_drv.c hantro_dec_buf_finish(struct hantro_ctx *ctx, struct vb2_buffer *buf, hantro_ctx 92 drivers/staging/media/hantro/hantro_drv.c struct hantro_ctx *ctx, hantro_ctx 127 drivers/staging/media/hantro/hantro_drv.c struct hantro_ctx *ctx = hantro_ctx 142 drivers/staging/media/hantro/hantro_drv.c struct hantro_ctx *ctx; hantro_ctx 154 drivers/staging/media/hantro/hantro_drv.c void hantro_prepare_run(struct hantro_ctx *ctx) hantro_ctx 163 drivers/staging/media/hantro/hantro_drv.c void hantro_finish_run(struct hantro_ctx *ctx) hantro_ctx 178 drivers/staging/media/hantro/hantro_drv.c struct hantro_ctx *ctx = priv; hantro_ctx 201 drivers/staging/media/hantro/hantro_drv.c bool hantro_is_encoder_ctx(const struct hantro_ctx *ctx) hantro_ctx 213 drivers/staging/media/hantro/hantro_drv.c struct hantro_ctx *ctx = priv; hantro_ctx 269 drivers/staging/media/hantro/hantro_drv.c struct hantro_ctx *ctx; hantro_ctx 272 drivers/staging/media/hantro/hantro_drv.c struct hantro_ctx, ctrl_handler); hantro_ctx 363 drivers/staging/media/hantro/hantro_drv.c struct hantro_ctx *ctx, hantro_ctx 396 drivers/staging/media/hantro/hantro_drv.c struct hantro_ctx *ctx; hantro_ctx 456 drivers/staging/media/hantro/hantro_drv.c struct hantro_ctx *ctx = hantro_ctx 457 drivers/staging/media/hantro/hantro_drv.c container_of(filp->private_data, struct hantro_ctx, fh); hantro_ctx 22 drivers/staging/media/hantro/hantro_g1_h264_dec.c static void set_params(struct hantro_ctx *ctx) hantro_ctx 130 drivers/staging/media/hantro/hantro_g1_h264_dec.c static void set_ref(struct hantro_ctx *ctx) hantro_ctx 232 drivers/staging/media/hantro/hantro_g1_h264_dec.c static void set_buffers(struct hantro_ctx *ctx) hantro_ctx 266 drivers/staging/media/hantro/hantro_g1_h264_dec.c void hantro_g1_h264_dec_run(struct hantro_ctx *ctx) hantro_ctx 86 drivers/staging/media/hantro/hantro_g1_mpeg2_dec.c struct hantro_ctx *ctx) hantro_ctx 99 drivers/staging/media/hantro/hantro_g1_mpeg2_dec.c hantro_g1_mpeg2_dec_set_buffers(struct hantro_dev *vpu, struct hantro_ctx *ctx, hantro_ctx 161 drivers/staging/media/hantro/hantro_g1_mpeg2_dec.c void hantro_g1_mpeg2_dec_run(struct hantro_ctx *ctx) hantro_ctx 135 drivers/staging/media/hantro/hantro_g1_vp8_dec.c static void cfg_lf(struct hantro_ctx *ctx, hantro_ctx 177 drivers/staging/media/hantro/hantro_g1_vp8_dec.c static void cfg_qp(struct hantro_ctx *ctx, hantro_ctx 232 drivers/staging/media/hantro/hantro_g1_vp8_dec.c static void cfg_parts(struct hantro_ctx *ctx, hantro_ctx 330 drivers/staging/media/hantro/hantro_g1_vp8_dec.c static void cfg_tap(struct hantro_ctx *ctx, hantro_ctx 370 drivers/staging/media/hantro/hantro_g1_vp8_dec.c static void cfg_ref(struct hantro_ctx *ctx, hantro_ctx 402 drivers/staging/media/hantro/hantro_g1_vp8_dec.c static void cfg_buffers(struct hantro_ctx *ctx, hantro_ctx 430 drivers/staging/media/hantro/hantro_g1_vp8_dec.c void hantro_g1_vp8_dec_run(struct hantro_ctx *ctx) hantro_ctx 19 drivers/staging/media/hantro/hantro_h1_jpeg_enc.c struct hantro_ctx *ctx) hantro_ctx 32 drivers/staging/media/hantro/hantro_h1_jpeg_enc.c struct hantro_ctx *ctx, hantro_ctx 85 drivers/staging/media/hantro/hantro_h1_jpeg_enc.c void hantro_h1_jpeg_enc_run(struct hantro_ctx *ctx) hantro_ctx 198 drivers/staging/media/hantro/hantro_h264.c reorder_scaling_list(struct hantro_ctx *ctx) hantro_ctx 224 drivers/staging/media/hantro/hantro_h264.c static void prepare_table(struct hantro_ctx *ctx) hantro_ctx 268 drivers/staging/media/hantro/hantro_h264.c init_reflist_builder(struct hantro_ctx *ctx, hantro_ctx 472 drivers/staging/media/hantro/hantro_h264.c static void update_dpb(struct hantro_ctx *ctx) hantro_ctx 533 drivers/staging/media/hantro/hantro_h264.c struct vb2_buffer *hantro_h264_get_ref_buf(struct hantro_ctx *ctx, hantro_ctx 561 drivers/staging/media/hantro/hantro_h264.c int hantro_h264_dec_prepare_run(struct hantro_ctx *ctx) hantro_ctx 608 drivers/staging/media/hantro/hantro_h264.c void hantro_h264_dec_exit(struct hantro_ctx *ctx) hantro_ctx 617 drivers/staging/media/hantro/hantro_h264.c int hantro_h264_dec_init(struct hantro_ctx *ctx) hantro_ctx 22 drivers/staging/media/hantro/hantro_hw.h struct hantro_ctx; hantro_ctx 126 drivers/staging/media/hantro/hantro_hw.h int (*init)(struct hantro_ctx *ctx); hantro_ctx 127 drivers/staging/media/hantro/hantro_hw.h void (*exit)(struct hantro_ctx *ctx); hantro_ctx 128 drivers/staging/media/hantro/hantro_hw.h void (*run)(struct hantro_ctx *ctx); hantro_ctx 129 drivers/staging/media/hantro/hantro_hw.h void (*done)(struct hantro_ctx *ctx, enum vb2_buffer_state); hantro_ctx 130 drivers/staging/media/hantro/hantro_hw.h void (*reset)(struct hantro_ctx *ctx); hantro_ctx 150 drivers/staging/media/hantro/hantro_hw.h void hantro_run(struct hantro_ctx *ctx); hantro_ctx 153 drivers/staging/media/hantro/hantro_hw.h void hantro_prepare_run(struct hantro_ctx *ctx); hantro_ctx 154 drivers/staging/media/hantro/hantro_hw.h void hantro_finish_run(struct hantro_ctx *ctx); hantro_ctx 156 drivers/staging/media/hantro/hantro_hw.h void hantro_h1_jpeg_enc_run(struct hantro_ctx *ctx); hantro_ctx 157 drivers/staging/media/hantro/hantro_hw.h void rk3399_vpu_jpeg_enc_run(struct hantro_ctx *ctx); hantro_ctx 158 drivers/staging/media/hantro/hantro_hw.h int hantro_jpeg_enc_init(struct hantro_ctx *ctx); hantro_ctx 159 drivers/staging/media/hantro/hantro_hw.h void hantro_jpeg_enc_exit(struct hantro_ctx *ctx); hantro_ctx 161 drivers/staging/media/hantro/hantro_hw.h struct vb2_buffer *hantro_h264_get_ref_buf(struct hantro_ctx *ctx, hantro_ctx 163 drivers/staging/media/hantro/hantro_hw.h int hantro_h264_dec_prepare_run(struct hantro_ctx *ctx); hantro_ctx 164 drivers/staging/media/hantro/hantro_hw.h void hantro_g1_h264_dec_run(struct hantro_ctx *ctx); hantro_ctx 165 drivers/staging/media/hantro/hantro_hw.h int hantro_h264_dec_init(struct hantro_ctx *ctx); hantro_ctx 166 drivers/staging/media/hantro/hantro_hw.h void hantro_h264_dec_exit(struct hantro_ctx *ctx); hantro_ctx 168 drivers/staging/media/hantro/hantro_hw.h void hantro_g1_mpeg2_dec_run(struct hantro_ctx *ctx); hantro_ctx 169 drivers/staging/media/hantro/hantro_hw.h void rk3399_vpu_mpeg2_dec_run(struct hantro_ctx *ctx); hantro_ctx 172 drivers/staging/media/hantro/hantro_hw.h int hantro_mpeg2_dec_init(struct hantro_ctx *ctx); hantro_ctx 173 drivers/staging/media/hantro/hantro_hw.h void hantro_mpeg2_dec_exit(struct hantro_ctx *ctx); hantro_ctx 175 drivers/staging/media/hantro/hantro_hw.h void hantro_g1_vp8_dec_run(struct hantro_ctx *ctx); hantro_ctx 176 drivers/staging/media/hantro/hantro_hw.h void rk3399_vpu_vp8_dec_run(struct hantro_ctx *ctx); hantro_ctx 177 drivers/staging/media/hantro/hantro_hw.h int hantro_vp8_dec_init(struct hantro_ctx *ctx); hantro_ctx 178 drivers/staging/media/hantro/hantro_hw.h void hantro_vp8_dec_exit(struct hantro_ctx *ctx); hantro_ctx 179 drivers/staging/media/hantro/hantro_hw.h void hantro_vp8_prob_update(struct hantro_ctx *ctx, hantro_ctx 294 drivers/staging/media/hantro/hantro_jpeg.c int hantro_jpeg_enc_init(struct hantro_ctx *ctx) hantro_ctx 312 drivers/staging/media/hantro/hantro_jpeg.c void hantro_jpeg_enc_exit(struct hantro_ctx *ctx) hantro_ctx 38 drivers/staging/media/hantro/hantro_mpeg2.c int hantro_mpeg2_dec_init(struct hantro_ctx *ctx) hantro_ctx 53 drivers/staging/media/hantro/hantro_mpeg2.c void hantro_mpeg2_dec_exit(struct hantro_ctx *ctx) hantro_ctx 34 drivers/staging/media/hantro/hantro_v4l2.c hantro_get_formats(const struct hantro_ctx *ctx, unsigned int *num_fmts) hantro_ctx 91 drivers/staging/media/hantro/hantro_v4l2.c struct hantro_ctx *ctx = fh_to_ctx(priv); hantro_ctx 123 drivers/staging/media/hantro/hantro_v4l2.c struct hantro_ctx *ctx = fh_to_ctx(priv); hantro_ctx 172 drivers/staging/media/hantro/hantro_v4l2.c struct hantro_ctx *ctx = fh_to_ctx(priv); hantro_ctx 185 drivers/staging/media/hantro/hantro_v4l2.c struct hantro_ctx *ctx = fh_to_ctx(priv); hantro_ctx 197 drivers/staging/media/hantro/hantro_v4l2.c struct hantro_ctx *ctx = fh_to_ctx(priv); hantro_ctx 291 drivers/staging/media/hantro/hantro_v4l2.c hantro_reset_encoded_fmt(struct hantro_ctx *ctx) hantro_ctx 317 drivers/staging/media/hantro/hantro_v4l2.c hantro_reset_raw_fmt(struct hantro_ctx *ctx) hantro_ctx 342 drivers/staging/media/hantro/hantro_v4l2.c void hantro_reset_fmts(struct hantro_ctx *ctx) hantro_ctx 349 drivers/staging/media/hantro/hantro_v4l2.c hantro_update_requires_request(struct hantro_ctx *ctx, u32 fourcc) hantro_ctx 369 drivers/staging/media/hantro/hantro_v4l2.c struct hantro_ctx *ctx = fh_to_ctx(priv); hantro_ctx 443 drivers/staging/media/hantro/hantro_v4l2.c struct hantro_ctx *ctx = fh_to_ctx(priv); hantro_ctx 540 drivers/staging/media/hantro/hantro_v4l2.c struct hantro_ctx *ctx = vb2_get_drv_priv(vq); hantro_ctx 593 drivers/staging/media/hantro/hantro_v4l2.c struct hantro_ctx *ctx = vb2_get_drv_priv(vq); hantro_ctx 604 drivers/staging/media/hantro/hantro_v4l2.c struct hantro_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); hantro_ctx 612 drivers/staging/media/hantro/hantro_v4l2.c struct hantro_ctx *ctx = vb2_get_drv_priv(q); hantro_ctx 619 drivers/staging/media/hantro/hantro_v4l2.c struct hantro_ctx *ctx = vb2_get_drv_priv(q); hantro_ctx 648 drivers/staging/media/hantro/hantro_v4l2.c struct hantro_ctx *ctx = vb2_get_drv_priv(q); hantro_ctx 664 drivers/staging/media/hantro/hantro_v4l2.c struct hantro_ctx *ctx = vb2_get_drv_priv(q); hantro_ctx 684 drivers/staging/media/hantro/hantro_v4l2.c struct hantro_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); hantro_ctx 24 drivers/staging/media/hantro/hantro_v4l2.h void hantro_reset_fmts(struct hantro_ctx *ctx); hantro_ctx 49 drivers/staging/media/hantro/hantro_vp8.c void hantro_vp8_prob_update(struct hantro_ctx *ctx, hantro_ctx 145 drivers/staging/media/hantro/hantro_vp8.c int hantro_vp8_dec_init(struct hantro_ctx *ctx) hantro_ctx 192 drivers/staging/media/hantro/hantro_vp8.c void hantro_vp8_dec_exit(struct hantro_ctx *ctx) hantro_ctx 149 drivers/staging/media/hantro/rk3288_vpu_hw.c static void rk3288_vpu_enc_reset(struct hantro_ctx *ctx) hantro_ctx 158 drivers/staging/media/hantro/rk3288_vpu_hw.c static void rk3288_vpu_dec_reset(struct hantro_ctx *ctx) hantro_ctx 135 drivers/staging/media/hantro/rk3399_vpu_hw.c static void rk3399_vpu_enc_reset(struct hantro_ctx *ctx) hantro_ctx 144 drivers/staging/media/hantro/rk3399_vpu_hw.c static void rk3399_vpu_dec_reset(struct hantro_ctx *ctx) hantro_ctx 37 drivers/staging/media/hantro/rk3399_vpu_hw_jpeg_enc.c struct hantro_ctx *ctx) hantro_ctx 64 drivers/staging/media/hantro/rk3399_vpu_hw_jpeg_enc.c struct hantro_ctx *ctx, hantro_ctx 116 drivers/staging/media/hantro/rk3399_vpu_hw_jpeg_enc.c void rk3399_vpu_jpeg_enc_run(struct hantro_ctx *ctx) hantro_ctx 88 drivers/staging/media/hantro/rk3399_vpu_hw_mpeg2_dec.c struct hantro_ctx *ctx) hantro_ctx 101 drivers/staging/media/hantro/rk3399_vpu_hw_mpeg2_dec.c struct hantro_ctx *ctx, hantro_ctx 163 drivers/staging/media/hantro/rk3399_vpu_hw_mpeg2_dec.c void rk3399_vpu_mpeg2_dec_run(struct hantro_ctx *ctx) hantro_ctx 276 drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c static void cfg_lf(struct hantro_ctx *ctx, hantro_ctx 315 drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c static void cfg_qp(struct hantro_ctx *ctx, hantro_ctx 345 drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c static void cfg_parts(struct hantro_ctx *ctx, hantro_ctx 428 drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c static void cfg_tap(struct hantro_ctx *ctx, hantro_ctx 447 drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c static void cfg_ref(struct hantro_ctx *ctx, hantro_ctx 480 drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c static void cfg_buffers(struct hantro_ctx *ctx, hantro_ctx 509 drivers/staging/media/hantro/rk3399_vpu_hw_vp8_dec.c void rk3399_vpu_vp8_dec_run(struct hantro_ctx *ctx)