Searched refs:totalPackets (Results 1 – 2 of 2) sorted by relevance
44 size_t totalPackets; // total number of packets in input file variable345 totalPackets = filelen / MPEG2TS_PACKET_SIZE; in main()346 printf("%s has %zu total packets\n", uri, totalPackets); in main()347 if (firstPacket >= totalPackets) { in main()352 numPackets = totalPackets - firstPacket; in main()353 } else if (firstPacket + numPackets > totalPackets) { in main()355 numPackets = totalPackets - firstPacket; in main()
11117 long totalPackets = totalRxPackets + totalTxPackets; in updateMobileRadioState() local11118 if (totalPackets > 0) { in updateMobileRadioState()11129 final long appRadioTime = (radioTime * appPackets) / totalPackets; in updateMobileRadioState()11135 totalPackets -= appPackets; in updateMobileRadioState()