HomeSort by relevance Sort by last modified time
    Searched refs:MPEG2_TS_PACKET_SIZE (Results 1 - 3 of 3) sorted by null

  /development/ndk/platforms/android-14/samples/native-media/jni/
native-media-jni.c 68 #define MPEG2_TS_PACKET_SIZE 188
74 #define BUFFER_SIZE (PACKETS_PER_BUFFER*MPEG2_TS_PACKET_SIZE)
153 assert((dataSize > 0) && ((dataSize % MPEG2_TS_PACKET_SIZE) == 0));
168 if ((bytesRead % MPEG2_TS_PACKET_SIZE) != 0) {
171 size_t packetsRead = bytesRead / MPEG2_TS_PACKET_SIZE;
172 size_t bufferSize = packetsRead * MPEG2_TS_PACKET_SIZE;
277 * We want to read whole packets (integral multiples of MPEG2_TS_PACKET_SIZE).
287 if ((bytesRead % MPEG2_TS_PACKET_SIZE) != 0) {
290 size_t packetsRead = bytesRead / MPEG2_TS_PACKET_SIZE;
302 size_t bufferSize = packetsThisBuffer * MPEG2_TS_PACKET_SIZE;
    [all...]
  /frameworks/wilhelm/src/android/
android_defs.h 65 #define MPEG2_TS_PACKET_SIZE 188
  /frameworks/wilhelm/src/itf/
IAndroidBufferQueue.c 324 if (dataLength % MPEG2_TS_PACKET_SIZE == 0) {
336 MPEG2_TS_PACKET_SIZE);

Completed in 554 milliseconds