Home
last modified time | relevance | path

Searched defs:vdec (Results 1 – 25 of 48) sorted by relevance

12

/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/amvdec_ports/
Daml_vcodec_adapt.c113 static void set_default_params(struct aml_vdec_adapt *vdec) in set_default_params()
197 static void change_vbufsize(struct vdec_s *vdec, in change_vbufsize()
293 struct vdec_s *vdec = ada_ctx->vdec; in video_component_release() local
331 struct vdec_s *vdec = ada_ctx->vdec; in video_component_init() local
412 struct vdec_s *vdec = ada_ctx->vdec; in vdec_ports_release() local
459 static void set_vdec_properity(struct vdec_s *vdec, in set_vdec_properity()
515 struct vdec_s *vdec = NULL; in vdec_ports_init() local
572 int video_decoder_init(struct aml_vdec_adapt *vdec) in video_decoder_init()
589 int video_decoder_release(struct aml_vdec_adapt *vdec) in video_decoder_release()
616 struct vdec_s *vdec = ada_ctx->vdec; in vdec_vbuf_write() local
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/utils/
Dvdec.c184 struct vdec_s *vdec; member
395 static bool vdec_is_input_frame_empty(struct vdec_s *vdec) { in vdec_is_input_frame_empty()
407 static void vdec_up(struct vdec_s *vdec) in vdec_up()
662 static void vdec_disable_DMC(struct vdec_s *vdec) in vdec_disable_DMC()
701 static void vdec_enable_DMC(struct vdec_s *vdec) in vdec_enable_DMC()
765 static void vdec_save_active_hw(struct vdec_s *vdec) in vdec_save_active_hw()
784 struct vdec_s *vdec; in vdec_update_buff_status() local
837 int vdec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vdec_status()
848 int vdec_set_trickmode(struct vdec_s *vdec, unsigned long trickmode) in vdec_set_trickmode()
863 int vdec_set_isreset(struct vdec_s *vdec, int isreset) in vdec_set_isreset()
[all …]
Damvdec.c69 static inline int tee_load_video_fw_swap(uint32_t index, uint32_t vdec, bool is_swap) in tee_load_video_fw_swap()
74 static inline int tee_load_video_fw(uint32_t index, uint32_t vdec) in tee_load_video_fw()
279 static s32 am_vdec_loadmc_ex(struct vdec_s *vdec, in am_vdec_loadmc_ex()
306 static s32 am_vdec_loadmc_buf_ex(struct vdec_s *vdec, in am_vdec_loadmc_buf_ex()
414 unsigned int vdec = OPTEE_VDEC_LEGENCY; local
548 struct vdec_s *vdec, char *def)
558 struct vdec_s *vdec, char *buf, int size)
746 s32 amhevc_vdec_loadmc_ex(enum vformat_e type, struct vdec_s *vdec,
Dvdec_profile.c74 struct vdec_s *vdec; member
147 static void vdec_profile_statistics(struct vdec_s *vdec, int event) in vdec_profile_statistics()
202 void vdec_profile_more(struct vdec_s *vdec, int event, int para1, int para2) in vdec_profile_more()
222 void vdec_profile(struct vdec_s *vdec, int event) in vdec_profile()
231 void vdec_profile_flush(struct vdec_s *vdec) in vdec_profile_flush()
Dvdec_input.c279 void vdec_input_init(struct vdec_input_s *input, struct vdec_s *vdec) in vdec_input_init()
766 struct vdec_s *vdec = input->vdec; in vdec_input_add_chunk() local
944 struct vdec_s *vdec = input->vdec; in vdec_input_add_frame() local
977 struct vdec_s *vdec = input->vdec; in vdec_input_add_frame_with_dma() local
1135 u32 vdec_input_get_freed_handle(struct vdec_s *vdec) in vdec_input_get_freed_handle()
Dframe_check.c883 int decoder_do_frame_check(struct vdec_s *vdec, struct vframe_s *vf) in decoder_do_frame_check()
1152 int vdec_frame_check_init(struct vdec_s *vdec) in vdec_frame_check_init()
1197 void vdec_frame_check_exit(struct vdec_s *vdec) in vdec_frame_check_exit()
1210 struct vdec_s *vdec = NULL; in dump_yuv_store() local
1298 struct vdec_s *vdec = NULL; in frame_check_show() local
Dvdec.h292 #define vdec_frame_based(vdec) \ argument
295 #define vdec_stream_based(vdec) \ argument
298 #define vdec_single(vdec) \ argument
300 #define vdec_dual(vdec) \ argument
303 #define vdec_secure(vdec) \ argument
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/mjpeg/
Dvmjpeg_multi.c263 static irqreturn_t vmjpeg_isr(struct vdec_s *vdec, int irq) in vmjpeg_isr()
279 static irqreturn_t vmjpeg_isr_thread_fn(struct vdec_s *vdec, int irq) in vmjpeg_isr_thread_fn()
392 struct vdec_s *vdec = op_arg; in vmjpeg_vf_peek() local
407 struct vdec_s *vdec = op_arg; in vmjpeg_vf_get() local
421 struct vdec_s *vdec = op_arg; in vmjpeg_vf_put() local
438 struct vdec_s *vdec = op_arg; in vmjpeg_vf_states() local
453 static int vmjpeg_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vmjpeg_dec_status()
480 struct vdec_s *vdec = hw_to_vdec(hw); in vmjpeg_canvas_init() local
665 static void vmjpeg_dump_state(struct vdec_s *vdec) in vmjpeg_dump_state()
795 struct vdec_s *vdec = hw_to_vdec(hw); in check_timer_func() local
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/mpeg12/
Dvmpeg12_multi.c416 struct vdec_s *vdec = hw_to_vdec(hw); in vmpeg12_v4l_alloc_buff_config_canvas() local
1102 static int vmmpeg2_user_data_read(struct vdec_s *vdec, in vmmpeg2_user_data_read()
1290 static void vmmpeg2_reset_userdata_fifo(struct vdec_s *vdec, int bInit) in vmmpeg2_reset_userdata_fifo()
1311 static void vmmpeg2_wakeup_userdata_poll(struct vdec_s *vdec) in vmmpeg2_wakeup_userdata_poll()
1533 struct vdec_s *vdec = hw_to_vdec(hw); in prepare_display_buf() local
1654 struct vdec_s *vdec = hw_to_vdec(hw); in prepare_display_buf() local
1805 static irqreturn_t vmpeg12_isr_thread_fn(struct vdec_s *vdec, int irq) in vmpeg12_isr_thread_fn()
2031 static irqreturn_t vmpeg12_isr(struct vdec_s *vdec, int irq) in vmpeg12_isr()
2052 struct vdec_s *vdec = hw_to_vdec(hw); in vmpeg12_notify_work() local
2100 static int notify_v4l_eos(struct vdec_s *vdec) in notify_v4l_eos()
[all …]
Dvmpeg12.c188 static struct vdec_s *vdec; variable
1375 int vmpeg12_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vmpeg12_dec_status()
1405 int vmpeg12_set_isreset(struct vdec_s *vdec, int isreset) in vmpeg12_set_isreset()
1495 static int vmpeg12_user_data_read(struct vdec_s *vdec, in vmpeg12_user_data_read()
1678 static void vmpeg12_reset_userdata_fifo(struct vdec_s *vdec, int bInit) in vmpeg12_reset_userdata_fifo()
1696 static void vmpeg12_wakeup_userdata_poll(struct vdec_s *vdec) in vmpeg12_wakeup_userdata_poll()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/mpeg4/
Dvmpeg4_multi.c375 struct vdec_s *vdec = hw_to_vdec(hw); in vmpeg4_v4l_alloc_buff_config_canvas() local
656 struct vdec_s *vdec = hw_to_vdec(hw); in prepare_display_buf() local
861 struct vdec_s *vdec = hw_to_vdec(hw); in vmpeg4_prepare_input() local
966 static irqreturn_t vmpeg4_isr_thread_fn(struct vdec_s *vdec, int irq) in vmpeg4_isr_thread_fn()
1375 static irqreturn_t vmpeg4_isr(struct vdec_s *vdec, int irq) in vmpeg4_isr()
1396 static int notify_v4l_eos(struct vdec_s *vdec) in notify_v4l_eos()
1440 struct vdec_s *vdec = hw_to_vdec(hw); in vmpeg4_work() local
1531 struct vdec_s *vdec = op_arg; in vmpeg_vf_peek() local
1546 struct vdec_s *vdec = op_arg; in vmpeg_vf_get() local
1557 struct vdec_s *vdec = op_arg; in vmpeg_vf_put() local
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/amvdec_ports/decoder/
Dvdec_mjpeg_if.c110 struct aml_vdec_adapt vdec; member
281 struct aml_vdec_adapt *vdec = &inst->vdec; in parse_stream_ucode() local
301 struct aml_vdec_adapt *vdec = &inst->vdec; in parse_stream_ucode_dma() local
452 struct aml_vdec_adapt *vdec = &inst->vdec; in vdec_write_nalu() local
463 struct aml_vdec_adapt *vdec = &inst->vdec; in vdec_mjpeg_decode() local
Dvdec_mpeg12_if.c110 struct aml_vdec_adapt vdec; member
300 struct aml_vdec_adapt *vdec = &inst->vdec; in parse_stream_ucode() local
320 struct aml_vdec_adapt *vdec = &inst->vdec; in parse_stream_ucode_dma() local
471 struct aml_vdec_adapt *vdec = &inst->vdec; in vdec_write_nalu() local
482 struct aml_vdec_adapt *vdec = &inst->vdec; in vdec_mpeg12_decode() local
Dvdec_mpeg4_if.c110 struct aml_vdec_adapt vdec; member
310 struct aml_vdec_adapt *vdec = &inst->vdec; in parse_stream_ucode() local
330 struct aml_vdec_adapt *vdec = &inst->vdec; in parse_stream_ucode_dma() local
481 struct aml_vdec_adapt *vdec = &inst->vdec; in vdec_write_nalu() local
492 struct aml_vdec_adapt *vdec = &inst->vdec; in vdec_mpeg4_decode() local
Dvdec_hevc_if.c111 struct aml_vdec_adapt vdec; member
413 struct aml_vdec_adapt *vdec = &inst->vdec; in parse_stream_ucode() local
433 struct aml_vdec_adapt *vdec = &inst->vdec; in parse_stream_ucode_dma() local
587 struct aml_vdec_adapt *vdec = &inst->vdec; in vdec_write_nalu() local
635 struct aml_vdec_adapt *vdec = &inst->vdec; in vdec_hevc_decode() local
Dvdec_vp9_if.c122 struct aml_vdec_adapt vdec; member
462 struct aml_vdec_adapt *vdec = &inst->vdec; in parse_stream_ucode_dma() local
666 static void trigger_decoder(struct aml_vdec_adapt *vdec) in trigger_decoder()
686 struct aml_vdec_adapt *vdec = &inst->vdec; in vdec_write_nalu() local
749 struct aml_vdec_adapt *vdec = &inst->vdec; in vdec_vp9_decode() local
Dvdec_h264_if.c151 struct aml_vdec_adapt vdec; member
565 struct aml_vdec_adapt *vdec = &inst->vdec; in parse_stream_ucode() local
585 struct aml_vdec_adapt *vdec = &inst->vdec; in parse_stream_ucode_dma() local
753 struct aml_vdec_adapt *vdec = &inst->vdec; in vdec_write_nalu() local
871 struct aml_vdec_adapt *vdec = &inst->vdec; in vdec_h264_decode() local
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/
Dtee.h59 static inline int tee_load_video_fw_swap(uint32_t index, uint32_t vdec, bool is_swap) in tee_load_video_fw_swap()
64 static inline int tee_load_video_fw(uint32_t index, uint32_t vdec) in tee_load_video_fw()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/h264_multi/
Dvmh264.c1716 struct vdec_s *vdec = hw_to_vdec(hw); in alloc_one_buf_spec() local
2114 static int v4l_get_free_buf_idx(struct vdec_s *vdec) in v4l_get_free_buf_idx()
2164 int get_free_buf_idx(struct vdec_s *vdec) in get_free_buf_idx()
2225 int release_buf_spec_num(struct vdec_s *vdec, int buf_spec_num) in release_buf_spec_num()
2254 static void config_buf_specs(struct vdec_s *vdec) in config_buf_specs()
2321 static void config_buf_specs_ex(struct vdec_s *vdec) in config_buf_specs_ex()
2449 unsigned char have_free_buf_spec(struct vdec_s *vdec) in have_free_buf_spec()
2628 int prepare_display_buf(struct vdec_s *vdec, struct FrameStore *frame) in prepare_display_buf()
2967 int notify_v4l_eos(struct vdec_s *vdec) in notify_v4l_eos()
3290 struct vdec_s *vdec = hw_to_vdec(hw); in config_decode_mode() local
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/avs_multi/
Davs_multi.c1607 int vavs_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vavs_dec_status()
1640 int vavs_set_isreset(struct vdec_s *vdec, int isreset) in vavs_set_isreset()
1668 struct vdec_s *vdec = NULL; in vavs_canvas_init() local
3011 static unsigned long run_ready(struct vdec_s *vdec, unsigned long mask) in run_ready()
3073 struct vdec_s *vdec = hw_to_vdec(hw); in vavs_work() local
3226 struct vdec_s *vdec = hw_to_vdec(hw); in timeout_process() local
3319 struct vdec_s *vdec = hw_to_vdec(hw); in check_timer_func() local
3470 static void run(struct vdec_s *vdec, unsigned long mask, in run()
3677 static void reset(struct vdec_s *vdec) in reset()
3681 static irqreturn_t vmavs_isr_thread_fn(struct vdec_s *vdec, int irq) in vmavs_isr_thread_fn()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/h265/
Dvh265.c2098 struct vdec_s *vdec = hw_to_vdec(hevc); in restore_decode_state() local
3541 struct vdec_s *vdec = hw_to_vdec(hevc); in init_pic_list() local
3603 struct vdec_s *vdec = hw_to_vdec(hevc); in uninit_pic_list() local
3808 struct vdec_s *vdec = hw_to_vdec(hevc); in output_pic() local
5617 struct vdec_s *vdec = hw_to_vdec(hevc); in get_new_pic() local
5751 struct vdec_s *vdec = hw_to_vdec(hevc); in v4l_get_new_pic() local
6159 struct vdec_s *vdec = hw_to_vdec(hevc); in hevc_pre_pic() local
6835 struct vdec_s *vdec = hw_to_vdec(hevc); in hevc_slice_segment_header_process() local
7708 struct vdec_s *vdec = hw_to_vdec(hevc); in set_canvas() local
8140 struct vdec_s *vdec = op_arg; in vh265_vf_states() local
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/amports/
Damstream.c551 struct vdec_s *vdec = priv->vdec; in port_get_inited() local
564 struct vdec_s *vdec = priv->vdec; in port_set_inited() local
577 struct vdec_s *vdec = priv->vdec; in video_port_release() local
605 struct vdec_s *vdec = priv->vdec; in video_port_init() local
906 struct vdec_s *vdec = priv->vdec; in amstream_port_init() local
1432 void amstream_wakeup_userdata_poll(struct vdec_s *vdec) in amstream_wakeup_userdata_poll()
2588 struct vdec_s *vdec = NULL; in amstream_do_ioctl_new() local
3138 struct vdec_s *vdec; in amstream_do_ioctl_old() local
3191 struct vdec_s *vdec; in amstream_do_ioctl_old() local
3384 struct vdec_s *vdec; in amstream_do_ioctl_old() local
[all …]
Damports_priv.h27 struct vdec_s *vdec; member
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/real/
Dvreal.c522 int vreal_dec_status(struct vdec_s *vdec, struct vdec_info *vstatus) in vreal_dec_status()
540 int vreal_set_isreset(struct vdec_s *vdec, int isreset) in vreal_set_isreset()
799 s32 vreal_init(struct vdec_s *vdec) in vreal_init()
/device/soc/amlogic/a311d/soc/amlogic/media/common/codec_mm/configs/
Dconfigs_test.c21 static struct mconfig_node vdec; variable

12