Home
last modified time | relevance | path

Searched refs:amvdec_session (Results 1 – 13 of 13) sorted by relevance

/drivers/staging/media/meson/vdec/
Dvdec.h47 struct amvdec_session;
90 struct amvdec_session *cur_sess;
105 int (*start)(struct amvdec_session *sess);
106 int (*stop)(struct amvdec_session *sess);
107 void (*conf_esparser)(struct amvdec_session *sess);
108 u32 (*vififo_level)(struct amvdec_session *sess);
129 int (*start)(struct amvdec_session *sess);
130 int (*stop)(struct amvdec_session *sess);
131 int (*load_extended_firmware)(struct amvdec_session *sess,
133 u32 (*num_pending_bufs)(struct amvdec_session *sess);
[all …]
Dvdec_helpers.h19 int amvdec_set_canvases(struct amvdec_session *sess,
42 void amvdec_dst_buf_done_idx(struct amvdec_session *sess, u32 buf_idx,
44 void amvdec_dst_buf_done(struct amvdec_session *sess,
46 void amvdec_dst_buf_done_offset(struct amvdec_session *sess,
58 int amvdec_add_ts(struct amvdec_session *sess, u64 ts,
60 void amvdec_remove_ts(struct amvdec_session *sess, u64 ts);
69 void amvdec_set_par_from_dar(struct amvdec_session *sess,
80 void amvdec_src_change(struct amvdec_session *sess, u32 width,
88 void amvdec_abort(struct amvdec_session *sess);
Dvdec.c40 u32 amvdec_get_output_size(struct amvdec_session *sess) in amvdec_get_output_size()
46 static int vdec_codec_needs_recycle(struct amvdec_session *sess) in vdec_codec_needs_recycle()
55 struct amvdec_session *sess = data; in vdec_recycle_thread()
78 static int vdec_poweron(struct amvdec_session *sess) in vdec_poweron()
107 static void vdec_wait_inactive(struct amvdec_session *sess) in vdec_wait_inactive()
115 static void vdec_poweroff(struct amvdec_session *sess) in vdec_poweroff()
131 vdec_queue_recycle(struct amvdec_session *sess, struct vb2_buffer *vb) in vdec_queue_recycle()
147 struct amvdec_session *sess = priv; in vdec_m2m_device_run()
154 struct amvdec_session *sess = priv; in vdec_m2m_job_abort()
165 struct amvdec_session *sess, in process_num_buffers()
[all …]
Dcodec_hevc_common.h55 void codec_hevc_setup_decode_head(struct amvdec_session *sess, int is_10bit);
57 void codec_hevc_free_fbc_buffers(struct amvdec_session *sess,
60 void codec_hevc_free_mmu_headers(struct amvdec_session *sess,
63 int codec_hevc_setup_buffers(struct amvdec_session *sess,
67 void codec_hevc_fill_mmu_map(struct amvdec_session *sess,
Dcodec_hevc_common.c30 void codec_hevc_setup_decode_head(struct amvdec_session *sess, int is_10bit) in codec_hevc_setup_decode_head()
56 static void codec_hevc_setup_buffers_gxbb(struct amvdec_session *sess, in codec_hevc_setup_buffers_gxbb()
111 static void codec_hevc_setup_buffers_gxl(struct amvdec_session *sess, in codec_hevc_setup_buffers_gxl()
153 void codec_hevc_free_fbc_buffers(struct amvdec_session *sess, in codec_hevc_free_fbc_buffers()
171 static int codec_hevc_alloc_fbc_buffers(struct amvdec_session *sess, in codec_hevc_alloc_fbc_buffers()
195 void codec_hevc_free_mmu_headers(struct amvdec_session *sess, in codec_hevc_free_mmu_headers()
219 static int codec_hevc_alloc_mmu_headers(struct amvdec_session *sess, in codec_hevc_alloc_mmu_headers()
248 int codec_hevc_setup_buffers(struct amvdec_session *sess, in codec_hevc_setup_buffers()
279 void codec_hevc_fill_mmu_map(struct amvdec_session *sess, in codec_hevc_fill_mmu_map()
Dvdec_helpers.c80 static int canvas_alloc(struct amvdec_session *sess, u8 *canvas_id) in canvas_alloc()
97 static int set_canvas_yuv420m(struct amvdec_session *sess, in set_canvas_yuv420m()
141 static int set_canvas_nv12m(struct amvdec_session *sess, in set_canvas_nv12m()
179 int amvdec_set_canvases(struct amvdec_session *sess, in amvdec_set_canvases()
230 int amvdec_add_ts(struct amvdec_session *sess, u64 ts, in amvdec_add_ts()
252 void amvdec_remove_ts(struct amvdec_session *sess, u64 ts) in amvdec_remove_ts()
273 static void dst_buf_done(struct amvdec_session *sess, in dst_buf_done()
323 void amvdec_dst_buf_done(struct amvdec_session *sess, in amvdec_dst_buf_done()
357 void amvdec_dst_buf_done_offset(struct amvdec_session *sess, in amvdec_dst_buf_done_offset()
406 void amvdec_dst_buf_done_idx(struct amvdec_session *sess, in amvdec_dst_buf_done_idx()
[all …]
Dcodec_h264.c166 static int codec_h264_start(struct amvdec_session *sess) in codec_h264_start()
203 static int codec_h264_stop(struct amvdec_session *sess) in codec_h264_stop()
227 static int codec_h264_load_extended_firmware(struct amvdec_session *sess, in codec_h264_load_extended_firmware()
262 static void codec_h264_set_par(struct amvdec_session *sess) in codec_h264_set_par()
285 static void codec_h264_resume(struct amvdec_session *sess) in codec_h264_resume()
324 static void codec_h264_src_change(struct amvdec_session *sess) in codec_h264_src_change()
375 static void codec_h264_frames_ready(struct amvdec_session *sess, u32 status) in codec_h264_frames_ready()
417 static irqreturn_t codec_h264_threaded_isr(struct amvdec_session *sess) in codec_h264_threaded_isr()
466 static irqreturn_t codec_h264_isr(struct amvdec_session *sess) in codec_h264_isr()
Dvdec_1.c26 vdec_1_load_firmware(struct amvdec_session *sess, const char *fwname) in vdec_1_load_firmware()
86 static int vdec_1_stbuf_power_up(struct amvdec_session *sess) in vdec_1_stbuf_power_up()
115 static void vdec_1_conf_esparser(struct amvdec_session *sess) in vdec_1_conf_esparser()
125 static u32 vdec_1_vififo_level(struct amvdec_session *sess) in vdec_1_vififo_level()
132 static int vdec_1_stop(struct amvdec_session *sess) in vdec_1_stop()
169 static int vdec_1_start(struct amvdec_session *sess) in vdec_1_start()
Dvdec_hevc.c26 static int vdec_hevc_load_firmware(struct amvdec_session *sess, in vdec_hevc_load_firmware()
80 static void vdec_hevc_stbuf_init(struct amvdec_session *sess) in vdec_hevc_stbuf_init()
94 static void vdec_hevc_conf_esparser(struct amvdec_session *sess) in vdec_hevc_conf_esparser()
108 static u32 vdec_hevc_vififo_level(struct amvdec_session *sess) in vdec_hevc_vififo_level()
113 static int vdec_hevc_stop(struct amvdec_session *sess) in vdec_hevc_stop()
154 static int vdec_hevc_start(struct amvdec_session *sess) in vdec_hevc_start()
Dcodec_mpeg12.c63 static int codec_mpeg12_start(struct amvdec_session *sess) in codec_mpeg12_start()
117 static int codec_mpeg12_stop(struct amvdec_session *sess) in codec_mpeg12_stop()
130 static void codec_mpeg12_update_dar(struct amvdec_session *sess) in codec_mpeg12_update_dar()
153 static irqreturn_t codec_mpeg12_threaded_isr(struct amvdec_session *sess) in codec_mpeg12_threaded_isr()
197 static irqreturn_t codec_mpeg12_isr(struct amvdec_session *sess) in codec_mpeg12_isr()
Desparser.c236 static u32 esparser_vififo_get_free_space(struct amvdec_session *sess) in esparser_vififo_get_free_space()
276 static u32 esparser_get_offset(struct amvdec_session *sess) in esparser_get_offset()
292 esparser_queue(struct amvdec_session *sess, struct vb2_v4l2_buffer *vbuf) in esparser_queue()
377 struct amvdec_session *sess = in esparser_queue_all_src()
378 container_of(work, struct amvdec_session, esparser_queue_work); in esparser_queue_all_src()
391 int esparser_power_up(struct amvdec_session *sess) in esparser_power_up()
Dcodec_vp9.c664 static void codec_vp9_flush_output(struct amvdec_session *sess) in codec_vp9_flush_output()
687 static u32 codec_vp9_num_pending_bufs(struct amvdec_session *sess) in codec_vp9_num_pending_bufs()
712 static void codec_vp9_setup_workspace(struct amvdec_session *sess, in codec_vp9_setup_workspace()
757 static int codec_vp9_start(struct amvdec_session *sess) in codec_vp9_start()
840 static int codec_vp9_stop(struct amvdec_session *sess) in codec_vp9_stop()
861 static void codec_vp9_set_mcrcc(struct amvdec_session *sess) in codec_vp9_set_mcrcc()
887 static void codec_vp9_set_sao(struct amvdec_session *sess, in codec_vp9_set_sao()
1119 static void codec_vp9_set_refs(struct amvdec_session *sess, in codec_vp9_set_refs()
1146 static void codec_vp9_set_mc(struct amvdec_session *sess, in codec_vp9_set_mc()
1188 static struct vp9_frame *codec_vp9_get_new_frame(struct amvdec_session *sess) in codec_vp9_get_new_frame()
[all …]
Desparser.h15 int esparser_power_up(struct amvdec_session *sess);