Skip to content

Commit

Permalink
[hal_h263d]: Remove unused code in hal_api_h263d
Browse files Browse the repository at this point in the history
Change-Id: Ia635841b353849033003c02548550e16f4dbe8d7
Signed-off-by: shine.liu <shine.liu@rock-chips.com>
  • Loading branch information
shine.liu committed Nov 17, 2020
1 parent d092c66 commit d1e47f8
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions mpp/hal/vpu/h263d/hal_h263d_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,24 +54,6 @@ static MPP_RET hal_h263d_wait(void *hal, HalTaskInfo *task)
return ctx->hal_api.wait(hal, task);
}

static MPP_RET hal_h263d_reset(void *hal)
{
hal_h263_ctx *ctx = (hal_h263_ctx *)hal;
return ctx->hal_api.reset(hal);
}

static MPP_RET hal_h263d_flush(void *hal)
{
hal_h263_ctx *ctx = (hal_h263_ctx *)hal;
return ctx->hal_api.flush(hal);
}

static MPP_RET hal_h263d_control(void *hal, MpiCmd cmd_type, void *param)
{
hal_h263_ctx *ctx = (hal_h263_ctx *)hal;
return ctx->hal_api.control(hal, cmd_type, param);
}

static MPP_RET hal_h263d_deinit(void *hal)
{
hal_h263_ctx *ctx = (hal_h263_ctx *)hal;
Expand Down Expand Up @@ -142,7 +124,7 @@ const MppHalApi hal_api_h263d = {
hal_h263d_gen_regs,
hal_h263d_start,
hal_h263d_wait,
hal_h263d_reset,
hal_h263d_flush,
hal_h263d_control,
NULL,
NULL,
NULL,
};

0 comments on commit d1e47f8

Please sign in to comment.