Home
last modified time | relevance | path

Searched refs:ntohs (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/media/libstagefright/rtsp/
DUDPPusher.cpp115 if (!onPush() && !(ntohs(mRemoteAddr.sin_port) & 1)) { in onMessageReceived()
131 tmp.sin_port = htons(ntohs(mRemoteAddr.sin_port) | 1); in onMessageReceived()
DARTPWriter.cpp104 CHECK_EQ(0, ntohs(mRTPAddr.sin_port) & 1); in ARTPWriter()
107 mRTCPAddr.sin_port = htons(ntohs(mRTPAddr.sin_port) | 1); in ARTPWriter()
871 … sdp.append(AStringPrintf("%d", mIsIPv6 ? ntohs(mRTPAddr6.sin6_port) : ntohs(mRTPAddr.sin_port))); in dumpSessionDesc()
/frameworks/av/services/camera/libcameraservice/tests/
DNV12Compressor.cpp292 size_t length = ntohs(segment->length); in findJpegSize()
342 *width = ntohs(startOfFrame->width); in getJpegImageDimensions()
343 *height = ntohs(startOfFrame->height); in getJpegImageDimensions()
/frameworks/native/libs/binder/tests/
DbinderRpcTestService.cpp194 service->port = ntohs(reinterpret_cast<const sockaddr_in*>(addr)->sin_port); in main()
198 service->port = ntohs(reinterpret_cast<const sockaddr_in6*>(addr)->sin6_port); in main()
/frameworks/opt/net/voip/src/jni/rtp/
DRtpStream.cpp59 uint16_t port = ntohs(*p); in create()
DAudioGroup.cpp436 offset += 4 + (ntohs(*(uint16_t *)&buffer[offset + 2]) << 2); in decode()
/frameworks/av/media/module/extractors/mp4/
DSampleIterator.cpp273 *size = ntohs(x); in getSampleSizeDirect()
DMPEG4Extractor.cpp4064 sprintf(tmp, "%d/%d", ntohs(*pTrack), ntohs(*pTotalTracks)); in parseITunesMetaData()
4076 sprintf(tmp, "%d/%d", ntohs(*pDisc), ntohs(*pTotalDiscs)); in parseITunesMetaData()
6407 dstData[j] = ntohs(srcData[j]); in read()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DJpegProcessor.cpp396 size_t length = ntohs(segment->length); in findJpegSize()
/frameworks/native/libs/binder/
DRpcServer.cpp101 unsigned int realPort = ntohs(addr.sin_port); in setupInetServer()
/frameworks/av/media/module/mpeg2ts/
DESQueue.cpp1736 ptr[i] = ntohs(ptr[i]); in dequeueAccessUnitPCMAudio()
/frameworks/av/media/module/extractors/mkv/
DMatroskaExtractor.cpp1114 dstData[i] = ntohs(srcData[i]); in read()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1590 uint16_t p = ntohs(endpoint->sin_port); in setRetransmitEndpoint()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp66 #define ntohs(x) ( (((x) << 8) & 0xff00) | (((x) >> 8) & 255) ) macro
67 #define htons(x) ntohs(x)