drivers/media/platform/verisilicon/hantro.h
30
struct hantro_ctx;
drivers/media/platform/verisilicon/hantro.h
387
static __always_inline struct hantro_ctx *file_to_ctx(struct file *filp)
drivers/media/platform/verisilicon/hantro.h
389
return container_of(file_to_v4l2_fh(filp), struct hantro_ctx, fh);
drivers/media/platform/verisilicon/hantro.h
468
void *hantro_get_ctrl(struct hantro_ctx *ctx, u32 id);
drivers/media/platform/verisilicon/hantro.h
469
dma_addr_t hantro_get_ref(struct hantro_ctx *ctx, u64 ts);
drivers/media/platform/verisilicon/hantro.h
472
hantro_get_src_buf(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro.h
478
hantro_get_dst_buf(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro.h
483
bool hantro_needs_postproc(const struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro.h
487
hantro_postproc_get_dec_buf_addr(struct hantro_ctx *ctx, int index);
drivers/media/platform/verisilicon/hantro.h
490
hantro_get_dec_buf_addr(struct hantro_ctx *ctx, struct vb2_buffer *vb)
drivers/media/platform/verisilicon/hantro.h
503
void hantro_postproc_disable(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro.h
504
void hantro_postproc_enable(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro.h
505
int hantro_postproc_init(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro.h
506
void hantro_postproc_free(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro.h
507
int hanto_postproc_enum_framesizes(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_drv.c
103
struct hantro_ctx *ctx =
drivers/media/platform/verisilicon/hantro_drv.c
121
struct hantro_ctx *ctx;
drivers/media/platform/verisilicon/hantro_drv.c
134
void hantro_start_prepare_run(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_drv.c
150
void hantro_end_prepare_run(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_drv.c
172
struct hantro_ctx *ctx = priv;
drivers/media/platform/verisilicon/hantro_drv.c
205
struct hantro_ctx *ctx = priv;
drivers/media/platform/verisilicon/hantro_drv.c
293
struct hantro_ctx *ctx;
drivers/media/platform/verisilicon/hantro_drv.c
296
struct hantro_ctx, ctrl_handler);
drivers/media/platform/verisilicon/hantro_drv.c
313
struct hantro_ctx *ctx;
drivers/media/platform/verisilicon/hantro_drv.c
316
struct hantro_ctx, ctrl_handler);
drivers/media/platform/verisilicon/hantro_drv.c
336
struct hantro_ctx *ctx;
drivers/media/platform/verisilicon/hantro_drv.c
339
struct hantro_ctx, ctrl_handler);
drivers/media/platform/verisilicon/hantro_drv.c
360
struct hantro_ctx *ctx;
drivers/media/platform/verisilicon/hantro_drv.c
363
struct hantro_ctx, ctrl_handler);
drivers/media/platform/verisilicon/hantro_drv.c
39
void *hantro_get_ctrl(struct hantro_ctx *ctx, u32 id)
drivers/media/platform/verisilicon/hantro_drv.c
47
dma_addr_t hantro_get_ref(struct hantro_ctx *ctx, u64 ts)
drivers/media/platform/verisilicon/hantro_drv.c
598
struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_drv.c
63
struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_drv.c
631
struct hantro_ctx *ctx;
drivers/media/platform/verisilicon/hantro_drv.c
689
struct hantro_ctx *ctx = file_to_ctx(filp);
drivers/media/platform/verisilicon/hantro_drv.c
90
struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_g1.c
32
void hantro_g1_reset(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g1_h264_dec.c
127
static void set_ref(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g1_h264_dec.c
205
static void set_buffers(struct hantro_ctx *ctx, struct vb2_v4l2_buffer *src_buf)
drivers/media/platform/verisilicon/hantro_g1_h264_dec.c
22
static void set_params(struct hantro_ctx *ctx, struct vb2_v4l2_buffer *src_buf)
drivers/media/platform/verisilicon/hantro_g1_h264_dec.c
250
int hantro_g1_h264_dec_run(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g1_mpeg2_dec.c
148
int hantro_g1_mpeg2_dec_run(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g1_mpeg2_dec.c
82
struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g1_mpeg2_dec.c
92
hantro_g1_mpeg2_dec_set_buffers(struct hantro_dev *vpu, struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_g1_vp8_dec.c
134
static void cfg_lf(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_g1_vp8_dec.c
176
static void cfg_qp(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_g1_vp8_dec.c
231
static void cfg_parts(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_g1_vp8_dec.c
329
static void cfg_tap(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_g1_vp8_dec.c
369
static void cfg_ref(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_g1_vp8_dec.c
406
static void cfg_buffers(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_g1_vp8_dec.c
432
int hantro_g1_vp8_dec_run(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g2.c
103
size_t hantro_g2_motion_vectors_offset(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g2.c
110
static size_t hantro_g2_mv_size(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g2.c
127
size_t hantro_g2_luma_compress_offset(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g2.c
133
size_t hantro_g2_chroma_compress_offset(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g2.c
14
static bool hantro_g2_active(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g2.c
33
void hantro_g2_reset(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g2.c
98
size_t hantro_g2_chroma_offset(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g2_hevc_dec.c
106
static int compute_header_skip_length(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g2_hevc_dec.c
11
static void prepare_tile_info_buffer(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g2_hevc_dec.c
141
static void set_params(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g2_hevc_dec.c
295
static void set_ref_pic_list(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g2_hevc_dec.c
374
static int set_ref(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g2_hevc_dec.c
514
static void set_buffers(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g2_hevc_dec.c
541
static void prepare_scaling_list_buffer(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g2_hevc_dec.c
591
int hantro_g2_hevc_dec_run(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
128
static void config_output(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
159
static void config_ref(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
186
static void config_ref_registers(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
252
recompute_tile_rc_info(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
27
static int start_prepare_run(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame **dec_params)
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
279
fill_tile_info(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
306
config_tiles(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
387
static void config_segment(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params)
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
470
static void config_loop_filter(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params)
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
486
static void config_picture_dimensions(struct hantro_ctx *ctx, struct hantro_decoded_buffer *dst)
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
499
config_bit_depth(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params)
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
518
config_quant(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params)
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
546
config_others(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params,
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
577
config_compound_reference(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
632
static void config_probs(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params)
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
740
static void config_counts(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
749
static void config_seg_map(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
775
config_source(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params,
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
809
config_registers(struct hantro_ctx *ctx, const struct v4l2_ctrl_vp9_frame *dec_params,
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
889
int hantro_g2_vp9_dec_run(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
92
get_ref_buf(struct hantro_ctx *ctx, struct vb2_v4l2_buffer *dst, u64 timestamp)
drivers/media/platform/verisilicon/hantro_g2_vp9_dec.c
922
void hantro_g2_vp9_dec_done(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_h1_jpeg_enc.c
106
int hantro_h1_jpeg_enc_run(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_h1_jpeg_enc.c
158
void hantro_h1_jpeg_enc_done(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_h1_jpeg_enc.c
19
struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_h1_jpeg_enc.c
41
struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_h264.c
202
assemble_scaling_list(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_h264.c
232
static void prepare_table(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_h264.c
296
static void update_dpb(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_h264.c
356
dma_addr_t hantro_h264_get_ref_buf(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_h264.c
388
u16 hantro_h264_get_ref_nbr(struct hantro_ctx *ctx, unsigned int dpb_idx)
drivers/media/platform/verisilicon/hantro_h264.c
438
int hantro_h264_dec_prepare_run(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_h264.c
495
void hantro_h264_dec_exit(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_h264.c
504
int hantro_h264_dec_init(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_hevc.c
157
static int hantro_hevc_validate_sps(struct hantro_ctx *ctx, const struct v4l2_ctrl_hevc_sps *sps)
drivers/media/platform/verisilicon/hantro_hevc.c
176
int hantro_hevc_dec_prepare_run(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_hevc.c
215
void hantro_hevc_dec_exit(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_hevc.c
251
int hantro_hevc_dec_init(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_hevc.c
33
void hantro_hevc_ref_init(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_hevc.c
40
dma_addr_t hantro_hevc_get_ref_buf(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_hevc.c
57
int hantro_hevc_add_ref_buf(struct hantro_ctx *ctx, int poc, dma_addr_t addr)
drivers/media/platform/verisilicon/hantro_hevc.c
75
static int tile_buffer_reallocate(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_hw.h
363
void (*enable)(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
364
void (*disable)(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
365
int (*enum_framesizes)(struct hantro_ctx *ctx, struct v4l2_frmsizeenum *fsize);
drivers/media/platform/verisilicon/hantro_hw.h
383
int (*init)(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
384
void (*exit)(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
385
int (*run)(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
386
void (*done)(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
387
void (*reset)(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
430
void hantro_run(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
433
void hantro_start_prepare_run(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
434
void hantro_end_prepare_run(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
437
void hantro_g1_reset(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
439
int hantro_h1_jpeg_enc_run(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
440
int rockchip_vpu2_jpeg_enc_run(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
441
void hantro_h1_jpeg_enc_done(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
442
void rockchip_vpu2_jpeg_enc_done(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
444
dma_addr_t hantro_h264_get_ref_buf(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_hw.h
446
u16 hantro_h264_get_ref_nbr(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_hw.h
448
int hantro_h264_dec_prepare_run(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
449
int rockchip_vpu2_h264_dec_run(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
450
int hantro_g1_h264_dec_run(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
451
int hantro_h264_dec_init(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
452
void hantro_h264_dec_exit(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
454
int hantro_hevc_dec_init(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
455
void hantro_hevc_dec_exit(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
456
int hantro_g2_hevc_dec_run(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
457
int hantro_hevc_dec_prepare_run(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
458
void hantro_hevc_ref_init(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
459
dma_addr_t hantro_hevc_get_ref_buf(struct hantro_ctx *ctx, s32 poc);
drivers/media/platform/verisilicon/hantro_hw.h
460
int hantro_hevc_add_ref_buf(struct hantro_ctx *ctx, int poc, dma_addr_t addr);
drivers/media/platform/verisilicon/hantro_hw.h
462
int rockchip_vpu981_av1_dec_init(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
463
void rockchip_vpu981_av1_dec_exit(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
464
int rockchip_vpu981_av1_dec_run(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
465
void rockchip_vpu981_av1_dec_done(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
53
struct hantro_ctx;
drivers/media/platform/verisilicon/hantro_hw.h
562
size_t hantro_g2_chroma_offset(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
563
size_t hantro_g2_motion_vectors_offset(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
564
size_t hantro_g2_luma_compress_offset(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
565
size_t hantro_g2_chroma_compress_offset(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
567
int hantro_g1_mpeg2_dec_run(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
568
int rockchip_vpu2_mpeg2_dec_run(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
571
int hantro_mpeg2_dec_init(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
572
void hantro_mpeg2_dec_exit(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
574
int hantro_g1_vp8_dec_run(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
575
int rockchip_vpu2_vp8_dec_run(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
576
int hantro_vp8_dec_init(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
577
void hantro_vp8_dec_exit(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
578
void hantro_vp8_prob_update(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_hw.h
581
int hantro_g2_vp9_dec_run(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
582
void hantro_g2_vp9_dec_done(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
583
int hantro_vp9_dec_init(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
584
void hantro_vp9_dec_exit(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_hw.h
586
void hantro_g2_reset(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_mpeg2.c
38
int hantro_mpeg2_dec_init(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_mpeg2.c
53
void hantro_mpeg2_dec_exit(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_postproc.c
112
static int down_scale_factor(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_postproc.c
120
static void hantro_postproc_g2_enable(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_postproc.c
161
static int hantro_postproc_g2_enum_framesizes(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_postproc.c
181
void hantro_postproc_free(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_postproc.c
199
static unsigned int hantro_postproc_buffer_size(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_postproc.c
224
static int hantro_postproc_alloc(struct hantro_ctx *ctx, int index)
drivers/media/platform/verisilicon/hantro_postproc.c
247
int hantro_postproc_init(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_postproc.c
267
hantro_postproc_get_dec_buf_addr(struct hantro_ctx *ctx, int index)
drivers/media/platform/verisilicon/hantro_postproc.c
294
static void hantro_postproc_g1_disable(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_postproc.c
301
static void hantro_postproc_g2_disable(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_postproc.c
308
void hantro_postproc_disable(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_postproc.c
316
void hantro_postproc_enable(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_postproc.c
324
int hanto_postproc_enum_framesizes(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_postproc.c
57
bool hantro_needs_postproc(const struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_postproc.c
69
static void hantro_postproc_g1_enable(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_v4l2.c
1006
struct hantro_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
drivers/media/platform/verisilicon/hantro_v4l2.c
113
hantro_find_format(const struct hantro_ctx *ctx, u32 fourcc)
drivers/media/platform/verisilicon/hantro_v4l2.c
131
hantro_set_reference_frames_format(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_v4l2.c
149
hantro_get_default_fmt(const struct hantro_ctx *ctx, bool bitstream,
drivers/media/platform/verisilicon/hantro_v4l2.c
188
struct hantro_ctx *ctx = file_to_ctx(file);
drivers/media/platform/verisilicon/hantro_v4l2.c
220
struct hantro_ctx *ctx = file_to_ctx(file);
drivers/media/platform/verisilicon/hantro_v4l2.c
300
struct hantro_ctx *ctx = file_to_ctx(file);
drivers/media/platform/verisilicon/hantro_v4l2.c
313
struct hantro_ctx *ctx = file_to_ctx(file);
drivers/media/platform/verisilicon/hantro_v4l2.c
322
static int hantro_try_fmt(const struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_v4l2.c
33
static int hantro_set_fmt_out(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_v4l2.c
36
static int hantro_set_fmt_cap(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_v4l2.c
40
hantro_get_formats(const struct hantro_ctx *ctx, unsigned int *num_fmts, bool need_postproc)
drivers/media/platform/verisilicon/hantro_v4l2.c
425
hantro_reset_encoded_fmt(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_v4l2.c
444
hantro_reset_raw_fmt(struct hantro_ctx *ctx, int bit_depth, bool need_postproc)
drivers/media/platform/verisilicon/hantro_v4l2.c
477
void hantro_reset_fmts(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_v4l2.c
484
hantro_update_requires_request(struct hantro_ctx *ctx, u32 fourcc)
drivers/media/platform/verisilicon/hantro_v4l2.c
503
hantro_update_requires_hold_capture_buf(struct hantro_ctx *ctx, u32 fourcc)
drivers/media/platform/verisilicon/hantro_v4l2.c
526
static int hantro_set_fmt_out(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_v4l2.c
589
static int hantro_set_fmt_cap(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_v4l2.c
61
hantro_get_postproc_formats(const struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_v4l2.c
663
struct hantro_ctx *ctx = file_to_ctx(file);
drivers/media/platform/verisilicon/hantro_v4l2.c
693
struct hantro_ctx *ctx = file_to_ctx(file);
drivers/media/platform/verisilicon/hantro_v4l2.c
739
struct hantro_ctx *ctx = file_to_ctx(file);
drivers/media/platform/verisilicon/hantro_v4l2.c
807
struct hantro_ctx *ctx = vb2_get_drv_priv(vq);
drivers/media/platform/verisilicon/hantro_v4l2.c
860
struct hantro_ctx *ctx = vb2_get_drv_priv(vq);
drivers/media/platform/verisilicon/hantro_v4l2.c
888
struct hantro_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
drivers/media/platform/verisilicon/hantro_v4l2.c
912
struct hantro_ctx *ctx = vb2_get_drv_priv(q);
drivers/media/platform/verisilicon/hantro_v4l2.c
919
struct hantro_ctx *ctx = vb2_get_drv_priv(q);
drivers/media/platform/verisilicon/hantro_v4l2.c
963
struct hantro_ctx *ctx = vb2_get_drv_priv(q);
drivers/media/platform/verisilicon/hantro_v4l2.c
979
struct hantro_ctx *ctx = vb2_get_drv_priv(q);
drivers/media/platform/verisilicon/hantro_v4l2.h
27
int hantro_reset_raw_fmt(struct hantro_ctx *ctx, int bit_depth, bool need_postproc);
drivers/media/platform/verisilicon/hantro_v4l2.h
28
void hantro_reset_fmts(struct hantro_ctx *ctx);
drivers/media/platform/verisilicon/hantro_v4l2.h
31
hantro_get_default_fmt(const struct hantro_ctx *ctx, bool bitstream,
drivers/media/platform/verisilicon/hantro_vp8.c
145
int hantro_vp8_dec_init(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_vp8.c
192
void hantro_vp8_dec_exit(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_vp8.c
49
void hantro_vp8_prob_update(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/hantro_vp9.c
117
static void init_v4l2_vp9_count_tbl(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_vp9.c
158
int hantro_vp9_dec_init(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/hantro_vp9.c
229
void hantro_vp9_dec_exit(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/imx8m_vpu_hw.c
244
static void imx8m_vpu_g1_reset(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_av1_entropymode.c
4401
void rockchip_av1_get_cdfs(struct hantro_ctx *ctx, u32 ref_idx)
drivers/media/platform/verisilicon/rockchip_av1_entropymode.c
4409
void rockchip_av1_store_cdfs(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/rockchip_av1_entropymode.h
265
void rockchip_av1_store_cdfs(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/rockchip_av1_entropymode.h
267
void rockchip_av1_get_cdfs(struct hantro_ctx *ctx, u32 ref_idx);
drivers/media/platform/verisilicon/rockchip_av1_entropymode.h
8
struct hantro_ctx;
drivers/media/platform/verisilicon/rockchip_vpu2_hw_h264_dec.c
193
static void set_params(struct hantro_ctx *ctx, struct vb2_v4l2_buffer *src_buf)
drivers/media/platform/verisilicon/rockchip_vpu2_hw_h264_dec.c
299
static void set_ref(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu2_hw_h264_dec.c
422
static void set_buffers(struct hantro_ctx *ctx, struct vb2_v4l2_buffer *src_buf)
drivers/media/platform/verisilicon/rockchip_vpu2_hw_h264_dec.c
467
int rockchip_vpu2_h264_dec_run(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu2_hw_jpeg_enc.c
132
int rockchip_vpu2_jpeg_enc_run(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu2_hw_jpeg_enc.c
189
void rockchip_vpu2_jpeg_enc_done(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu2_hw_jpeg_enc.c
36
struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu2_hw_jpeg_enc.c
68
struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/rockchip_vpu2_hw_mpeg2_dec.c
151
int rockchip_vpu2_mpeg2_dec_run(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu2_hw_mpeg2_dec.c
84
struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu2_hw_mpeg2_dec.c
95
struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/rockchip_vpu2_hw_vp8_dec.c
275
static void cfg_lf(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/rockchip_vpu2_hw_vp8_dec.c
314
static void cfg_qp(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/rockchip_vpu2_hw_vp8_dec.c
344
static void cfg_parts(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/rockchip_vpu2_hw_vp8_dec.c
427
static void cfg_tap(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/rockchip_vpu2_hw_vp8_dec.c
446
static void cfg_ref(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/rockchip_vpu2_hw_vp8_dec.c
482
static void cfg_buffers(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/rockchip_vpu2_hw_vp8_dec.c
509
int rockchip_vpu2_vp8_dec_run(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
1044
static bool rockchip_vpu981_av1_dec_is_lossless(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
1073
static void rockchip_vpu981_av1_dec_set_loopfilter(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
1131
static void rockchip_vpu981_av1_dec_update_prob(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
1161
void rockchip_vpu981_av1_dec_done(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
1166
static void rockchip_vpu981_av1_dec_set_prob(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
118
static int rockchip_vpu981_get_frame_index(struct hantro_ctx *ctx, int ref)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
1231
static void rockchip_vpu981_av1_dec_set_fgs(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
1396
static void rockchip_vpu981_av1_dec_set_cdef(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
140
static int rockchip_vpu981_get_order_hint(struct hantro_ctx *ctx, int ref)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
1446
static void rockchip_vpu981_av1_dec_set_lr(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
1477
static void rockchip_vpu981_av1_dec_set_superres_params(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
151
static int rockchip_vpu981_av1_dec_frame_ref(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
1576
static void rockchip_vpu981_av1_dec_set_picture_dimensions(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
1597
static void rockchip_vpu981_av1_dec_set_other_frames(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
185
static void rockchip_vpu981_av1_dec_frame_unref(struct hantro_ctx *ctx, int idx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
1869
static void rockchip_vpu981_av1_dec_set_reference_frames(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
193
static void rockchip_vpu981_av1_dec_clean_refs(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
1960
static void rockchip_vpu981_av1_dec_set_parameters(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
2078
rockchip_vpu981_av1_dec_set_input_buffer(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
2105
rockchip_vpu981_av1_dec_set_output_buffer(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
2129
int rockchip_vpu981_av1_dec_run(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
217
static size_t rockchip_vpu981_av1_dec_luma_size(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
2200
static void rockchip_vpu981_postproc_enable(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
222
static size_t rockchip_vpu981_av1_dec_chroma_size(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
2257
static void rockchip_vpu981_postproc_disable(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
229
static void rockchip_vpu981_av1_dec_tiles_free(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
262
static int rockchip_vpu981_av1_dec_tiles_reallocate(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
328
void rockchip_vpu981_av1_dec_exit(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
370
int rockchip_vpu981_av1_dec_init(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
430
static int rockchip_vpu981_av1_dec_prepare_run(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
517
static void rockchip_vpu981_av1_dec_set_global_model(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
574
static void rockchip_vpu981_av1_dec_set_tile_info(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
643
static int rockchip_vpu981_av1_dec_get_dist(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
661
static void rockchip_vpu981_av1_dec_set_frame_sign_bias(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
688
rockchip_vpu981_av1_dec_set_ref(struct hantro_ctx *ctx, int ref, int idx,
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
764
static void rockchip_vpu981_av1_dec_set_sign_bias(struct hantro_ctx *ctx,
drivers/media/platform/verisilicon/rockchip_vpu981_hw_av1_dec.c
797
static void rockchip_vpu981_av1_dec_set_segmentation(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu_hw.c
463
static void rk3066_vpu_dec_reset(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu_hw.c
471
static void rockchip_vpu1_enc_reset(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu_hw.c
480
static void rockchip_vpu2_dec_reset(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/rockchip_vpu_hw.c
489
static void rockchip_vpu2_enc_reset(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/stm32mp25_vpu_hw.c
114
static void stm32mp25_venc_reset(struct hantro_ctx *ctx)
drivers/media/platform/verisilicon/sunxi_vpu_hw.c
90
static void sunxi_vpu_reset(struct hantro_ctx *ctx)