Home
last modified time | relevance | path

Searched refs:htonl (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/media/libstagefright/foundation/
DByteUtils.cpp54 return ((uint64_t)htonl(x & 0xffffffff) << 32) | htonl(x >> 32); in hton64()
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp287 static_cast<int32_t>(htonl(mDtmfMagic | mSequence)), in encode()
288 static_cast<int32_t>(htonl(mDtmfStart)), in encode()
290 static_cast<int32_t>(htonl(mDtmfEvent | duration)), in encode()
293 buffer[3] |= htonl(1 << 23); in encode()
348 buffer[0] = htonl(mCodecMagic | mSequence); in encode()
349 buffer[1] = htonl(mTimestamp); in encode()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp1130 uint32_t size = htonl(static_cast<uint32_t>(mOffset - mMdatOffset)); in reset()
1379 tiffHdrOffset = htonl(tiffHdrOffset); in addSample_l()
1523 int32_t x = htonl(mInMemoryCacheOffset - offset); in endBox()
1543 x = htonl(x); in writeInt32()
1936 mStscTableEntries->add(htonl(chunkId)); in addOneStscTableEntry()
1937 mStscTableEntries->add(htonl(sampleId)); in addOneStscTableEntry()
1938 mStscTableEntries->add(htonl(1)); in addOneStscTableEntry()
1942 mStssTableEntries->add(htonl(sampleId)); in addOneStssTableEntry()
1951 mSttsTableEntries->add(htonl(sampleCount)); in addOneSttsTableEntry()
1952 mSttsTableEntries->add(htonl(duration)); in addOneSttsTableEntry()
[all …]
DMPEG2TSWriter.cpp710 uint32_t crc = htonl(crc32(&buffer->data()[5], 12)); in writeProgramAssociationTable()
786 uint32_t crc = htonl(crc32(&buffer->data()[5], 12+mSources.size()*5)); in writeProgramMap()
/frameworks/av/drm/mediadrm/plugins/clearkey/default/
DInitDataParser.cpp94 expectedSize = htonl(expectedSize); in parsePssh()
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp579 pixel = htonl((uint32_t) round((((1 << attrib->c1Size) - 1) * color.c1())) in hwcTestColor2Pixel()
582 pixel |= htonl((uint32_t) round((((1 << attrib->c2Size) - 1) * color.c2())) in hwcTestColor2Pixel()
585 pixel |= htonl((uint32_t) round((((1 << attrib->c3Size) - 1) * color.c3())) in hwcTestColor2Pixel()
589 pixel |= htonl((uint32_t) round((((1 << attrib->aSize) - 1) * alpha)) in hwcTestColor2Pixel()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DInitDataParser.cpp92 expectedSize = htonl(expectedSize); in parsePssh()
/frameworks/base/services/core/jni/
Dcom_android_server_connectivity_Vpn.cpp170 *as_in_addr(&ifr4.ifr_netmask) = htonl(mask); in set_addresses()
/frameworks/av/media/libstagefright/rtsp/
DARTPConnection.cpp128 addr.sin_addr.s_addr = htonl(INADDR_ANY); in MakePortPair()
DMyTransmitter.h172 addr.s_addr = htonl(mServerIP); in issueAnnounce()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp57 #undef htonl
59 #define htonl(x) ntohl(x) macro
157 xDivs[i] = htonl(xDivs[i]); in deviceToFile()
161 yDivs[i] = htonl(yDivs[i]); in deviceToFile()
163 paddingLeft = htonl(paddingLeft); in deviceToFile()
164 paddingRight = htonl(paddingRight); in deviceToFile()
165 paddingTop = htonl(paddingTop); in deviceToFile()
166 paddingBottom = htonl(paddingBottom); in deviceToFile()
169 colors[i] = htonl(colors[i]); in deviceToFile()
DBackupHelpers.cpp476 uint32_t chunk_size_no = htonl(size); in send_tarfile_chunk()