⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ipvd_dbg.c

📁 tuner扫描
💻 C
📖 第 1 页 / 共 2 页
字号:
            DV_DBG_PRINT ("EXIT_UD_PARSING\t%d\t%d\t%d\t%d\n",in_entry.info0,in_entry.info1,in_entry.info2,in_entry.info3);
            break;

         case IPVD_DBG_EV_UD_PES_INSIDE:
            DV_DBG_PRINT ("UD_PES_INSIDE\t%d\t%d\t%d\t%d\n",in_entry.info0,in_entry.info1,in_entry.info2,in_entry.info3);
            break;

         case IPVD_DBG_EV_UD_STORE_DATA:
            DV_DBG_PRINT ("UD_STORE_DATA\t%d\t%d\t%d\t%d\n",in_entry.info0,in_entry.info1,in_entry.info2,in_entry.info3);
            break;

         case IPVD_DBG_EV_ENTER_DISCONTINUITY:
            DV_DBG_PRINT ("ENTER_DISCONTINUITY\n");
            break;

         case IPVD_DBG_EV_SWITCH_STC:
            DV_DBG_PRINT("SWITCH_STC\t\t%x\n",in_entry.info0);
            break;

         case IPVD_DBG_EV_STC_UPDATED:
            DV_DBG_PRINT("STC_UPDATED\t\t%x\n",in_entry.info0);
            break;
                
         case IPVD_DBG_EV_NEW_DTS_FOUND:
            DV_DBG_PRINT("NEW_DTS_FOUND\t\t%x\n",in_entry.info0);
            break;

         case IPVD_DBG_EV_NEW_PTS_FOUND:
            DV_DBG_PRINT("NEW_PTS_FOUND\t\t%x\n",in_entry.info0);
            break;

         case IPVD_DBG_EV_PTS_DELAY_AVAILABLE:
            DV_DBG_PRINT("PTS_DELAY\t\t%x\t%x\t%x\n",
                         in_entry.info0,
                         in_entry.info1,
                         in_entry.info2);
            break;
            
         case IPVD_DBG_EV_CHECK_DISCONTINUITY:
            DV_DBG_PRINT("CHECK_DISCONTINUITY\n");
            DV_DBG_PRINT("\tDTS read = %x\n",in_entry.info1);
            DV_DBG_PRINT("\tINC DTS calculated = %x\n",in_entry.info2);
            DV_DBG_PRINT("\tDTS theorical = %x\n",in_entry.info3);
            break;
            
         case IPVD_DBG_EV_BUF_CMD_START:
            DV_DBG_PRINT ("BUF_CMD_START\t\t%d\n",in_entry.info3);
            break;
                
         case IPVD_DBG_EV_VIDEO_FIFO_OVER:
            DV_DBG_PRINT ("FIFO_OVER\n");
            break;

         case IPVD_DBG_EV_VIDEO_FIFO_UNDER:
            DV_DBG_PRINT ("FIFO_UNDER\n");
            break;
            
         case IPVD_DBG_EV_VIDEO_FIFO_FULL:
            DV_DBG_PRINT ("FIFO_FULL\nbfmo=0x%X\tbfmu=0x%X \n",in_entry.info0, in_entry.info1 );
            break;

         case IPVD_DBG_EV_VIDEO_FIFO_EMPTY:
            DV_DBG_PRINT ("FIFO_EMPTY\n");
            break;

         case IPVD_DBG_EV_STILL_FIFO_FULL:
            DV_DBG_PRINT ("STILL_FIFO_FULL\n");
            break;

         case IPVD_DBG_EV_PARITY_MISMATCH:
            DV_DBG_PRINT("PARITY_MISMATCH\t\t%d\n", in_entry.info0);
            break;
            
         case IPVD_DBG_EV_NEED_DTS:
            DV_DBG_PRINT ("NEED_DTS\n");
            break;
                
         case IPVD_DBG_EV_EMULATION_DTS:
            DV_DBG_PRINT ("EMULATION_DTS\n");
            break;            
            
         case IPVD_DBG_EV_FBM_DISP_TEXT:
            switch (in_entry.info0)
            {
               case  IPVD_DBG_FBM_PIC_B:
                  strcpy( picture ,"B");
                  break;
               case  IPVD_DBG_FBM_PIC_I:
                  strcpy(picture ,"I");
                  break;
               case  IPVD_DBG_FBM_PIC_P:
                  strcpy(picture ,"P");
                  break;
               case  IPVD_DBG_FBM_PIC_D:
                  strcpy(picture ,"D");
                  break;
               default:
                  strcpy(picture ,"?");
                  break;
            }
            switch (in_entry.info2)
            {
               case IPVD_DBG_FBM_DISP_PIC_FIELD_TOP:
                  strcpy( field ,"top");
                  break;
               case IPVD_DBG_FBM_DISP_PIC_FIELD_BOT:
                  strcpy(field ,"bot");
                  break;
               default:
                  strcpy(field ,"top");
                  break;
            }
            DV_DBG_PRINT ("DISP_TEXT\t\t\t%s%d %s in FS%d\n",
                          picture,
                          in_entry.info1,
                          field,
                          lv_disp_frame_store);
            break;

         case IPVD_DBG_EV_FBM_CLEANUP_AND_RESTART_ON_I:
            DV_DBG_PRINT ("CLEANUP_RESTART_ON_I\n");
            break;
            
         case IPVD_DBG_EV_ERROR_EVENT:
            DV_DBG_PRINT("ERROR_EVENT\t\t%x\n",
                         in_entry.info0);  
            break;
            
         case IPVD_DBG_EV_FBM_EVENT:
            DV_DBG_PRINT("FBM_EVENT\t\t%x\n",
                         in_entry.info0);  
            break;

         case IPVD_DBG_EV_VIDEO_EVENT:
            
            DV_DBG_PRINT("VIDEO_EVENT\t\t%x\t%x\n",
                         in_entry.info0,
                         in_entry.info1);  
            if ((in_entry.info0 & 0x100) != 0)
            {
               DV_DBG_PRINT ("New Sequence detected\n");               
            }
            break;

         case IPVD_DBG_EV_FBM_DEALLOC_AFTER_DISPLAY:
            DV_DBG_PRINT("DEALLOC\t\ttop%x\tbot%x\n",
                         in_entry.info0,
                         in_entry.info1
                         );  
            break;
            
         case IPVD_DBG_EV_FBM_FORCED_DEALLOC:
            DV_DBG_PRINT("FORCED_DEALLOC\t\t%x\n",
                         in_entry.info0
                         );  
            break;
            
         case IPVD_DBG_EV_FBM_ABORT_TIME_OUT:
            switch (in_entry.info0)
            {
               case  IPVD_DBG_FBM_PIC_B:
                  strcpy( picture ,"B");
                  break;
               case  IPVD_DBG_FBM_PIC_I:
                  strcpy(picture ,"I");
                  break;
               case  IPVD_DBG_FBM_PIC_P:
                  strcpy(picture ,"P");
                  break;
               case  IPVD_DBG_FBM_PIC_D:
                  strcpy(picture ,"D");
                  break;
               default:
                  strcpy(picture ,"?");
                  break;
            }
            
            DV_DBG_PRINT ("TIME_OUT_ab\t\t%s%d\t%d\n",
                          picture,
                          in_entry.info1,
                          in_entry.info2
                          );
            break;           

         case IPVD_DBG_EV_SW_RESET:
            DV_DBG_PRINT ("SOFTWARE_RESET_REQUESTED\t%d\t%d\t%d\t%d\n",in_entry.info0,in_entry.info1,in_entry.info2,in_entry.info3);
            break;

         case IPVD_DBG_EV_RESET_AND_RESTART_HW:
            DV_DBG_PRINT ("RESET_AND_RESTART_HW\t%d\t%d\t%d\t%d\n",in_entry.info0,in_entry.info1,in_entry.info2,in_entry.info3);
            break;

         case IPVD_DBG_EV_FBM_ABORT_DECODING_BY_USER:
            switch (in_entry.info0)
            {
               case  IPVD_DBG_FBM_PIC_B:
                  strcpy( picture ,"B");
                  break;
               case  IPVD_DBG_FBM_PIC_I:
                  strcpy(picture ,"I");
                  break;
               case  IPVD_DBG_FBM_PIC_P:
                  strcpy(picture ,"P");
                  break;
               case  IPVD_DBG_FBM_PIC_D:
                  strcpy(picture ,"D");
                  break;
               default:
                  strcpy(picture ,"?");
                  break;
            }
            
            DV_DBG_PRINT ("ABORT_BY_USER\t\t%s%d\n",
                          picture,
                          in_entry.info1
                          );
            break;
                
         case IPVD_DBG_EV_UNRECOV_ERROR:
            DV_DBG_PRINT ("UNRECOVERABLE_ERROR\n");
            break;

         case IPVD_DBG_EV_TIMEOUT:
            DV_DBG_PRINT ("TIMEOUT in tmosalQueueSend\n");
            break;

         case IPVD_DBG_EV_ISR:
            DV_DBG_PRINT ("tmgdrvdec : ISR - ");
              
            switch (in_entry.level)
            {
               case  IPVD_DBG_ISR_BEGIN_LEVEL:
                  DV_DBG_PRINT ("enter interrupt ");
                  break;

               case  IPVD_DBG_ISR_END_LEVEL:
                  DV_DBG_PRINT ("exit interrupt ");
                  break;
            }

            switch (in_entry.info0)
            {
               case  IPVD_FIFO_UNDER_ISR:
                  DV_DBG_PRINT ("FIFO UNDER\n");
                  break;
               case  IPVD_FIFO_OVER_ISR:
                  DV_DBG_PRINT ("FIFO OVER\n");
                  break;
               case  IPVD_FIFO_EMPTY_ISR:
                  DV_DBG_PRINT ("FIFO EMPTY\n");
                  break;
               case  IPVD_FIFO_FULL_ISR:
                  DV_DBG_PRINT ("FIFO FULL\n");
                  break;
               case  IPVD_FIFO_PTR_UPDATED_ISR:
                  DV_DBG_PRINT ("FIFO PTR UPDATED\n");
                  break;
               case  IPVD_SYSTEM_EVENT_ISR:
                  DV_DBG_PRINT ("SYSTEM EVENT\n");
                  break;
               case  IPVD_NEW_DTS_ISR:
                  DV_DBG_PRINT ("NEW DTS\n");
                  break;
               case  IPVD_NEW_PTS_ISR:
                  DV_DBG_PRINT ("NEW PTS\n");
                  break;
               case  IPVD_RESET_DONE_ISR:
                  DV_DBG_PRINT ("RESET DONE\n");
                  break;
               case  IPVD_VIDEO_EVENT_ISR:
                  DV_DBG_PRINT ("VIDEO EVENT\n");
                  break;
               case  IPVD_IN_SYNC_ISR:
                  DV_DBG_PRINT ("IN SYNC\n");
                  break;
               case  IPVD_VS_ISR:
                  DV_DBG_PRINT ("VS\n");
                  break;
               case  IPVD_FBM_EVENT_ISR:
                  DV_DBG_PRINT ("FBM EVENT\n");
                  break;
               case  IPVD_EOPH_ISR:
                  DV_DBG_PRINT ("EOPH\n");
                  break;
               case  IPVD_EOPD_ISR:
                  DV_DBG_PRINT ("EOPD\n");
                  break;
               case  IPVD_FBM_ERROR_ISR:
                  DV_DBG_PRINT ("FBM ERROR\n");
                  break;
            }
              
            break;

         case IPVD_DBG_EV_CALL_EXTERNAL_API:
            DV_DBG_PRINT ("tmgdrvdec : Call external API - ");
              
            switch (in_entry.level)
            {
               case  IPVD_DBG_CALL_BEGIN_LEVEL:
                  DV_DBG_PRINT ("enter API : ");
                  break;

               case  IPVD_DBG_CALL_END_LEVEL:
                  DV_DBG_PRINT ("exit API : ");
                  break;
            }

            switch (in_entry.info0)
            {
               case  IPVD_CALL_DISP:
                  DV_DBG_PRINT ("DISP_IN_isr_display_field()\n");
                  break;
                  
               case  IPVD_CALL_SYNC:
                  DV_DBG_PRINT ("DV_SYN_link_callback()\n");
                  break;
            }
              
            break;
            
         case IPVD_DBG_EV_PIP:
            DV_DBG_PRINT ("tmgdrvdec : PIP - ");
              
            switch (in_entry.info0)
            {
               case  IPVD_SYNCHRONISE:
                  DV_DBG_PRINT ("synchronise ");
                  break;
               case  IPVD_SWITCH_TO_FIFO_VIDEO:
                  DV_DBG_PRINT ("switch to fifo video ");
                  break;
               case  IPVD_IN_SYNC_ISR:
                  DV_DBG_PRINT ("In Sync ");
                  break;
               case  IPVD_DEC_BEGIN:
                  DV_DBG_PRINT ("decoding begin ");
                  break;
               case  IPVD_PES1_INSERTED:
                  DV_DBG_PRINT ("PES1 inserted ");
                  break;
               case  IPVD_PES2_INSERTED:
                  DV_DBG_PRINT ("PES2 inserted ");
                  break;
               case  IPVD_NO_PES_INSERTED:
                  DV_DBG_PRINT ("no PES inserted ");
                  break;
               case  IPVD_SWITCH_TO_FIFO_STILL:
                  DV_DBG_PRINT ("switch to fifo still ");
                  break;
               case  IPVD_STORE_SEQ_HDR:
                  DV_DBG_PRINT ("store new Sequence Header ");
                  break;
               case  IPVD_STORE_PICT_HDR:
                  DV_DBG_PRINT ("store new Picture Header ");
                  break;
            }

            DV_DBG_PRINT("%d\t%d\t%d\n",in_entry.info1,in_entry.info2,in_entry.info3);
            break;

         case IPVD_DBG_EV_TMOSAL_ERROR:
            DV_DBG_PRINT ("tmgdrvdec : tmosal error in ");
              
            switch (in_entry.info0)
            {
               case  IPVD_INT_CREATE:
                  DV_DBG_PRINT ("interruption create ");
                  break;

               case  IPVD_INT_DESTROY:
                  DV_DBG_PRINT ("interruption destroy");
                  break;
                  
               case  IPVD_QUEUE_SEND:
                  DV_DBG_PRINT ("queue send ");
                  break;

               case  IPVD_QUEUE_RECEIVE:
                  DV_DBG_PRINT ("queue receive ");
                  break;

               case  IPVD_QUEUE_CREATE:
                  DV_DBG_PRINT ("queue create ");
                  break;

               case  IPVD_TASK_CREATE:
                  DV_DBG_PRINT ("task create ");
                  break;

               case  IPVD_QUEUE_DESTROY:
                  DV_DBG_PRINT ("queue destroy ");
                  break;

            }
            
            DV_DBG_PRINT("%d\t%d\t%d\n",in_entry.info1,in_entry.info2,in_entry.info3);
            break;
            
         default:
            lv_return= DV_RETURN_NOT_OK;
            break;

      } /* End switch on event event */
      
   } /* End event valid */

   return lv_return;

} /* End of IPVD_DBG_par */

#endif /* if defined(DV_DEBUG) || defined (DV_DBG_OFF_LINE_PARSER) */

/*==========================================================================*/
/*       L O C A L  F U N C T I O N S                                       */ 
/*==========================================================================*/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -