Searched refs:TS_PACKET_SIZE (Results 1 – 7 of 7) sorted by relevance
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/ |
D | FileTunerHal.java | 34 private static final int TS_PACKET_SIZE = 188; field in FileTunerHal 37 private static final int TS_PAYLOAD_SIZE = TS_PACKET_SIZE * TS_PACKET_COUNT_PER_PAYLOAD; 40 private static final int MIN_READ_UNIT = TS_PACKET_SIZE * TS_PACKET_COUNT_PER_PAYLOAD; 194 javaBufferSize = (javaBufferSize / TS_PACKET_SIZE) * TS_PACKET_SIZE; in nativeWriteInBuffer() 197 i < readSize && destPos + TS_PACKET_SIZE <= javaBufferSize; in nativeWriteInBuffer() 198 i += TS_PACKET_SIZE) { in nativeWriteInBuffer() 202 System.arraycopy(mBuffer, i, javaBuffer, destPos, TS_PACKET_SIZE); in nativeWriteInBuffer() 203 destPos += TS_PACKET_SIZE; in nativeWriteInBuffer() 204 filteredSize += TS_PACKET_SIZE; in nativeWriteInBuffer() 229 mGenerator.nextInt(TS_PACKET_COUNT_PER_PAYLOAD) * TS_PACKET_SIZE); in readInternal() [all …]
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/ |
D | FileTsStreamer.java | 47 private static final int TS_PACKET_SIZE = 188; field in FileTsStreamer 49 private static final int MIN_READ_UNIT = TS_PACKET_SIZE * 10; 324 for (int i = 0, destPos = 0; i < readSize; i += TS_PACKET_SIZE) { in read() 328 System.arraycopy(mPreBuffer, i, inputBuffer, destPos, TS_PACKET_SIZE); in read() 329 destPos += TS_PACKET_SIZE; in read() 330 filteredSize += TS_PACKET_SIZE; in read()
|
D | TunerTsStreamer.java | 48 private static final int TS_PACKET_SIZE = 188; field in TunerTsStreamer 124 ((endPosition - currentPosition + TS_PACKET_SIZE - 1) / TS_PACKET_SIZE) in read() 125 * TS_PACKET_SIZE; in read()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/ts/ |
D | TsParser.java | 51 private static final int TS_PACKET_SIZE = 188; field in TsParser 103 protected final ByteArrayBuffer mPacket = new ByteArrayBuffer(TS_PACKET_SIZE); 465 if (tsData.length < pos + TS_PACKET_SIZE) { in feedTSPacket() 491 if (payloadPos >= pos + TS_PACKET_SIZE) { in feedTSPacket() 496 Arrays.copyOfRange(tsData, payloadPos, pos + TS_PACKET_SIZE), in feedTSPacket() 510 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) 167 javaBufferSize = (javaBufferSize / TS_PACKET_SIZE) * TS_PACKET_SIZE; in Java_com_android_tv_tuner_TunerHal_nativeWriteInBuffer()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerSessionWorkerExoV2.java | 136 private static final int TS_PACKET_SIZE = 188; field in TunerSessionWorkerExoV2 1228 (limitInBytes - mLastLimitInBytes) / TS_PACKET_SIZE, in handleMessageCheckSignal() 1269 (limitInBytes - mLastLimitInBytes) / TS_PACKET_SIZE, in handleMessageCheckSignal()
|
D | TunerSessionWorker.java | 147 private static final int TS_PACKET_SIZE = 188; field in TunerSessionWorker 1280 (limitInBytes - mLastLimitInBytes) / TS_PACKET_SIZE, in handleMessageCheckSignal() 1327 (limitInBytes - mLastLimitInBytes) / TS_PACKET_SIZE, in handleMessageCheckSignal()
|