vpu_cmds.h (1003B)
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright 2020-2021 NXP 4 */ 5 6#ifndef _AMPHION_VPU_CMDS_H 7#define _AMPHION_VPU_CMDS_H 8 9int vpu_session_configure_codec(struct vpu_inst *inst); 10int vpu_session_start(struct vpu_inst *inst); 11int vpu_session_stop(struct vpu_inst *inst); 12int vpu_session_abort(struct vpu_inst *inst); 13int vpu_session_rst_buf(struct vpu_inst *inst); 14int vpu_session_encode_frame(struct vpu_inst *inst, s64 timestamp); 15int vpu_session_alloc_fs(struct vpu_inst *inst, struct vpu_fs_info *fs); 16int vpu_session_release_fs(struct vpu_inst *inst, struct vpu_fs_info *fs); 17int vpu_session_fill_timestamp(struct vpu_inst *inst, struct vpu_ts_info *info); 18int vpu_session_update_parameters(struct vpu_inst *inst, void *arg); 19int vpu_core_snapshot(struct vpu_core *core); 20int vpu_core_sw_reset(struct vpu_core *core); 21int vpu_response_cmd(struct vpu_inst *inst, u32 response, u32 handled); 22void vpu_clear_request(struct vpu_inst *inst); 23int vpu_session_debug(struct vpu_inst *inst); 24 25#endif