Home | History | Annotate | Download | only in test

Lines Matching refs:DEBUG_PRINT

58 #define DEBUG_PRINT
73 #define DEBUG_PRINT printf
521 DEBUG_PRINT("Waiting for event\n");
528 DEBUG_PRINT("Running .... get the event\n");
695 DEBUG_PRINT("\n EBD_thread flush wait start");
697 DEBUG_PRINT("\n EBD_thread flush wait complete");
717 DEBUG_PRINT("%s: Timestamp sent(%lld)", __FUNCTION__, pBuffer->nTimeStamp);
724 DEBUG_PRINT("%s: Timestamp sent(%lld)", __FUNCTION__, pBuffer->nTimeStamp);
726 DEBUG_PRINT("EBD::Either EOS or Some Error while reading file\n");
748 DEBUG_PRINT("First Inside %s\n", __FUNCTION__);
753 DEBUG_PRINT("Inside %s\n", __FUNCTION__);
755 DEBUG_PRINT("\n FBD_thread flush wait start");
757 DEBUG_PRINT("\n FBD_thread flush wait complete");
787 DEBUG_PRINT("Error - No pBuffer to dequeue\n");
795 DEBUG_PRINT("%s: fbd_cnt(%d) Buf(%p) Timestamp(%lld)",
800 DEBUG_PRINT("Unexpected timestamp[%lld]! Expected[%lld]\n",
809 DEBUG_PRINT("base_avsync Sec(%lu) uSec(%lu) base_timestamp(%lld)",
815 DEBUG_PRINT("%s: act_time(%lu) display_time(%lu)",
887 DEBUG_PRINT("\nFillBufferDone: Failed to write to the file\n");
889 DEBUG_PRINT("\nFillBufferDone: Wrote %d YUV bytes to the file\n",
913 DEBUG_PRINT("ExtraData : pBuf(%p) BufTS(%lld) Type(%x) DataSz(%u)",
919 DEBUG_PRINT("OMX_ExtraDataInterlaceFormat: Buf(%p) TSmp(%lld) IntPtr(%p) Fmt(%x)",
994 DEBUG_PRINT("\nOMX_ExtraDataQP\n");
996 DEBUG_PRINT("Input frame QP = %lu\n", qp_info->nQP);
1001 DEBUG_PRINT("\nOMX_ExtraDataInputBitsInfo\n");
1003 DEBUG_PRINT("Input header bits size = %lu\n", bits_info->header_bits);
1004 DEBUG_PRINT("Input frame bits size = %lu\n", bits_info->frame_bits);
1021 DEBUG_PRINT("\n");
1022 DEBUG_PRINT("***************************************************\n");
1023 DEBUG_PRINT("FillBufferDone: End Of Sequence Received\n");
1024 DEBUG_PRINT("***************************************************\n");
1027 DEBUG_PRINT("\n");
1028 DEBUG_PRINT("***************************************************\n");
1029 DEBUG_PRINT("FillBufferDone: OMX_BUFFERFLAG_DATACORRUPT Received\n");
1030 DEBUG_PRINT("***************************************************\n");
1050 DEBUG_PRINT("***************************************************\n");
1051 DEBUG_PRINT("FillBufferDone: End Of Stream Reached\n");
1052 DEBUG_PRINT("***************************************************\n");
1114 DEBUG_PRINT("Function %s \n", __FUNCTION__);
1118 DEBUG_PRINT("\n OMX_EventCmdComplete \n");
1120 DEBUG_PRINT("*********************************************\n");
1121 DEBUG_PRINT("Recieved DISABLE Event Command Complete[%d]\n",nData2);
1122 DEBUG_PRINT("*********************************************\n");
1124 DEBUG_PRINT("*********************************************\n");
1125 DEBUG_PRINT("Recieved ENABLE Event Command Complete[%d]\n",nData2);
1126 DEBUG_PRINT("*********************************************\n");
1133 DEBUG_PRINT("*********************************************\n");
1134 DEBUG_PRINT("Received FLUSH Event Command Complete[%d]\n",nData2);
1135 DEBUG_PRINT("*********************************************\n");
1154 DEBUG_PRINT("Event error in the middle of Decode \n");
1174 DEBUG_PRINT("OMX_EventPortSettingsChanged port[%d]\n", nData1);
1185 DEBUG_PRINT("Got Crop Rect: (%d, %d) (%d x %d)\n",
1208 DEBUG_PRINT("OMX_EventBufferFlag port[%d] flags[%x]\n", nData1, nData2);
1227 DEBUG_PRINT("OMX_EventIndexSettingChanged Interlace mode[%x]\n", nData1);
1244 DEBUG_PRINT("Function %s cnt[%d]\n", __FUNCTION__, ebd_cnt);
1249 DEBUG_PRINT("*****EBD:Input EoS Reached************\n");
1268 DEBUG_PRINT("Inside %s callback_count[%d] \n", __FUNCTION__, fbd_cnt);
1691 DEBUG_PRINT("Inside %s\n", __FUNCTION__);
1734 DEBUG_PRINT("file_type_option %d!\n", file_type_option);
1774 DEBUG_PRINT("Seq file %s is opened \n", seq_file_name);
1810 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
1824 DEBUG_PRINT("\nInitializing OpenMAX Core....\n");
1836 DEBUG_PRINT("\nTotal components of role=%s :%d", role, total);
1854 DEBUG_PRINT("\nComponents of Role:%s\n", role);
1856 DEBUG_PRINT("\nComponent Name [%s]\n",vidCompNames[i]);
1917 DEBUG_PRINT("\nComponent %s is in LOADED state\n", vdecCompNames);
1924 DEBUG_PRINT("\n Number of decoder instances %d",
1936 DEBUG_PRINT("portParam.nPorts:%d\n", portParam.nPorts);
1937 DEBUG_PRINT("portParam.nStartPortNumber:%d\n", portParam.nStartPortNumber);
1968 DEBUG_PRINT("Enabled Thumbnail mode\n");
1982 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
2095 DEBUG_PRINT("\nDec: Min Buffer Count %d\n", portFmt.nBufferCountMin);
2096 DEBUG_PRINT("\nDec: Buffer Size %d\n", portFmt.nBufferSize);
2113 DEBUG_PRINT("\nWidth for DIVX = %d\n", width);
2120 DEBUG_PRINT("\nHeight for DIVX = %u\n", height);
2155 DEBUG_PRINT("\n RCV clip width = %u height = %u \n",width, height);
2167 DEBUG_PRINT("\nDec: New Min Buffer Count %d", portFmt.nBufferCountMin);
2196 DEBUG_PRINT("\n Format[%u] supported by OMX Decoder", color_fmt);
2213 DEBUG_PRINT("\nSet picture order\n");
2220 DEBUG_PRINT("\nVideo format: W x H (%d x %d)",
2229 DEBUG_PRINT("\n Nal length is %d index %d",nalSize,OMX_IndexConfigVideoNalSize);
2231 DEBUG_PRINT("SETTING THE NAL SIZE to %d\n",naluSize.nNaluBytes);
2233 DEBUG_PRINT("\nOMX_SendCommand Decoder -> IDLE\n");
2237 DEBUG_PRINT("Transition to Idle State succesful...\n");
2247 DEBUG_PRINT("\nOMX_AllocateBuffer Input buffer success\n");
2262 DEBUG_PRINT("OMX_UseBuffer Input buffer success\n");
2269 DEBUG_PRINT("nMin Buffer Count=%d", portFmt.nBufferCountMin);
2270 DEBUG_PRINT("nBuffer Size=%d", portFmt.nBufferSize);
2308 DEBUG_PRINT("OMX_AllocateBuffer Output buffer success\n");
2322 DEBUG_PRINT("OMX_UseBuffer Input buffer success\n");
2335 DEBUG_PRINT("Decoder is in OMX_StateIdle and trying to call OMX_FreeHandle \n");
2345 DEBUG_PRINT("OMX_SendCommand Decoder -> Executing\n");
2357 DEBUG_PRINT("OMX_FillThisBuffer on output buf no.%d\n",bufCnt);
2368 DEBUG_PRINT("OMX_FillThisBuffer success!\n");
2383 DEBUG_PRINT("After Read_Buffer_From_RCV_File_Seq_Layer, "
2393 DEBUG_PRINT("After Read_Buffer pInputBufHdrs[0]->nFilledLen %d\n",
2409 DEBUG_PRINT("OMX_EmptyThisBuffer success!\n");
2423 DEBUG_PRINT("NO FRAME READ\n");
2431 DEBUG_PRINT("File is small::Either EOS or Some Error while reading file\n");
2438 DEBUG_PRINT("%s: Timestamp sent(%lld)", __FUNCTION__, pInputBufHdrs[i]->nTimeStamp);
2445 DEBUG_PRINT("OMX_EmptyThisBuffer success!\n");
2458 DEBUG_PRINT("wait_for_event: dyn reconfig");
2460 DEBUG_PRINT("wait_for_event: dyn reconfig rcvd, currentStatus %d\n",
2468 DEBUG_PRINT("output_port_reconfig - ERROR_STATE\n");
2478 DEBUG_PRINT("Decoder is in OMX_StateExecuting and trying to call OMX_FreeHandle \n");
2492 DEBUG_PRINT("Decoder is in OMX_StatePause and trying to call OMX_FreeHandle \n");
2509 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
2516 DEBUG_PRINT("pBufHdrs = %x,bufCntMin = %d\n", pBufHdrs, bufCntMin);
2521 DEBUG_PRINT("OMX_AllocateBuffer No %d \n", bufCnt);
2535 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
2549 DEBUG_PRINT("OMX_UseBuffer No %d %d \n", bufCnt, bufSize);
2567 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
2588 DEBUG_PRINT("OMX_UseBuffer No %d %d \n", bufCnt, bufSize);
2628 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
2666 DEBUG_PRINT("OMX_UseBuffer_multiple_fd No %d %d \n", bufCnt, bufSize);
2684 DEBUG_PRINT("\n allocation size %d pmem fd 0x%x",bufSize,pPMEMInfo[bufCnt].pmem_fd);
2688 DEBUG_PRINT("\n Virtaul Address %p Size %d pmem_fd=0x%x",pvirt,bufSize,pPMEMInfo[bufCnt].pmem_fd);
2705 DEBUG_PRINT("Requesting transition to Idle");
2710 DEBUG_PRINT("returned state %d", state);
2715 DEBUG_PRINT("Requesting transition to Loaded");
2741 DEBUG_PRINT("Freeing in external pmem case: buffer=0x%x, pmem_fd=0x%d",
2760 DEBUG_PRINT("Freeing in external pmem case:PMEM");
2765 DEBUG_PRINT("Freeing in external pmem case:ENTRY");
2770 DEBUG_PRINT("Freeing in external pmem case:LIST");
2777 DEBUG_PRINT("[OMX Vdec Test] - Free handle decoder\n");
2785 DEBUG_PRINT("[OMX Vdec Test] - De-initializing OMX \n");
2788 DEBUG_PRINT("[OMX Vdec Test] - closing all files\n");
2794 DEBUG_PRINT("[OMX Vdec Test] - after free inputfile\n");
2806 DEBUG_PRINT("[OMX Vdec Test] - after free outputfile\n");
2812 DEBUG_PRINT("[OMX Vdec Test] - after free etb_queue \n");
2817 DEBUG_PRINT("[OMX Vdec Test] - after free iftb_queue\n");
2840 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
2845 DEBUG_PRINT("loop[%d] count[%d]\n",cnt,count);
2859 DEBUG_PRINT("Actual frame Size [%d] bytes_read using fread[%d]\n",
2863 DEBUG_PRINT("Bytes read Zero After Read frame Size \n");
2864 DEBUG_PRINT("Checking VideoPlayback Count:video_playback_count is:%d\n",
2881 DEBUG_PRINT("Inside %s", __FUNCTION__);
2886 DEBUG_PRINT("\n%s: Bytes read Zero", __FUNCTION__);
2898 DEBUG_PRINT("%s: Found H264_START_CODE", __FUNCTION__);
2901 DEBUG_PRINT("\n%s: Bytes read Zero", __FUNCTION__);
2904 DEBUG_PRINT("%s: READ Byte[%d] = 0x%x", __FUNCTION__, cnt, dataptr[cnt]);
2908 DEBUG_PRINT("%s: Found AU", __FUNCTION__);
2911 DEBUG_PRINT("\n%s: Bytes read Zero", __FUNCTION__);
2914 DEBUG_PRINT("%s: READ Byte[%d] = 0x%x", __FUNCTION__, cnt, dataptr[cnt]);
2920 DEBUG_PRINT("%s: Found a NAL unit (type 0x%x) of size = %d", __FUNCTION__, (dataptr[4] & 0x1F), cnt);
2923 DEBUG_PRINT("%s: Not a New Frame", __FUNCTION__);
2928 DEBUG_PRINT("%s: Found NAL unit (type 0x%x) of size = %d", __FUNCTION__, (dataptr[4] & 0x1F), cnt);
2950 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
2953 DEBUG_PRINT("Bytes read Zero After Read frame Size \n");
2954 DEBUG_PRINT("Checking VideoPlayback Count:video_playback_count is:%d\n",
2978 DEBUG_PRINT("Inside %s", __FUNCTION__);
2984 DEBUG_PRINT("Bytes read Zero \n");
3025 DEBUG_PRINT("Inside %s", __FUNCTION__);
3111 DEBUG_PRINT("Failed to read frame or it might be EOF\n");
3148 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
3161 DEBUG_PRINT("Read_Buffer_From_RCV_File_Seq_Layer size_struct_C: %d\n", size_struct_C);
3173 DEBUG_PRINT("Read_Buffer_From_RCV_File_Seq_Layer size_struct_C: %d\n", size_struct_C);
3206 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
3208 DEBUG_PRINT("Read_Buffer_From_RCV_File - nOffset %d\n", pBufHdr->nOffset);
3213 DEBUG_PRINT("Read_Buffer_From_RCV_File - framesize %d %x\n", len, len);
3218 DEBUG_PRINT("Read_Buffer_From_RCV_File - framesize %d %x\n", len, len);
3222 DEBUG_PRINT("Read_Buffer_From_RCV_File - Non IDR frame key %x\n", key);
3230 DEBUG_PRINT("Read_Buffer_From_RCV_File - timeStamp %d\n", pBufHdr->nTimeStamp);
3249 DEBUG_PRINT("EOS reach or Reading error %d, %s \n", readOffset, strerror( errno ));
3274 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
3295 DEBUG_PRINT("\n Bytes read Zero \n");
3383 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
3513 DEBUG_PRINT("Inside %s \n", __FUNCTION__);
3520 DEBUG_PRINT("\n ERROR:Read_Buffer_From_DivX_311_File: pBufHdr is NULL\n");
3525 DEBUG_PRINT("\n ERROR:Read_Buffer_From_DivX_311_File: p_bufhdr is NULL\n");
3534 DEBUG_PRINT("Read_Buffer_From_DivX_311_File: Frame size = %d\n", frame_size);
3542 DEBUG_PRINT("\nReturning Read Buffer from Divx 311: TS=[%ld], Offset=[%d]\n",
3566 DEBUG_PRINT("\n ERROR:Read_Buffer_From_DivX_311_File: pBufHdr is NULL\n");
3571 DEBUG_PRINT("\n ERROR:Read_Buffer_From_DivX_311_File: p_bufhdr is NULL\n");
3602 DEBUG_PRINT("\n ERROR: %s: input is NULL\n", __FUNCTION__);
3616 DEBUG_PRINT("\n%s: Bytes read Zero\n", __FUNCTION__);
3620 DEBUG_PRINT("%s: Found NALU type = %d\n", __FUNCTION__, naluType);
3632 DEBUG_PRINT("%s: Found next H264_START_CODE\n", __FUNCTION__);
3651 DEBUG_PRINT("%s: Return: pBuffer = %p, FilledLen= %ld, TS=[%Lu]\n",
3663 DEBUG_PRINT("Inside %s filename=%s\n", __FUNCTION__, in_filename);
3680 DEBUG_PRINT("O/p file %s is opened \n", outputfilename);
3739 DEBUG_PRINT("drawBG success!\n");
3860 DEBUG_PRINT("\n vid_buf_front_id = %u", vid_buf_front_id);
3873 DEBUG_PRINT("overlay_fb:");
3900 DEBUG_PRINT("\n ov_front.data.memory_id = %d", ov_front.data.memory_id);
3901 DEBUG_PRINT("\n ov_front.data.offset = %u", ov_front.data.offset);
3912 DEBUG_PRINT("\nMSMFB_OVERLAY_PLAY successfull");
4000 DEBUG_PRINT("Frame interlace type %d!\n", pExtraFrameInfo->interlaceType);
4002 DEBUG_PRINT("Interlaced Frame!\n");
4076 DEBUG_PRINT("render_fb complete!\n");
4081 DEBUG_PRINT("DISABLING OP PORT\n");
4094 DEBUG_PRINT("Freeing in external pmem case:PMEM");
4099 DEBUG_PRINT("Freeing in external pmem case:ENTRY");
4104 DEBUG_PRINT("Freeing in external pmem case:LIST");
4112 DEBUG_PRINT("OP PORT DISABLED!\n");
4120 DEBUG_PRINT("ENABLING OP PORT\n");
4123 DEBUG_PRINT("ENABLING OP PORT in ERROR_STATE not allowed\n");
4147 DEBUG_PRINT("Enable op port: calling use_buffer_mult_fd\n");
4161 DEBUG_PRINT("OMX_AllocateBuffer Output buffer success\n");
4175 DEBUG_PRINT("OMX_UseBuffer Input buffer success\n");
4190 DEBUG_PRINT("OMX_FillThisBuffer on output buf no.%d\n",bufCnt);
4201 DEBUG_PRINT("OMX_FillThisBuffer success!\n");
4205 DEBUG_PRINT("OP PORT ENABLED!\n");
4211 DEBUG_PRINT("PORT_SETTING_CHANGE_STATE\n");
4218 DEBUG_PRINT("Min Buffer Count=%d", portFmt.nBufferCountMin);
4219 DEBUG_PRINT("Buffer Size=%d", portFmt.nBufferSize);
4233 DEBUG_PRINT("Reconfiguration at middle of playback...");
4246 DEBUG_PRINT("PORT_SETTING_CHANGE DONE!\n");
4255 DEBUG_PRINT("\n pOutYUVBufHdrs %p p_eglHeaders %p output_use_buffer %d",
4259 DEBUG_PRINT("\n Index of free buffer %d",index);
4260 DEBUG_PRINT("\n Address freed %p size freed %d",pBuffer->pBuffer,
4272 DEBUG_PRINT("\n Address freed %p size freed %d,virt=0x%x,pmem_fd=0x%x",
4285 DEBUG_PRINT("\n Free output buffer");
4313 DEBUG_PRINT("\n Opening /dev/graphics/fb0");
4316 DEBUG_PRINT("\n Opening /dev/fb0");
4324 DEBUG_PRINT("\n fb_fd = %d", fb_fd);