Home
last modified time | relevance | path

Searched refs:mtk_vcodec_dec_ctx (Results 1 – 25 of 25) sorted by relevance

/linux/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_dbgfs.h11 struct mtk_vcodec_dec_ctx;
25 * @vcodec_ctx: struct mtk_vcodec_dec_ctx
30 struct mtk_vcodec_dec_ctx *vcodec_ctx;
53 void mtk_vcodec_dbgfs_create(struct mtk_vcodec_dec_ctx *ctx);
58 static inline void mtk_vcodec_dbgfs_create(struct mtk_vcodec_dec_ctx *ctx) in mtk_vcodec_dbgfs_create()
H A Dmtk_vcodec_util.c34 int mtk_vcodec_write_vdecsys(struct mtk_vcodec_dec_ctx *ctx, unsigned int reg, in mtk_vcodec_write_vdecsys()
60 struct mtk_vcodec_dec_ctx *dec_ctx = priv; in mtk_vcodec_mem_alloc()
93 struct mtk_vcodec_dec_ctx *dec_ctx = priv; in mtk_vcodec_mem_free()
128 struct mtk_vcodec_dec_ctx *ctx, int hw_idx) in mtk_vcodec_set_curr_ctx()
149 struct mtk_vcodec_dec_ctx *mtk_vcodec_get_curr_ctx(struct mtk_vcodec_dec_dev *vdec_dev, in mtk_vcodec_get_curr_ctx()
153 struct mtk_vcodec_dec_ctx *ctx; in mtk_vcodec_get_curr_ctx()
H A Dmtk_vcodec_util.h28 struct mtk_vcodec_dec_ctx;
66 int mtk_vcodec_write_vdecsys(struct mtk_vcodec_dec_ctx *ctx, unsigned int reg, unsigned int val);
70 struct mtk_vcodec_dec_ctx *ctx, int hw_idx);
71 struct mtk_vcodec_dec_ctx *mtk_vcodec_get_curr_ctx(struct mtk_vcodec_dec_dev *vdec_dev,
H A Dmtk_vcodec_dbgfs.c14 static void mtk_vdec_dbgfs_get_format_type(struct mtk_vcodec_dec_ctx *ctx, char *buf, in mtk_vdec_dbgfs_get_format_type()
95 struct mtk_vcodec_dec_ctx *ctx; in mtk_vdec_dbgfs_read()
147 void mtk_vcodec_dbgfs_create(struct mtk_vcodec_dec_ctx *ctx) in mtk_vcodec_dbgfs_create()
H A Dmtk_vcodec_intr.h12 struct mtk_vcodec_dec_ctx;
H A Dmtk_vcodec_intr.c25 struct mtk_vcodec_dec_ctx *ctx; in mtk_vcodec_wait_for_done_ctx()
H A Dmtk_vcodec_fw_vpu.c49 struct mtk_vcodec_dec_ctx *ctx; in mtk_vcodec_vpu_reset_dec_handler()
/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_drv_if.h70 int vdec_if_init(struct mtk_vcodec_dec_ctx *ctx, unsigned int fourcc);
77 void vdec_if_deinit(struct mtk_vcodec_dec_ctx *ctx);
91 int vdec_if_decode(struct mtk_vcodec_dec_ctx *ctx, struct mtk_vcodec_mem *bs,
100 int vdec_if_get_param(struct mtk_vcodec_dec_ctx *ctx, enum vdec_get_param_type type,
H A Dmtk_vcodec_dec_stateless.c245 static void mtk_vdec_stateless_cap_to_disp(struct mtk_vcodec_dec_ctx *ctx, int error, in mtk_vdec_stateless_cap_to_disp()
269 static struct vdec_fb *vdec_get_cap_buffer(struct mtk_vcodec_dec_ctx *ctx) in vdec_get_cap_buffer()
306 struct mtk_vcodec_dec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vb2ops_vdec_buf_request_complete()
313 struct mtk_vcodec_dec_ctx *ctx = in mtk_vdec_worker()
314 container_of(work, struct mtk_vcodec_dec_ctx, decode_work); in mtk_vdec_worker()
389 struct mtk_vcodec_dec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vb2ops_vdec_stateless_buf_queue()
410 static int mtk_vdec_flush_decoder(struct mtk_vcodec_dec_ctx *ctx) in mtk_vdec_flush_decoder()
417 static int mtk_vcodec_get_pic_info(struct mtk_vcodec_dec_ctx *ctx) in mtk_vcodec_get_pic_info()
455 struct mtk_vcodec_dec_ctx *ctx = ctrl_to_dec_ctx(ctrl); in mtk_vdec_s_ctrl()
550 struct mtk_vcodec_dec_ctx *ct in mtk_vcodec_dec_fill_h264_level()
[all...]
H A Dmtk_vcodec_dec_stateful.c55 static struct vb2_buffer *get_display_buffer(struct mtk_vcodec_dec_ctx *ctx) in get_display_buffer()
98 static struct vb2_buffer *get_free_buffer(struct mtk_vcodec_dec_ctx *ctx) in get_free_buffer()
173 static void clean_display_buffer(struct mtk_vcodec_dec_ctx *ctx) in clean_display_buffer()
179 static void clean_free_buffer(struct mtk_vcodec_dec_ctx *ctx) in clean_free_buffer()
185 static void mtk_vdec_queue_res_chg_event(struct mtk_vcodec_dec_ctx *ctx) in mtk_vdec_queue_res_chg_event()
196 static int mtk_vdec_flush_decoder(struct mtk_vcodec_dec_ctx *ctx) in mtk_vdec_flush_decoder()
211 static void mtk_vdec_update_fmt(struct mtk_vcodec_dec_ctx *ctx, in mtk_vdec_update_fmt()
232 static int mtk_vdec_pic_info_update(struct mtk_vcodec_dec_ctx *ctx) in mtk_vdec_pic_info_update()
277 struct mtk_vcodec_dec_ctx *ctx = in mtk_vdec_worker()
278 container_of(work, struct mtk_vcodec_dec_ctx, decode_wor in mtk_vdec_worker()
[all...]
H A Dvdec_drv_if.c17 int vdec_if_init(struct mtk_vcodec_dec_ctx *ctx, unsigned int fourcc) in vdec_if_init()
71 int vdec_if_decode(struct mtk_vcodec_dec_ctx *ctx, struct mtk_vcodec_mem *bs, in vdec_if_decode()
103 int vdec_if_get_param(struct mtk_vcodec_dec_ctx *ctx, enum vdec_get_param_type type, in vdec_if_get_param()
118 void vdec_if_deinit(struct mtk_vcodec_dec_ctx *ctx) in vdec_if_deinit()
H A Dmtk_vcodec_dec_pm.h14 void mtk_vcodec_dec_enable_hardware(struct mtk_vcodec_dec_ctx *ctx, int hw_idx);
15 void mtk_vcodec_dec_disable_hardware(struct mtk_vcodec_dec_ctx *ctx, int hw_idx);
H A Dmtk_vcodec_dec_pm.c144 static void mtk_vcodec_load_racing_info(struct mtk_vcodec_dec_ctx *ctx) in mtk_vcodec_load_racing_info()
158 static void mtk_vcodec_record_racing_info(struct mtk_vcodec_dec_ctx *ctx) in mtk_vcodec_record_racing_info()
232 void mtk_vcodec_dec_enable_hardware(struct mtk_vcodec_dec_ctx *ctx, int hw_idx) in mtk_vcodec_dec_enable_hardware()
248 void mtk_vcodec_dec_disable_hardware(struct mtk_vcodec_dec_ctx *ctx, int hw_idx) in mtk_vcodec_dec_disable_hardware()
H A Dvdec_drv_base.h18 int (*init)(struct mtk_vcodec_dec_ctx *ctx);
H A Dmtk_vcodec_dec_hw.h52 struct mtk_vcodec_dec_ctx *curr_ctx;
H A Dmtk_vcodec_dec_hw.c67 struct mtk_vcodec_dec_ctx *ctx; in mtk_vdec_hw_irq_handler()
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_vp8_req_if.c102 struct mtk_vcodec_dec_ctx *ctx;
107 static void *vdec_vp8_slice_get_ctrl_ptr(struct mtk_vcodec_dec_ctx *ctx, int id) in vdec_vp8_slice_get_ctrl_ptr()
119 struct mtk_vcodec_dec_ctx *ctx = inst->ctx; in vdec_vp8_slice_get_pic_info()
234 struct mtk_vcodec_dec_ctx *ctx = inst->ctx; in vdec_vp8_slice_get_decode_parameters()
273 static int vdec_vp8_slice_init(struct mtk_vcodec_dec_ctx *ctx) in vdec_vp8_slice_init()
H A Dvdec_hevc_req_multi_if.c346 * @ctx: point to mtk_vcodec_dec_ctx
361 struct mtk_vcodec_dec_ctx *ctx;
382 static void *vdec_hevc_get_ctrl_ptr(struct mtk_vcodec_dec_ctx *ctx, int id) in vdec_hevc_get_ctrl_ptr()
392 static void vdec_hevc_fill_dpb_info(struct mtk_vcodec_dec_ctx *ctx, in vdec_hevc_fill_dpb_info()
681 struct mtk_vcodec_dec_ctx *ctx = inst->ctx; in vdec_hevc_slice_get_pic_info()
800 struct mtk_vcodec_dec_ctx *ctx = inst->ctx; in vdec_hevc_slice_setup_core_buffer()
855 static int vdec_hevc_slice_init(struct mtk_vcodec_dec_ctx *ctx) in vdec_hevc_slice_init()
926 struct mtk_vcodec_dec_ctx *ctx = lat_buf->ctx; in vdec_hevc_slice_core_decode()
H A Dvdec_h264_req_if.c76 * @ctx : point to mtk_vcodec_dec_ctx
86 struct mtk_vcodec_dec_ctx *ctx;
222 struct mtk_vcodec_dec_ctx *ctx = inst->ctx; in get_pic_info()
271 static int vdec_h264_slice_init(struct mtk_vcodec_dec_ctx *ctx) in vdec_h264_slice_init()
H A Dvdec_av1_req_lat_if.c708 struct mtk_vcodec_dec_ctx *ctx;
758 static void *vdec_av1_get_ctrl_ptr(struct mtk_vcodec_dec_ctx *ctx, int id) in vdec_av1_get_ctrl_ptr()
771 struct mtk_vcodec_dec_ctx *ctx; in vdec_av1_slice_init_cdf_table()
802 struct mtk_vcodec_dec_ctx *ctx; in vdec_av1_slice_init_iq_table()
939 struct mtk_vcodec_dec_ctx *ctx = instance->ctx; in vdec_av1_slice_alloc_working_buffer()
1022 struct mtk_vcodec_dec_ctx *ctx = instance->ctx; in vdec_av1_slice_free_working_buffer()
1878 static int vdec_av1_slice_init(struct mtk_vcodec_dec_ctx *ctx) in vdec_av1_slice_init()
1976 struct mtk_vcodec_dec_ctx *ctx = instance->ctx; in vdec_av1_slice_get_pic_info()
2002 struct mtk_vcodec_dec_ctx *ctx = instance->ctx; in vdec_av1_slice_get_crop_info()
2042 struct mtk_vcodec_dec_ctx *ct in vdec_av1_slice_lat_decode()
[all...]
H A Dvdec_vp9_if.c200 struct mtk_vcodec_dec_ctx *ctx;
536 struct mtk_vcodec_dec_ctx *ctx = inst->ctx; in vp9_wait_dec_end()
548 static struct vdec_vp9_inst *vp9_alloc_inst(struct mtk_vcodec_dec_ctx *ctx) in vp9_alloc_inst()
776 static int vdec_vp9_init(struct mtk_vcodec_dec_ctx *ctx) in vdec_vp9_init()
H A Dvdec_h264_if.c119 * @ctx : point to mtk_vcodec_dec_ctx
127 struct mtk_vcodec_dec_ctx *ctx;
268 static int vdec_h264_init(struct mtk_vcodec_dec_ctx *ctx) in vdec_h264_init()
H A Dvdec_vp9_req_lat_if.c446 struct mtk_vcodec_dec_ctx *ctx;
507 struct mtk_vcodec_dec_ctx *ctx; in vdec_vp9_slice_init_default_frame_ctx()
544 struct mtk_vcodec_dec_ctx *ctx = instance->ctx; in vdec_vp9_slice_alloc_working_buffer()
636 struct mtk_vcodec_dec_ctx *ctx = instance->ctx; in vdec_vp9_slice_free_working_buffer()
1847 static int vdec_vp9_slice_init(struct mtk_vcodec_dec_ctx *ctx) in vdec_vp9_slice_init()
1930 struct mtk_vcodec_dec_ctx *ctx = instance->ctx; in vdec_vp9_slice_get_pic_info()
1981 struct mtk_vcodec_dec_ctx *ctx; in vdec_vp9_slice_single_decode()
2039 struct mtk_vcodec_dec_ctx *ctx; in vdec_vp9_slice_lat_decode()
2134 struct mtk_vcodec_dec_ctx *ctx = NULL; in vdec_vp9_slice_core_decode()
H A Dvdec_h264_req_multi_if.c215 * @ctx: point to mtk_vcodec_dec_ctx
239 struct mtk_vcodec_dec_ctx *ctx;
438 struct mtk_vcodec_dec_ctx *ctx = inst->ctx; in vdec_h264_slice_get_pic_info()
523 struct mtk_vcodec_dec_ctx *ctx = inst->ctx; in vdec_h264_slice_setup_core_buffer_ext()
581 struct mtk_vcodec_dec_ctx *ctx = lat_buf->ctx; in vdec_h264_slice_core_decode_ext()
631 struct mtk_vcodec_dec_ctx *ctx = lat_buf->ctx; in vdec_h264_slice_core_decode()
1203 static int vdec_h264_slice_init(struct mtk_vcodec_dec_ctx *ctx) in vdec_h264_slice_init()
H A Dvdec_vp8_if.c160 struct mtk_vcodec_dec_ctx *ctx;
388 static int vdec_vp8_init(struct mtk_vcodec_dec_ctx *ctx) in vdec_vp8_init()