Home | History | Annotate | Download | only in test

Lines Matching defs:DEBUG_PRINT

54 #define DEBUG_PRINT
69 #define DEBUG_PRINT printf
384 DEBUG_PRINT("Waiting for event\n");
391 DEBUG_PRINT("Running .... get the event\n");
575 DEBUG_PRINT("\n EBD_thread flush wait start");
577 DEBUG_PRINT("\n EBD_thread flush wait complete");
593 DEBUG_PRINT("%s: Timestamp sent(%lld)", __FUNCTION__, pBuffer->nTimeStamp);
602 DEBUG_PRINT("%s: Timestamp sent(%lld)", __FUNCTION__, pBuffer->nTimeStamp);
604 DEBUG_PRINT("EBD::Either EOS or Some Error while reading file\n");
622 DEBUG_PRINT("First Inside %s\n", __FUNCTION__);
626 DEBUG_PRINT("Inside %s\n", __FUNCTION__);
629 DEBUG_PRINT("\n FBD_thread flush wait start");
631 DEBUG_PRINT("\n FBD_thread flush wait complete");
655 DEBUG_PRINT("Error - No pBuffer to dequeue\n");
666 DEBUG_PRINT("%s: fbd_cnt(%d) Buf(%p) Timestamp(%lld)",
673 DEBUG_PRINT("Unexpected timestamp[%lld]! Expected[%lld]\n",
683 DEBUG_PRINT("base_avsync Sec(%lu) uSec(%lu) base_timestamp(%lld)",
691 DEBUG_PRINT("%s: act_time(%lu) display_time(%lu)",
730 DEBUG_PRINT("\nFillBufferDone: Failed to write to the file\n");
733 DEBUG_PRINT("\nFillBufferDone: Wrote %d YUV bytes to the file\n",
740 DEBUG_PRINT(">> BUFFER WITH EXTRA DATA RCVD <<<");
748 DEBUG_PRINT("ExtraData : pBuf(%p) BufTS(%lld) Type(%x) DataSz(%u)",
755 DEBUG_PRINT("OMX_ExtraDataInterlaceFormat: Buf(%p) TSmp(%lld) IntPtr(%p) Fmt(%x)",
763 DEBUG_PRINT("OMX_ExtraDataFrameInfo: Buf(%p) TSmp(%lld) PicType(%u) IntT(%u) ConMB(%u)",
766 DEBUG_PRINT(" FrmRate(%u), AspRatioX(%u), AspRatioY(%u) ",
769 DEBUG_PRINT("PANSCAN numWindows(%d)", frame_info->panScan.numWindows);
772 DEBUG_PRINT("WINDOW Lft(%d) Tp(%d) Rgt(%d) Bttm(%d)",
796 DEBUG_PRINT("OMX_ExtraDataConcealMB: Buf(%p) TSmp(%lld) ConcealMB(%u)",
816 DEBUG_PRINT("\n");
817 DEBUG_PRINT("***************************************************\n");
818 DEBUG_PRINT("FillBufferDone: End Of Sequence Received\n");
819 DEBUG_PRINT("***************************************************\n");
823 DEBUG_PRINT("\n");
824 DEBUG_PRINT("***************************************************\n");
825 DEBUG_PRINT("FillBufferDone: OMX_BUFFERFLAG_DATACORRUPT Received\n");
826 DEBUG_PRINT("***************************************************\n");
847 DEBUG_PRINT("***************************************************\n");
848 DEBUG_PRINT("FillBufferDone: End Of Stream Reached\n");
849 DEBUG_PRINT("***************************************************\n");
917 DEBUG_PRINT("Function %s \n", __FUNCTION__);
921 DEBUG_PRINT("\n OMX_EventCmdComplete \n");
924 DEBUG_PRINT("*********************************************\n");
925 DEBUG_PRINT("Recieved DISABLE Event Command Complete[%d]\n",nData2);
926 DEBUG_PRINT("*********************************************\n");
930 DEBUG_PRINT("*********************************************\n");
931 DEBUG_PRINT("Recieved ENABLE Event Command Complete[%d]\n",nData2);
932 DEBUG_PRINT
941 DEBUG_PRINT("*********************************************\n");
942 DEBUG_PRINT("Received FLUSH Event Command Complete[%d]\n",nData2);
943 DEBUG_PRINT("*********************************************\n");
964 DEBUG_PRINT("Event error in the middle of Decode \n");
983 DEBUG_PRINT("OMX_EventPortSettingsChanged port[%d]\n", nData1);
999 DEBUG_PRINT("OMX_EventBufferFlag port[%d] flags[%x]\n", nData1, nData2);
1017 DEBUG_PRINT("OMX_EventIndexSettingChanged Interlace mode[%x]\n", nData1);
1033 DEBUG_PRINT("Function %s cnt[%d]\n", __FUNCTION__, ebd_cnt);
1038 DEBUG_PRINT("*****EBD:Input EoS Reached************\n");
1058 DEBUG_PRINT("Inside %s callback_count[%d] \n", __FUNCTION__, fbd_cnt);
1485 DEBUG_PRINT("Inside %s\n", __FUNCTION__);
1519 DEBUG_PRINT("file_type_option %d!\n", file_type_option);
1561 DEBUG_PRINT("Seq file %s is opened \n", seq_file_name);
1602 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
1615 DEBUG_PRINT("\nInitializing OpenMAX Core....\n");
1628 DEBUG_PRINT("\nTotal components of role=%s :%d", role, total);
1647 DEBUG_PRINT("\nComponents of Role:%s\n", role);
1649 DEBUG_PRINT("\nComponent Name [%s]\n",vidCompNames[i]);
1707 DEBUG_PRINT("\nComponent %s is in LOADED state\n", vdecCompNames);
1714 DEBUG_PRINT("\n Number of decoder instances %d",
1728 DEBUG_PRINT("portParam.nPorts:%d\n", portParam.nPorts);
1729 DEBUG_PRINT("portParam.nStartPortNumber:%d\n", portParam.nStartPortNumber);
1774 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
1863 DEBUG_PRINT("\nDec: Min Buffer Count %d\n", portFmt.nBufferCountMin);
1864 DEBUG_PRINT("\nDec: Buffer Size %d\n", portFmt.nBufferSize);
1881 DEBUG_PRINT("\nWidth for DIVX = %d\n", width);
1888 DEBUG_PRINT("\nHeight for DIVX = %u\n", height);
1900 DEBUG_PRINT("\nDec: New Min Buffer Count %d", portFmt.nBufferCountMin);
1929 DEBUG_PRINT("\n Format[%u] supported by OMX Decoder", color_fmt);
1950 DEBUG_PRINT("\nSet picture order\n");
1958 DEBUG_PRINT("\nVideo format: W x H (%d x %d)",
1965 DEBUG_PRINT("\n Nal length is %d index %d",nalSize,OMX_IndexConfigVideoNalSize);
1967 DEBUG_PRINT("SETTING THE NAL SIZE to %d\n",naluSize.nNaluBytes);
1969 DEBUG_PRINT("\nOMX_SendCommand Decoder -> IDLE\n");
1973 DEBUG_PRINT("Transition to Idle State succesful...\n");
1984 DEBUG_PRINT("\nOMX_AllocateBuffer Input buffer success\n");
2000 DEBUG_PRINT("OMX_UseBuffer Input buffer success\n");
2007 DEBUG_PRINT("nMin Buffer Count=%d", portFmt.nBufferCountMin);
2008 DEBUG_PRINT("nBuffer Size=%d", portFmt.nBufferSize);
2037 DEBUG_PRINT("OMX_AllocateBuffer Output buffer success\n");
2052 DEBUG_PRINT("OMX_UseBuffer Input buffer success\n");
2068 DEBUG_PRINT("Decoder is in OMX_StateIdle and trying to call OMX_FreeHandle \n");
2080 DEBUG_PRINT("OMX_SendCommand Decoder -> Executing\n");
2094 DEBUG_PRINT("OMX_FillThisBuffer on output buf no.%d\n",bufCnt);
2107 DEBUG_PRINT("OMX_FillThisBuffer success!\n");
2124 DEBUG_PRINT("After Read_Buffer_From_RCV_File_Seq_Layer, "
2138 DEBUG_PRINT("After Read_Buffer pInputBufHdrs[0]->nFilledLen %d\n",
2156 DEBUG_PRINT("OMX_EmptyThisBuffer success!\n");
2169 DEBUG_PRINT("NO FRAME READ\n");
2177 DEBUG_PRINT("File is small::Either EOS or Some Error while reading file\n");
2184 DEBUG_PRINT("%s: Timestamp sent(%lld)", __FUNCTION__, pInputBufHdrs[i]->nTimeStamp);
2192 DEBUG_PRINT("OMX_EmptyThisBuffer success!\n");
2206 DEBUG_PRINT("wait_for_event: dyn reconfig");
2208 DEBUG_PRINT("wait_for_event: dyn reconfig rcvd, currentStatus %d\n",
2228 DEBUG_PRINT("Decoder is in OMX_StateExecuting and trying to call OMX_FreeHandle \n");
2247 DEBUG_PRINT("Decoder is in OMX_StatePause and trying to call OMX_FreeHandle \n");
2266 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
2270 DEBUG_PRINT("pBufHdrs = %x,bufCntMin = %d\n", pBufHdrs, bufCntMin);
2275 DEBUG_PRINT("OMX_AllocateBuffer No %d \n", bufCnt);
2289 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
2303 DEBUG_PRINT("OMX_UseBuffer No %d %d \n", bufCnt, bufSize);
2321 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
2342 DEBUG_PRINT("OMX_UseBuffer No %d %d \n", bufCnt, bufSize);
2382 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
2420 DEBUG_PRINT("OMX_UseBuffer_multiple_fd No %d %d \n", bufCnt, bufSize);
2438 DEBUG_PRINT("\n allocation size %d pmem fd 0x%x",bufSize,pPMEMInfo[bufCnt].pmem_fd);
2442 DEBUG_PRINT("\n Virtaul Address %p Size %d pmem_fd=0x%x",pvirt,bufSize,pPMEMInfo[bufCnt].pmem_fd);
2460 DEBUG_PRINT("Requesting transition to Idle");
2467 DEBUG_PRINT("Requesting transition to Loaded");
2497 DEBUG_PRINT("Freeing in external pmem case: buffer=0x%x, pmem_fd=0x%d",
2519 DEBUG_PRINT("Freeing in external pmem case:PMEM");
2525 DEBUG_PRINT("Freeing in external pmem case:ENTRY");
2531 DEBUG_PRINT("Freeing in external pmem case:LIST");
2538 DEBUG_PRINT("[OMX Vdec Test] - Free handle decoder\n");
2547 DEBUG_PRINT("[OMX Vdec Test] - De-initializing OMX \n");
2550 DEBUG_PRINT("[OMX Vdec Test] - closing all files\n");
2557 DEBUG_PRINT("[OMX Vdec Test] - after free inputfile\n");
2563 DEBUG_PRINT("[OMX Vdec Test] - after free outputfile\n");
2570 DEBUG_PRINT("[OMX Vdec Test] - after free etb_queue \n");
2576 DEBUG_PRINT("[OMX Vdec Test] - after free iftb_queue\n");
2598 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
2603 DEBUG_PRINT("loop[%d] count[%d]\n",cnt,count);
2617 DEBUG_PRINT("Actual frame Size [%d] bytes_read using fread[%d]\n",
2621 DEBUG_PRINT("Bytes read Zero After Read frame Size \n");
2622 DEBUG_PRINT("Checking VideoPlayback Count:video_playback_count is:%d\n",
2634 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
2637 DEBUG_PRINT("Bytes read Zero After Read frame Size \n");
2638 DEBUG_PRINT("Checking VideoPlayback Count:video_playback_count is:%d\n",
2662 DEBUG_PRINT("Inside %s", __FUNCTION__);
2670 DEBUG_PRINT("Bytes read Zero \n");
2718 DEBUG_PRINT("Inside %s", __FUNCTION__);
2805 DEBUG_PRINT("Failed to read frame or it might be EOF\n");
2841 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
2854 DEBUG_PRINT("Read_Buffer_From_RCV_File_Seq_Layer size_struct_C: %d\n", size_struct_C);
2865 DEBUG_PRINT("Read_Buffer_From_RCV_File_Seq_Layer size_struct_C: %d\n", size_struct_C);
2897 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
2899 DEBUG_PRINT("Read_Buffer_From_RCV_File - nOffset %d\n", pBufHdr->nOffset);
2905 DEBUG_PRINT("Read_Buffer_From_RCV_File - framesize %d %x\n", len, len);
2912 DEBUG_PRINT("Read_Buffer_From_RCV_File - framesize %d %x\n", len, len);
2917 DEBUG_PRINT("Read_Buffer_From_RCV_File - Non IDR frame key %x\n", key);
2926 DEBUG_PRINT("Read_Buffer_From_RCV_File - timeStamp %d\n", pBufHdr->nTimeStamp);
2950 DEBUG_PRINT("EOS reach or Reading error %d, %s \n", readOffset, strerror( errno ));
2976 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
3000 DEBUG_PRINT("\n Bytes read Zero \n");
3094 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
3220 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
3230 DEBUG_PRINT("\n ERROR:Read_Buffer_From_DivX_311_File: pBufHdr is NULL\n");
3236 DEBUG_PRINT("\n ERROR:Read_Buffer_From_DivX_311_File: p_bufhdr is NULL\n");
3245 DEBUG_PRINT("Read_Buffer_From_DivX_311_File: Frame size = %d\n", frame_size);
3253 DEBUG_PRINT("\nReturning Read Buffer from Divx 311: TS=[%ld], Offset=[%d]\n",
3264 DEBUG_PRINT("Inside %s filename=%s\n", __FUNCTION__, in_filename);
3285 DEBUG_PRINT("O/p file %s is opened \n", outputfilename);
3339 DEBUG_PRINT("drawBG success!\n");
3405 DEBUG_PRINT("\n vid_buf_front_id = %u", vid_buf_front_id);
3419 DEBUG_PRINT("overlay_fb:");
3447 DEBUG_PRINT("\n ov_front.data.memory_id = %d", ov_front.data.memory_id);
3448 DEBUG_PRINT("\n ov_front.data.offset = %u", ov_front.data.offset);
3455 DEBUG_PRINT("\nMSMFB_OVERLAY_PLAY successfull");
3547 DEBUG_PRINT("Frame interlace type %d!\n", pExtraFrameInfo->interlaceType);
3550 DEBUG_PRINT("Interlaced Frame!\n");
3622 DEBUG_PRINT("render_fb complete!\n");
3627 DEBUG_PRINT("DISABLING OP PORT\n");
3641 DEBUG_PRINT("Freeing in external pmem case:PMEM");
3647 DEBUG_PRINT("Freeing in external pmem case:ENTRY");
3653 DEBUG_PRINT("Freeing in external pmem case:LIST");
3662 DEBUG_PRINT("OP PORT DISABLED!\n");
3670 DEBUG_PRINT("ENABLING OP PORT\n");
3678 DEBUG_PRINT("Enable op port: calling use_buffer_mult_fd\n");
3696 DEBUG_PRINT("OMX_AllocateBuffer Output buffer success\n");
3711 DEBUG_PRINT("OMX_UseBuffer Input buffer success\n");
3728 DEBUG_PRINT("OMX_FillThisBuffer on output buf no.%d\n",bufCnt);
3742 DEBUG_PRINT("OMX_FillThisBuffer success!\n");
3746 DEBUG_PRINT("OP PORT ENABLED!\n");
3752 DEBUG_PRINT("PORT_SETTING_CHANGE_STATE\n");
3759 DEBUG_PRINT("Min Buffer Count=%d", portFmt.nBufferCountMin);
3760 DEBUG_PRINT("Buffer Size=%d", portFmt.nBufferSize);
3772 DEBUG_PRINT("Reconfiguration at middle of playback...");
3786 DEBUG_PRINT("PORT_SETTING_CHANGE DONE!\n");
3795 DEBUG_PRINT("\n pOutYUVBufHdrs %p p_eglHeaders %p output_use_buffer %d",
3800 DEBUG_PRINT("\n Index of free buffer %d",index);
3801 DEBUG_PRINT("\n Address freed %p size freed %d",pBuffer->pBuffer,
3815 DEBUG_PRINT("\n Address freed %p size freed %d,virt=0x%x,pmem_fd=0x%x",
3829 DEBUG_PRINT("\n Free output buffer");
3859 DEBUG_PRINT("\n Opening /dev/graphics/fb0");
3862 DEBUG_PRINT("\n Opening /dev/fb0");
3870 DEBUG_PRINT("\n fb_fd = %d", fb_fd);