Home
last modified time | relevance | path

Searched refs:payloadSize (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp203 unsigned payloadSize = frameSizeTable[frmsizecod >> 1][fscod]; in parseAC3SyncFrame() local
205 payloadSize += frmsizecod & 1; in parseAC3SyncFrame()
207 payloadSize <<= 1; // convert from 16-bit words to bytes in parseAC3SyncFrame()
217 return payloadSize; in parseAC3SyncFrame()
291 unsigned payloadSize = frmsiz + 1; in parseEAC3SyncFrame() local
292 payloadSize <<= 1; // convert from 16-bit words to bytes in parseEAC3SyncFrame()
294 return payloadSize; in parseEAC3SyncFrame()
567 unsigned payloadSize = 0; in appendData() local
569 payloadSize = parseAC3SyncFrame(&ptr[i], size - i, NULL); in appendData()
571 payloadSize = parseEAC3SyncFrame(&ptr[i], size - i, NULL); in appendData()
[all …]
/frameworks/base/media/java/android/media/
DMediaMetrics.java753 private int reserveProperty(byte[] keyBytes, int payloadSize) { in reserveProperty() argument
759 if (payloadSize > Character.MAX_VALUE) { in reserveProperty()
760 throw new IllegalStateException("payload too large " + payloadSize); in reserveProperty()
767 + payloadSize; /* payload size */ in reserveProperty()
/frameworks/av/media/mtp/
DMtpDataPacket.cpp567 size_t payloadSize) { in write() argument
577 const size_t containerLength = payloadSize + MTP_CONTAINER_HEADER_SIZE; in write()
600 const size_t maxRead = payloadSize - processedPayloadBytes; in write()