AppTaskMessage* pNewAppTaskMessage;
MessageNew(&pNewAppTaskMessage);
// pNewAppTaskMessage->SetAppMessageType(taskInfo.GetAppMessageType());
*pNewAppTaskMessage = taskInfo;
printf("pNewAppTaskMessage->GetAppMessageType():%d\n",pNewAppTaskMessage->GetAppMessageType());
pNewAppTaskMessage->SetAppMessageType(taskInfo.GetAppMessageType());
printf("taskInfo.GetTaskProperty:%d\n",taskInfo.GetTaskProperty());
pNewAppTaskMessage->SetTaskProperty(taskInfo.GetTaskProperty());
u32 dwTaskTimeTick = DsTickGet();
pNewAppTaskMessage->SetTaskTimeInfo(dwTaskTimeTick);
printf("pNewAppTaskMessage->GetTaskProperty():%d\n",pNewAppTaskMessage->GetTaskProperty());
if(pNewAppTaskMessage->GetTaskProperty() == TASK_HEAVY)
{
bFree =VideoHeavyTaskDisp(pNewAppTaskMessage,TRUE);
}
else if(pNewAppTaskMessage->GetTaskProperty() == TASK_LIGHT)
{
bFree =VideoLightTaskDisp(pNewAppTaskMessage,TRUE);
}
|