/openbmc/linux/drivers/staging/media/meson/vdec/ |
H A D | vdec.h | 47 struct amvdec_session; 92 struct amvdec_session *cur_sess; 107 int (*start)(struct amvdec_session *sess); 108 int (*stop)(struct amvdec_session *sess); 110 u32 (*vififo_level)(struct amvdec_session *sess); 132 int (*start)(struct amvdec_session *sess); 133 int (*stop)(struct amvdec_session *sess); 139 void (*drain)(struct amvdec_session *sess); 140 void (*resume)(struct amvdec_session *sess); 142 irqreturn_t (*isr)(struct amvdec_session *sess); [all …]
|
H A D | vdec_helpers.h | 19 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 D | codec_hevc_common.h | 53 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 D | vdec.c | 55 struct amvdec_session *sess = data; in vdec_recycle_thread() 165 struct amvdec_session *sess, in process_num_buffers() 562 struct amvdec_session *sess = in vdec_try_fmt() 572 struct amvdec_session *sess = in vdec_g_fmt() 600 struct amvdec_session *sess = in vdec_s_fmt() 662 struct amvdec_session *sess = in vdec_enum_fmt() 692 struct amvdec_session *sess = in vdec_enum_framesizes() 717 struct amvdec_session *sess = in vdec_decoder_cmd() 777 struct amvdec_session *sess = in vdec_g_pixelaspect() 875 struct amvdec_session *sess; in vdec_open() [all …]
|
H A D | vdec_helpers.c | 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() 429 void amvdec_set_par_from_dar(struct amvdec_session *sess, in amvdec_set_par_from_dar() [all …]
|
H A D | codec_hevc_common.c | 30 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 D | vdec_1.c | 26 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()
|
H A D | vdec_hevc.c | 26 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()
|
H A D | codec_h264.c | 166 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 D | codec_mpeg12.c | 63 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 D | esparser.c | 235 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 D | esparser.h | 15 int esparser_power_up(struct amvdec_session *sess);
|
H A D | codec_vp9.c | 664 static void codec_vp9_flush_output(struct amvdec_session *sess) in codec_vp9_flush_output() 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() 1340 static void codec_vp9_resume(struct amvdec_session *sess) in codec_vp9_resume() 1363 static void codec_vp9_fetch_rpm(struct amvdec_session *sess) in codec_vp9_fetch_rpm() 1417 static void codec_vp9_show_frame(struct amvdec_session *sess) in codec_vp9_show_frame() [all …]
|