Home
last modified time | relevance | path

Searched refs:ntohs (Results 1 – 12 of 12) 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.cpp71 CHECK_EQ(0, ntohs(mRTPAddr.sin_port) & 1); in ARTPWriter()
74 mRTCPAddr.sin_port = htons(ntohs(mRTPAddr.sin_port) | 1); in ARTPWriter()
466 sdp.append(AStringPrintf("%d", 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/opt/net/voip/src/jni/rtp/
DRtpStream.cpp59 uint16_t port = ntohs(*p); in create()
DAudioGroup.cpp427 offset += 4 + (ntohs(*(uint16_t *)&buffer[offset + 2]) << 2); in decode()
/frameworks/av/media/extractors/mp4/
DSampleIterator.cpp274 *size = ntohs(x); in getSampleSizeDirect()
DMPEG4Extractor.cpp3703 sprintf(tmp, "%d/%d", ntohs(*pTrack), ntohs(*pTotalTracks)); in parseITunesMetaData()
3715 sprintf(tmp, "%d/%d", ntohs(*pDisc), ntohs(*pTotalDiscs)); in parseITunesMetaData()
5788 dstData[j] = ntohs(srcData[j]); in read()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DJpegProcessor.cpp388 size_t length = ntohs(segment->length); in findJpegSize()
/frameworks/av/media/libstagefright/mpeg2ts/
DESQueue.cpp1123 ptr[i] = ntohs(ptr[i]); in dequeueAccessUnitPCMAudio()
/frameworks/av/media/extractors/mkv/
DMatroskaExtractor.cpp1099 dstData[i] = ntohs(srcData[i]); in read()
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1367 uint16_t p = ntohs(endpoint->sin_port); in setRetransmitEndpoint()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp60 #define ntohs(x) ( (((x) << 8) & 0xff00) | (((x) >> 8) & 255) ) macro
61 #define htons(x) ntohs(x)