Lines Matching defs:cnt
1169 DEBUG_PRINT("Function %s cnt[%d]\n", __FUNCTION__, ebd_cnt);
2705 char cnt =0;
2710 while (cnt < 10)
2713 DEBUG_PRINT("loop[%d] count[%d]\n",cnt,count);
2714 count = read( inputBufferFileFd, &inputFrameSize[cnt], 1);
2715 if (inputFrameSize[cnt] == '\0' )
2717 cnt++;
2719 inputFrameSize[cnt]='\0';
2744 int cnt = 0;
2752 bytes_read = read(inputBufferFileFd, &dataptr[cnt], 1);
2758 code |= (0x000000FF & dataptr[cnt]);
2759 cnt++;
2760 if ((cnt == 4) && (code != H264_START_CODE)) {
2762 cnt = 0;
2765 if ((cnt > 4) && (code == H264_START_CODE)) {
2767 bytes_read = read(inputBufferFileFd, &dataptr[cnt], 1);
2772 DEBUG_PRINT("%s: READ Byte[%d] = 0x%x", __FUNCTION__, cnt, dataptr[cnt]);
2773 naluType = dataptr[cnt] & 0x1F;
2774 cnt++;
2777 bytes_read = read(inputBufferFileFd, &dataptr[cnt], 1);
2782 DEBUG_PRINT("%s: READ Byte[%d] = 0x%x", __FUNCTION__, cnt, dataptr[cnt]);
2783 newFrame = (dataptr[cnt] & 0x80);
2784 cnt++;
2787 cnt -= 6;
2788 DEBUG_PRINT("%s: Found a NAL unit (type 0x%x) of size = %d", __FUNCTION__, (dataptr[4] & 0x1F), cnt);
2795 cnt -= 5;
2796 DEBUG_PRINT("%s: Found NAL unit (type 0x%x) of size = %d", __FUNCTION__, (dataptr[4] & 0x1F), cnt);
2812 return cnt;