Lines Matching refs:decoder

115 MPP_RET hal_avsd_deinit(void *decoder)  in hal_avsd_deinit()  argument
118 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_deinit()
121 INP_CHECK(ret, NULL == decoder); in hal_avsd_deinit()
123 FUN_CHECK(ret = p_hal->hal_api.deinit(decoder)); in hal_avsd_deinit()
149 MPP_RET hal_avsd_init(void *decoder, MppHalCfg *cfg) in hal_avsd_init() argument
152 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_init()
155 INP_CHECK(ret, NULL == decoder); in hal_avsd_init()
172 FUN_CHECK(ret = p_hal->hal_api.init(decoder, cfg)); in hal_avsd_init()
179 hal_avsd_deinit(decoder); in hal_avsd_init()
190 MPP_RET hal_avsd_gen_regs(void *decoder, HalTaskInfo *task) in hal_avsd_gen_regs() argument
194 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_gen_regs()
208 ret = p_hal->hal_api.deinit(decoder); in hal_avsd_gen_regs()
220 ret = p_hal->hal_api.init(decoder, p_hal->cfg); in hal_avsd_gen_regs()
229 return p_hal->hal_api.reg_gen(decoder, task); in hal_avsd_gen_regs()
238 MPP_RET hal_avsd_start(void *decoder, HalTaskInfo *task) in hal_avsd_start() argument
240 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_start()
242 return p_hal->hal_api.start(decoder, task); in hal_avsd_start()
251 MPP_RET hal_avsd_wait(void *decoder, HalTaskInfo *task) in hal_avsd_wait() argument
253 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_wait()
255 return p_hal->hal_api.wait(decoder, task); in hal_avsd_wait()
264 MPP_RET hal_avsd_reset(void *decoder) in hal_avsd_reset() argument
266 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_reset()
277 MPP_RET hal_avsd_flush(void *decoder) in hal_avsd_flush() argument
279 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_flush()
290 MPP_RET hal_avsd_control(void *decoder, MpiCmd cmd_type, void *param) in hal_avsd_control() argument
292 AvsdHalCtx_t *p_hal = (AvsdHalCtx_t *)decoder; in hal_avsd_control()
294 return p_hal->hal_api.control(decoder, cmd_type, param); in hal_avsd_control()