Home
last modified time | relevance | path

Searched refs:TS_PACKET_SIZE (Results 1 – 5 of 5) sorted by relevance

/packages/apps/TV/src/com/android/tv/tuner/source/
DFileTsStreamer.java48 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()
DTunerTsStreamer.java47 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/
DTsParser.java54 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/
Dtunertvinput_jni.cpp28 #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/
DTunerSessionWorker.java131 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()