[h264d]: move h264d common header file to common directory

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@250 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2015-09-09 15:10:31 +00:00
parent b7dc24c031
commit 7f616ebc53
5 changed files with 2 additions and 2 deletions

View File

@@ -102,6 +102,7 @@ static MPP_RET get_logenv(LogEnv_t *env)
static void print_env_help(LogEnv_t *env) static void print_env_help(LogEnv_t *env)
{ {
RK_U8 i = 0; RK_U8 i = 0;
(void)env;
fprintf(stdout, "--------------- h264d help -------------------- \n"); fprintf(stdout, "--------------- h264d help -------------------- \n");

View File

@@ -199,7 +199,6 @@ static void dump_slots(MppBufSlotsImpl *impl)
RK_U32 decoding = (slot->status & MPP_SLOT_USED_AS_HW_DST) ? (1) : (0); RK_U32 decoding = (slot->status & MPP_SLOT_USED_AS_HW_DST) ? (1) : (0);
RK_U32 display = (slot->status & MPP_SLOT_USED_AS_DISPLAY) ? (1) : (0); RK_U32 display = (slot->status & MPP_SLOT_USED_AS_DISPLAY) ? (1) : (0);
RK_U32 pos = 0;
mpp_log("slot %2d used %d refer %d decoding %d display %d\n", mpp_log("slot %2d used %d refer %d decoding %d display %d\n",
i, used, refer, decoding, display); i, used, refer, decoding, display);
} }

View File

@@ -249,7 +249,7 @@ void *mpp_dec_hal_thread(void *data)
* 3. add frame to output list * 3. add frame to output list
*/ */
mpp_buf_slot_clr_hw_dst(slots, task_dec->output); mpp_buf_slot_clr_hw_dst(slots, task_dec->output);
for (RK_S32 i = 0; i < MPP_ARRAY_ELEMS(task_dec->refer); i++) { for (RK_U32 i = 0; i < MPP_ARRAY_ELEMS(task_dec->refer); i++) {
RK_S32 index = task_dec->refer[i]; RK_S32 index = task_dec->refer[i];
if (index >= 0) if (index >= 0)
mpp_buf_slot_dec_hw_ref(slots, index); mpp_buf_slot_dec_hw_ref(slots, index);