Searched refs:TS_PACKET_SIZE (Results 1 – 5 of 5) sorted by relevance
/packages/apps/TV/src/com/android/tv/tuner/source/ |
D | FileTsStreamer.java | 48 private static final int TS_PACKET_SIZE = 188; field in FileTsStreamer 50 private static final int MIN_READ_UNIT = TS_PACKET_SIZE * 10; 314 for (int i = 0, destPos = 0; i < readSize; i += TS_PACKET_SIZE) { in read() 318 System.arraycopy(mPreBuffer, i, inputBuffer, destPos, TS_PACKET_SIZE); in read() 319 destPos += TS_PACKET_SIZE; in read() 320 filteredSize += TS_PACKET_SIZE; in read()
|
D | TunerTsStreamer.java | 47 private static final int TS_PACKET_SIZE = 188; field in TunerTsStreamer 115 long diff = ((endPosition - currentPosition + TS_PACKET_SIZE - 1) / TS_PACKET_SIZE) in read() 116 * TS_PACKET_SIZE; in read()
|
/packages/apps/TV/src/com/android/tv/tuner/ts/ |
D | TsParser.java | 54 private static final int TS_PACKET_SIZE = 188; field in TsParser 100 protected final ByteArrayBuffer mPacket = new ByteArrayBuffer(TS_PACKET_SIZE); 443 if (tsData.length < pos + TS_PACKET_SIZE) { in feedTSPacket() 469 if (payloadPos >= pos + TS_PACKET_SIZE) { in feedTSPacket() 473 stream.feedData(Arrays.copyOfRange(tsData, payloadPos, pos + TS_PACKET_SIZE), in feedTSPacket() 485 for (; pos <= length - TS_PACKET_SIZE; pos += TS_PACKET_SIZE) { in feedTSData()
|
/packages/apps/TV/jni/ |
D | tunertvinput_jni.cpp | 28 #define TS_PACKET_SIZE 188 macro 29 #define TS_PAYLOAD_SIZE (TS_PACKET_SIZE * 7) // Fit Ethernet MTU (1500) 128 javaBufferSize = (javaBufferSize / TS_PACKET_SIZE) * TS_PACKET_SIZE; in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
|
/packages/apps/TV/src/com/android/tv/tuner/tvinput/ |
D | TunerSessionWorker.java | 131 private static final int TS_PACKET_SIZE = 188; field in TunerSessionWorker 1030 / TS_PACKET_SIZE, in handleMessage() 1066 (limitInBytes - mLastLimitInBytes) / TS_PACKET_SIZE, in handleMessage()
|