Home
last modified time | relevance | path

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

/linux/drivers/staging/media/meson/vdec/
H A Dvdec.h47 struct amvdec_session;
92 struct amvdec_session *cur_sess;
106 int (*start)(struct amvdec_session *sess);
107 int (*stop)(struct amvdec_session *sess);
108 void (*conf_esparser)(struct amvdec_session *sess);
109 u32 (*vififo_level)(struct amvdec_session *sess);
131 int (*start)(struct amvdec_session *sess);
132 int (*stop)(struct amvdec_session *sess);
133 int (*load_extended_firmware)(struct amvdec_session *sess,
135 u32 (*num_pending_bufs)(struct amvdec_session *sess);
[all …]
H A 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,
59 int amvdec_add_ts(struct amvdec_session *sess, u64 ts,
61 void amvdec_remove_ts(struct amvdec_session *sess, u64 ts);
70 void amvdec_set_par_from_dar(struct amvdec_session *sess,
81 void amvdec_src_change(struct amvdec_session *sess, u32 width,
89 void amvdec_abort(struct amvdec_session *sess);
H A Dcodec_hevc_common.h53 void codec_hevc_setup_decode_head(struct amvdec_session *sess, int is_10bit);
55 void codec_hevc_free_fbc_buffers(struct amvdec_session *sess,
58 void codec_hevc_free_mmu_headers(struct amvdec_session *sess,
61 int codec_hevc_setup_buffers(struct amvdec_session *sess,
65 void codec_hevc_fill_mmu_map(struct amvdec_session *sess,
H A 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 void __vdec_hevc_stop(struct amvdec_session *sess) in __vdec_hevc_stop()
147 static int vdec_hevc_stop(struct amvdec_session *sess) in vdec_hevc_stop()
161 static int __vdec_hevc_start(struct amvdec_session *sess) in __vdec_hevc_start()
230 static int vdec_hevc_start(struct amvdec_session *sess) in vdec_hevc_start()
H A 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 …]
H A 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()
H A 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 void __vdec_1_stop(struct amvdec_session *sess) in __vdec_1_stop()
165 static int vdec_1_stop(struct amvdec_session *sess) in vdec_1_stop()
176 static int vdec_1_start(struct amvdec_session *sess) in vdec_1_start()
H A 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()
H A 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()
H A Desparser.c235 static u32 esparser_vififo_get_free_space(struct amvdec_session *sess) in esparser_vififo_get_free_space()
275 static u32 esparser_get_offset(struct amvdec_session *sess) in esparser_get_offset()
291 esparser_queue(struct amvdec_session *sess, struct vb2_v4l2_buffer *vbuf) in esparser_queue()
375 struct amvdec_session *sess = in esparser_queue_all_src()
376 container_of(work, struct amvdec_session, esparser_queue_work); in esparser_queue_all_src()
389 int esparser_power_up(struct amvdec_session *sess) in esparser_power_up()
H A 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 …]
H A Desparser.h15 int esparser_power_up(struct amvdec_session *sess);