Searched refs:port (Results 1 - 25 of 123) sorted by path

12345

/frameworks/av/include/media/
H A DAudioSystem.h303 /* Get attributes for a given audio port */
304 static status_t getAudioPort(struct audio_port *port);
317 /* Set audio port configuration */
H A DIAudioFlinger.h222 /* Get attributes for a given audio port */
223 virtual status_t getAudioPort(struct audio_port *port) = 0;
235 /* Set audio port configuration */
H A DIAudioPolicyService.h128 /* Get attributes for a given audio port */
129 virtual status_t getAudioPort(struct audio_port *port) = 0;
142 /* Set audio port configuration */
H A DIHDCP.h43 // on the specified port.
44 virtual status_t initAsync(const char *host, unsigned port) = 0;
57 // "storeMetaDataInBuffers" extension is enabled on its output port.
H A Dmediaplayer.h255 status_t setRetransmitEndpoint(const char* addrString, uint16_t port);
/frameworks/av/include/media/stagefright/foundation/
H A DANetworkSession.h41 const char *host, unsigned port, const sp<AMessage> &notify,
45 const struct in_addr &addr, unsigned port,
63 const struct in_addr &addr, unsigned port,
119 unsigned port,
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp894 status_t AudioSystem::getAudioPort(struct audio_port *port) argument
898 return aps->getAudioPort(port);
H A DIAudioFlinger.cpp810 virtual status_t getAudioPort(struct audio_port *port) argument
812 if (port == NULL) {
817 data.write(port, sizeof(struct audio_port));
823 reply.read(port, sizeof(struct audio_port));
1307 struct audio_port port; local
1308 data.read(&port, sizeof(struct audio_port));
1309 status_t status = getAudioPort(&port);
1312 reply->write(&port, sizeof(struct audio_port));
H A DIAudioPolicyService.cpp537 virtual status_t getAudioPort(struct audio_port *port) argument
539 if (port == NULL) {
544 data.write(port, sizeof(struct audio_port));
550 reply.read(port, sizeof(struct audio_port));
1088 struct audio_port port; local
1089 data.read(&port, sizeof(struct audio_port));
1090 status_t status = getAudioPort(&port);
1093 reply->write(&port, sizeof(struct audio_port));
H A DIHDCP.cpp73 virtual status_t initAsync(const char *host, unsigned port) { argument
77 data.writeInt32(port);
219 unsigned port = data.readInt32(); local
221 reply->writeInt32(initAsync(host, port));
H A Dmediaplayer.cpp698 uint16_t port) {
700 addrString ? addrString : "(null)", port);
719 mRetransmitEndpoint.sin_port = htons(port);
697 setRetransmitEndpoint(const char* addrString, uint16_t port) argument
/frameworks/av/media/libmediaplayerservice/
H A DHDCP.cpp83 status_t HDCP::initAsync(const char *host, unsigned port) { argument
90 return mHDCPModule->initAsync(host, port);
H A DHDCP.h31 virtual status_t initAsync(const char *host, unsigned port);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
H A DSoftMPEG4.cpp107 PortInfo *port = editPortInfo(1); local
110 port->mBuffers.editItemAt(mNumSamplesOutput & 1).mHeader;
203 PortInfo *port = editPortInfo(1); local
204 OMX_BUFFERHEADERTYPE *outHeader = port->mBuffers.editItemAt(1).mHeader;
/frameworks/av/media/libstagefright/foundation/
H A DANetworkSession.cpp209 msg->setInt32("server-port", ntohs(localAddr.sin_port));
211 msg->setInt32("client-port", ntohs(remoteAddr.sin_port));
856 const char *host, unsigned port, const sp<AMessage> &notify,
861 0 /* port */,
863 port,
869 const struct in_addr &addr, unsigned port,
874 port,
903 const struct in_addr &addr, unsigned port,
908 port,
965 unsigned port,
855 createRTSPClient( const char *host, unsigned port, const sp<AMessage> &notify, int32_t *sessionID) argument
868 createRTSPServer( const struct in_addr &addr, unsigned port, const sp<AMessage> &notify, int32_t *sessionID) argument
902 createTCPDatagramSession( const struct in_addr &addr, unsigned port, const sp<AMessage> &notify, int32_t *sessionID) argument
962 createClientOrServer( Mode mode, const struct in_addr *localAddr, unsigned port, const char *remoteHost, unsigned remotePort, const sp<AMessage> &notify, int32_t *sessionID) argument
[all...]
/frameworks/av/media/libstagefright/include/
H A DSoftVideoEncoderOMXComponent.h81 OMX_COLOR_FORMATTYPE mColorFormat; // Color format for the input port
85 OMX_ERRORTYPE internalSetPortParams(const OMX_PARAM_PORTDEFINITIONTYPE* port);
/frameworks/av/media/libstagefright/omx/
H A DOMXNodeInstance.cpp70 #define BUFFER_FMT(port, fmt, ...) "%s:%u " fmt, portString(port), (port), ##__VA_ARGS__
71 #define NEW_BUFFER_FMT(buffer_id, port, fmt, ...) \
72 BUFFER_FMT(port, fmt ") (#%zu => %#x", ##__VA_ARGS__, mActiveBuffers.size(), (buffer_id))
74 #define SIMPLE_BUFFER(port, size, data) BUFFER_FMT(port, "%zu@%p", (size), (data))
75 #define SIMPLE_NEW_BUFFER(buffer_id, port, size, data) \
76 NEW_BUFFER_FMT(buffer_id, port, "%zu@%p", (size), (data))
162 default: return "port";
[all...]
H A DSimpleSoftOMXComponent.cpp134 const PortInfo *port = local
137 memcpy(defParams, &port->mDef, sizeof(port->mDef));
162 PortInfo *port =
166 if (defParams->nBufferSize > port->mDef.nBufferSize) {
167 port->mDef.nBufferSize = defParams->nBufferSize;
170 if (defParams->nBufferCountActual < port->mDef.nBufferCountMin) {
172 port->mDef.nBufferCountMin, defParams->nBufferCountActual);
176 port->mDef.nBufferCountActual = defParams->nBufferCountActual;
216 PortInfo *port
[all...]
H A DSoftVideoEncoderOMXComponent.cpp172 const OMX_PARAM_PORTDEFINITIONTYPE *port) {
173 if (port->nPortIndex == kInputPortIndex) {
174 mWidth = port->format.video.nFrameWidth;
175 mHeight = port->format.video.nFrameHeight;
178 mFramerate = port->format.video.xFramerate;
180 if (port->format.video.eCompressionFormat != OMX_VIDEO_CodingUnused
181 || (port->format.video.eColorFormat != OMX_COLOR_FormatYUV420Planar
182 && port->format.video.eColorFormat != OMX_COLOR_FormatYUV420SemiPlanar
183 && port->format.video.eColorFormat != OMX_COLOR_FormatAndroidOpaque)) {
187 mColorFormat = port
171 internalSetPortParams( const OMX_PARAM_PORTDEFINITIONTYPE *port) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTPConnection.cpp124 for (unsigned port = start; port < 65536; port += 2) {
129 addr.sin_port = htons(port);
136 addr.sin_port = htons(port + 1);
140 *rtpPort = port;
H A DARTPSession.cpp65 unsigned port; local
66 if (!validateMediaFormat(i, &port) || (port & 1) != 0) {
77 int rtpSocket = MakeUDPSocket(port);
78 int rtcpSocket = MakeUDPSocket(port + 1);
100 int ARTPSession::MakeUDPSocket(unsigned port) { argument
108 addr.sin_port = htons(port);
198 bool ARTPSession::validateMediaFormat(size_t index, unsigned *port) const {
228 *port = x;
H A DARTPSession.h61 bool validateMediaFormat(size_t index, unsigned *port) const;
62 static int MakeUDPSocket(unsigned port);
H A DARTSPConnection.cpp133 const char *url, AString *host, unsigned *port, AString *path,
136 *port = 0;
181 *port = x;
187 *port = 554;
235 unsigned port; local
236 if (!ParseURL(url.c_str(), &host, &port, &path, &mUser, &mPass)
280 remote.sin_port = htons(port);
132 ParseURL( const char *url, AString *host, unsigned *port, AString *path, AString *user, AString *pass) argument
H A DARTSPConnection.h46 const char *url, AString *host, unsigned *port, AString *path,
H A DMyHandler.h150 unsigned port; local
152 mSessionURL.c_str(), &host, &port, &path, &user, &pass));
159 mSessionURL.append(StringPrintf("%u", port));
351 ALOGE("Server picked invalid RTP/RTCP port pair %s,"
352 " RTP port must be even, RTCP port must be one higher.",
359 ALOGW("Server picked an odd RTP port, it should've picked an "
503 unsigned port; local
505 mSessionURL.c_str(), &host, &port, &path, &user, &pass)
511 mSessionURL.append(StringPrintf("%u", port));
[all...]

Completed in 307 milliseconds

12345