Home
last modified time | relevance | path

Searched refs:ntohl (Results 1 – 21 of 21) sorted by relevance

/frameworks/av/media/common_time/
Dutils.cpp40 p->writeInt32(ntohl(s->sin_addr.s_addr)); in serializeSockaddr()
50 p->writeInt32(ntohl(a[0])); in serializeSockaddr()
51 p->writeInt32(ntohl(a[1])); in serializeSockaddr()
52 p->writeInt32(ntohl(a[2])); in serializeSockaddr()
53 p->writeInt32(ntohl(a[3])); in serializeSockaddr()
55 p->writeInt32(ntohl(s->sin6_flowinfo)); in serializeSockaddr()
56 p->writeInt32(ntohl(s->sin6_scope_id)); in serializeSockaddr()
/frameworks/av/media/libstagefright/
DSampleIterator.cpp213 *offset = ntohl(offset32); in getChunkOffset()
253 *size = ntohl(*size); in getSampleSizeDirect()
DMPEG4Extractor.cpp822 uint64_t chunk_size = ntohl(hdr[0]); in parseChunk()
823 int32_t chunk_type = ntohl(hdr[1]); in parseChunk()
1135 original_fourcc = ntohl(original_fourcc); in parseChunk()
1168 uint32_t defaultAlgorithmId = ntohl(*((int32_t*)buf)); in parseChunk()
1178 uint32_t defaultIVSize = ntohl(*((int32_t*)buf)); in parseChunk()
1232 pssh.datalen = ntohl(psshdatalen); in parseChunk()
1291 mLastTrack->timescale = ntohl(timescale); in parseChunk()
1313 duration = ntohl(duration32); in parseChunk()
2206 uint32_t type = ntohl(buffer); in parseChunk()
2421 brand = ntohl(brand); in parseChunk()
[all …]
DSampleTable.cpp435 mTimeToSample[i] = ntohl(mTimeToSample[i]); in setTimeToSampleParams()
511 mCompositionTimeDeltaEntries[i] = ntohl(mCompositionTimeDeltaEntries[i]); in setCompositionTimeToSampleParams()
579 mSyncSamples[i] = ntohl(mSyncSamples[i]) - 1; in setSyncSampleParams()
DDataSource.cpp77 *x = ntohl(tmp); in getUInt32()
DItemTable.cpp119 uint64_t chunk_size = ntohl(hdr[0]); in parseChunk()
120 int32_t chunk_type = ntohl(hdr[1]); in parseChunk()
DUtils.cpp76 return ((uint64_t)ntohl(x & 0xffffffff) << 32) | ntohl(x >> 32); in ntoh64()
/frameworks/av/drm/mediacas/plugins/clearkey/
Decm_generator.cpp46 return ntohl(UNALIGNED_LOAD32(p)); in Load32()
/frameworks/av/drm/mediadrm/plugins/clearkey/
DInitDataParser.cpp115 keyIdCount = ntohl(keyIdCount); in parsePssh()
/frameworks/av/media/libstagefright/foundation/
DANetworkSession.cpp189 in_addr_t addr = ntohl(localAddr.sin_addr.s_addr); in Session()
197 addr = ntohl(remoteAddr.sin_addr.s_addr); in Session()
301 uint32_t ip = ntohl(remoteAddr.sin_addr.s_addr); in readMore()
1062 in_addr_t x = ntohl(addr.sin_addr.s_addr); in createClientOrServer()
1354 in_addr_t addr = ntohl(remoteAddr.sin_addr.s_addr); in threadLoop()
/frameworks/base/libs/common_time/
Dcommon_time_server_packets.cpp59 #define DESERIALIZE_INT32(field_name) DESERIALIZE_FIELD(field_name, int32_t, ntohl)
Dcommon_time_server.cpp477 if (0xE0000000 == (ntohl(ipv4_addr->sin_addr.s_addr) & 0xF0000000)) { in setupSocket_l()
502 if (ntohl(ipv4_addr->sin_addr.s_addr) == 0xFFFFFFFF) { in setupSocket_l()
1400 unsigned long a = ntohl(sa->sin_addr.s_addr); in sockaddrToString()
Dcommon_time_server_api.cpp120 uint32_t ipv4Addr = ntohl( in setMasterElectionEndpoint()
/frameworks/av/media/libstagefright/rtsp/
DARTPWriter.cpp447 addr.s_addr = ntohl(INADDR_LOOPBACK); in dumpSessionDesc()
DARTSPConnection.cpp285 reply->setInt32("server-ip", ntohl(remote.sin_addr.s_addr)); in onConnect()
DMyTransmitter.h517 uint32_t x = ntohl(mRemoteAddr.sin_addr.s_addr); in onMessageReceived()
DMyHandler.h381 if (IN_LOOPBACK(ntohl(addr.sin_addr.s_addr))) { in pokeAHole()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp55 #define ntohl(x) ( ((x) << 24) | (((x) >> 24) & 255) | (((x) << 8) & 0xff0000) | (((x) >> 8) & 0… macro
56 #define htonl(x) ntohl(x)
175 xDivs[i] = ntohl(xDivs[i]); in fileToDevice()
179 yDivs[i] = ntohl(yDivs[i]); in fileToDevice()
181 paddingLeft = ntohl(paddingLeft); in fileToDevice()
182 paddingRight = ntohl(paddingRight); in fileToDevice()
183 paddingTop = ntohl(paddingTop); in fileToDevice()
184 paddingBottom = ntohl(paddingBottom); in fileToDevice()
187 colors[i] = ntohl(colors[i]); in fileToDevice()
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp421 (ntohl(*(uint32_t *)buffer) & 0xC07F0000) != mCodecMagic) { in decode()
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp594 pixel = ntohl(pixel); in hwcTestColor2Pixel()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1385 uint32_t a = ntohl(endpoint->sin_addr.s_addr); in setRetransmitEndpoint()