/frameworks/av/media/libstagefright/rtsp/ |
H A D | rtp_test.cpp | 66 sp<ALooper> looper = new ALooper; 68 sp<UDPPusher> rtp_pusher; 69 sp<UDPPusher> rtcp_pusher; 79 sp<ARTPSession> session = new ARTPSession; 163 sp<ASessionDescription> desc = new ASessionDescription; 179 sp<MediaSource> source = session->trackAt(0); 184 sp<MediaSource> decoder = OMXCodec::Create(
|
H A D | MyHandler.h | 112 const sp<AMessage> ¬ify, 173 sp<AMessage> notify = new AMessage('biny', this); 176 sp<AMessage> reply = new AMessage('conn', this); 180 void loadSDP(const sp<ASessionDescription>& desc) { 184 sp<AMessage> notify = new AMessage('biny', this); 187 sp<AMessage> reply = new AMessage('sdpl', this); 218 sp<AMessage> msg = new AMessage('seek', this); 225 sp<AMessage> msg = new AMessage('see1', this); 235 sp<AMessage> msg = new AMessage('paus', this); 242 sp<AMessag [all...] |
H A D | APacketSource.cpp | 72 static sp<ABuffer> decodeHex(const AString &s) { 78 sp<ABuffer> buffer = new ABuffer(outLen); 107 static sp<ABuffer> MakeAVCCodecSpecificData( 113 sp<ABuffer> profileLevelID = NULL; 119 Vector<sp<ABuffer> > paramSets; 136 sp<ABuffer> nal = decodeBase64(nalString); 173 sp<ABuffer> csd = new ABuffer(csdSize); 190 sp<ABuffer> nal = paramSets.editItemAt(i); 208 sp<ABuffer> nal = paramSets.editItemAt(i + numSeqParameterSets); 223 sp<ABuffe [all...] |
/frameworks/rs/cpp/ |
H A D | Type.cpp | 69 Type::Type(void *id, sp<RS> rs) : BaseObj(id, rs) { 102 sp<const Type> Type::create(sp<RS> rs, sp<const Element> e, uint32_t dimX, uint32_t dimY, uint32_t dimZ) { 119 Type::Builder::Builder(sp<RS> rs, sp<const Element> e) { 173 sp<const Type> Type::Builder::create() {
|
/frameworks/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 74 JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera); 77 virtual void postData(int32_t msgType, const sp<IMemory>& dataPtr, 79 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr); 83 sp<Camera> getCamera() { Mutex::Autolock _l(mLock); return mCamera; } 88 void copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int msgType); 95 sp<Camera> mCamera; // strong reference to native object 126 sp<Camera> get_native_camera(JNIEnv *env, jobject thiz, JNICameraContext** pContext) 128 sp<Camera> camera; 144 JNICameraContext::JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera) 246 void JNICameraContext::copyAndPost(JNIEnv* env, const sp<IMemor [all...] |
H A D | android_media_AudioRecord.cpp | 125 static sp<JNIDeviceCallback> getJniDeviceCallback(JNIEnv* env, jobject thiz) 131 return sp<JNIDeviceCallback>(cb); 134 static sp<JNIDeviceCallback> setJniDeviceCallback(JNIEnv* env, 136 const sp<JNIDeviceCallback>& cb) 139 sp<JNIDeviceCallback> old = 153 static sp<AudioRecord> getAudioRecord(JNIEnv* env, jobject thiz) 158 return sp<AudioRecord>(ar); 161 static sp<AudioRecord> setAudioRecord(JNIEnv* env, jobject thiz, const sp<AudioRecord>& ar) 164 sp<AudioRecor [all...] |
H A D | android_media_AudioTrack.cpp | 80 sp<MemoryHeapBase> mMemHeap; 81 sp<MemoryBase> mMemBase; 83 sp<JNIDeviceCallback> mDeviceCallback; 168 static sp<AudioTrack> getAudioTrack(JNIEnv* env, jobject thiz) 173 return sp<AudioTrack>(at); 176 static sp<AudioTrack> setAudioTrack(JNIEnv* env, jobject thiz, const sp<AudioTrack>& at) 179 sp<AudioTrack> old = 192 sp<AudioTrack> android_media_AudioTrack_getAudioTrack(JNIEnv* env, jobject audioTrackObj) { 277 sp<AudioTrac [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src_gcc/ |
H A D | omxVCM4P10_InterpolateLuma_s.S | 33 SUB sp,sp,#0x10 34 LDR r6,[sp,#0x78] 35 LDR r7,[sp,#0x7c] 36 LDR r5,[sp,#0x80] 37 LDR r4,[sp,#0x84] 39 ADD r11,sp,#0 73 ADD r11,sp,#0 87 ADD r11,sp,#0 97 ADD r11,sp,# [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | AMessage.cpp | 40 status_t AReplyToken::setReply(const sp<AMessage> &reply) { 57 AMessage::AMessage(uint32_t what, const sp<const AHandler> &handler) 75 void AMessage::setTarget(const sp<const AHandler> &handler) { 259 const char *name, const sp<RefBase> &obj, Type type) { 267 void AMessage::setObject(const char *name, const sp<RefBase> &obj) { 271 void AMessage::setBuffer(const char *name, const sp<ABuffer> &buffer) { 272 setObjectInternal(name, sp<RefBase>(buffer), kTypeBuffer); 275 void AMessage::setMessage(const char *name, const sp<AMessage> &obj) { 304 bool AMessage::findObject(const char *name, sp<RefBase> *obj) const { 313 bool AMessage::findBuffer(const char *name, sp<ABuffe [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaSync.cpp | 64 status_t JMediaSync::setSurface(const sp<IGraphicBufferProducer> &bufferProducer) { 68 status_t JMediaSync::setAudioTrack(const sp<AudioTrack> &audioTrack) { 73 sp<IGraphicBufferProducer>* bufferProducer) { 77 sp<const MediaClock> JMediaSync::getMediaClock() { 124 static sp<JMediaSync> setMediaSync(JNIEnv *env, jobject thiz, const sp<JMediaSync> &sync) { 125 sp<JMediaSync> old = (JMediaSync *)env->GetLongField(thiz, gFields.context); 138 static sp<JMediaSync> getMediaSync(JNIEnv *env, jobject thiz) { 174 sp<JMediaSync> sync = getMediaSync(env, thiz); 180 sp<IGraphicBufferProduce [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerRenderer.cpp | 85 const sp<MediaPlayerBase::AudioSink> &sink, 86 const sp<AMessage> ¬ify, 136 const sp<ABuffer> &buffer, 137 const sp<AMessage> ¬ifyConsumed) { 138 sp<AMessage> msg = new AMessage(kWhatQueueBuffer, this); 149 sp<AMessage> msg = new AMessage(kWhatQueueEOS, this); 157 sp<AMessage> msg = new AMessage(kWhatConfigPlayback, this); 159 sp<AMessage> response; 192 sp<AMessage> msg = new AMessage(kWhatGetPlaybackSettings, this); 193 sp<AMessag [all...] |
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClientImpl.cpp | 34 sp<IDrmManagerService> DrmManagerClientImpl::sDrmManagerService; 35 sp<DrmManagerClientImpl::DeathNotifier> DrmManagerClientImpl::sDeathNotifier; 40 sp<IDrmManagerService> service = getDrmManagerService(); 52 const sp<IDrmManagerService>& DrmManagerClientImpl::getDrmManagerService() { 61 sp<IServiceManager> sm = defaultServiceManager(); 62 sp<IBinder> binder; 93 const sp<DrmManagerClient::OnInfoListener>& infoListener) { 181 int uniqueId, sp<DecryptHandle> &decryptHandle, 192 int uniqueId, sp<DecryptHandle> &decryptHandle, 259 sp<DecryptHandl [all...] |
/frameworks/av/media/img_utils/src/ |
H A D | TiffWriter.cpp | 96 sp<TiffIfd> ifd = mIfd; 143 sp<TiffIfd> ifd = mIfd; 169 sp<TiffEntry> TiffWriter::getEntry(uint16_t tag, uint32_t ifd) const { 185 status_t TiffWriter::addEntry(const sp<TiffEntry>& entry, uint32_t ifd) { 203 sp<TiffIfd> selectedIfd = mNamedIfds[index]; 213 sp<TiffIfd> selected = mNamedIfds[index]; 224 sp<TiffIfd> newIfd = new TiffIfd(ifd); 228 sp<TiffIfd> last = findLastIfd(); 253 sp<TiffIfd> parent = mNamedIfds[parentIndex]; 254 sp<TiffIf [all...] |
/frameworks/av/include/media/ |
H A D | mediaplayer.h | 213 const sp<IMediaHTTPService> &httpService, 218 status_t setDataSource(const sp<IStreamSource> &source); 219 status_t setDataSource(const sp<IDataSource> &source); 221 const sp<IGraphicBufferProducer>& bufferProducer); 222 status_t setListener(const sp<MediaPlayerListener>& listener); 257 status_t setNextMediaPlayer(const sp<MediaPlayer>& player); 264 status_t attachNewPlayer(const sp<IMediaPlayer>& player); 266 status_t doSetRetransmitEndpoint(const sp<IMediaPlayer>& player); 269 sp<IMediaPlayer> mPlayer; 274 sp<MediaPlayerListene [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | TSPacketizer.cpp | 36 Track(const sp<AMessage> &format, 54 sp<ABuffer> prependCSD(const sp<ABuffer> &accessUnit) const; 55 sp<ABuffer> prependADTSHeader(const sp<ABuffer> &accessUnit) const; 58 sp<ABuffer> descriptorAt(size_t index) const; 67 sp<AMessage> mFormat; 75 Vector<sp<ABuffer> > mCSD; 77 Vector<sp<ABuffer> > mDescriptors; 87 const sp<AMessag [all...] |
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyClientImpl.cpp | 30 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); 47 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); 59 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); 69 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); 79 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); 90 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); 107 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); 118 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); 136 sp<IAudioFlinger> af = AudioSystem::get_audio_flinger(); 178 sp<IAudioFlinge [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3ZslStream.cpp | 121 sp<IGraphicBufferProducer> producer; 122 sp<IGraphicBufferConsumer> consumer; 156 sp<PinnedBufferItem> bufferItem; 158 List<sp<RingBufferConsumer::PinnedBufferItem> >::iterator it, end; 193 sp<Fence> *releaseFenceOut) { 207 sp<PinnedBufferItem> bufferItem; 210 Vector<sp<PinnedBufferItem> >::iterator it, end; 215 const sp<PinnedBufferItem>& tmp = *it; 251 sp<Fence> releaseFence = new Fence(releaseFenceFd); 293 sp<RingBufferConsume [all...] |
/frameworks/native/libs/binder/tests/ |
H A D | binderLibTest.cpp | 116 sp<IBinder> getServer(void) { 126 sp<IServiceManager> sm = defaultServiceManager(); 155 sp<IBinder> m_server; 166 sp<IBinder> addServer(int32_t *idPtr = NULL) 171 sp<IBinder> binder; 195 sp<IBinder> m_server; 355 sp<IBinder> server = addServer(); 375 sp<IBinder> server; 418 sp<IBinder> server; 476 sp<BinderLibTestCallBac [all...] |
/frameworks/native/libs/gui/ |
H A D | SurfaceControl.cpp | 48 const sp<SurfaceComposerClient>& client, 49 const sp<IBinder>& handle, 50 const sp<IGraphicBufferProducer>& gbp) 85 const sp<SurfaceControl>& lhs, const sp<SurfaceControl>& rhs) 151 const sp<SurfaceComposerClient>& client(mClient); 158 const sp<SurfaceComposerClient>& client(mClient); 173 const sp<SurfaceControl>& control, Parcel* parcel) 175 sp<IGraphicBufferProducer> bp; 182 sp<Surfac [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | EventThread.cpp | 47 EventThread::EventThread(const sp<VSyncSource>& src) 96 sp<EventThread::Connection> EventThread::createEventConnection() const { 101 const sp<EventThread::Connection>& connection) { 115 const sp<EventThread::Connection>& connection) { 127 const sp<EventThread::Connection>& connection) { 180 Vector< sp<EventThread::Connection> > signalConnections; 186 const sp<Connection>& conn(signalConnections[i]); 209 Vector< sp<EventThread::Connection> > EventThread::waitForEvent( 213 Vector< sp<EventThread::Connection> > signalConnections; 245 sp<Connectio [all...] |
H A D | SurfaceFlinger.cpp | 204 sp<ISurfaceComposerClient> SurfaceFlinger::createConnection() 206 sp<ISurfaceComposerClient> bclient; 207 sp<Client> client(new Client(this)); 215 sp<IBinder> SurfaceFlinger::createDisplay(const String8& displayName, 219 sp<SurfaceFlinger> flinger; 227 DisplayToken(const sp<SurfaceFlinger>& flinger) 232 sp<BBinder> token = new DisplayToken(this); 243 void SurfaceFlinger::destroyDisplay(const sp<IBinder>& display) { 272 sp<IBinder> SurfaceFlinger::getBuiltInDisplay(int32_t id) { 280 sp<IGraphicBufferAllo [all...] |
/frameworks/av/cmds/screenrecord/ |
H A D | screenrecord.cpp | 148 static status_t prepareEncoder(float displayFps, sp<MediaCodec>* pCodec, 149 sp<IGraphicBufferProducer>* pBufferProducer) { 157 sp<AMessage> format = new AMessage; 166 sp<ALooper> looper = new ALooper; 170 sp<MediaCodec> codec = MediaCodec::CreateByType(looper, kMimeTypeAvc, true); 187 sp<IGraphicBufferProducer> bufferProducer; 214 static status_t setDisplayProjection(const sp<IBinder>& dpy, 292 const sp<IGraphicBufferProducer>& bufferProducer, 293 sp<IBinder>* pDisplayHandle) { 294 sp<IBinde [all...] |
/frameworks/base/core/java/android/text/ |
H A D | TextUtils.java | 635 Spanned sp = (Spanned) cs; 636 Object[] os = sp.getSpans(0, cs.length(), Object.class); 661 writeWhere(p, sp, o); 677 private static void writeWhere(Parcel p, Spanned sp, Object o) { argument 678 p.writeInt(sp.getSpanStart(o)); 679 p.writeInt(sp.getSpanEnd(o)); 680 p.writeInt(sp.getSpanFlags(o)); 701 SpannableString sp = new SpannableString(string); 711 readSpan(p, sp, new AlignmentSpan.Standard(p)); 715 readSpan(p, sp, ne 1007 readSpan(Parcel p, Spannable sp, Object o) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MPEG2TSWriter.cpp | 38 SourceInfo(const sp<MediaSource> &source); 40 void start(const sp<AMessage> ¬ify); 54 sp<ABuffer> lastAccessUnit(); 56 void setLastAccessUnit(const sp<ABuffer> &accessUnit); 62 virtual void onMessageReceived(const sp<AMessage> &msg); 72 sp<MediaSource> mSource; 73 sp<ALooper> mLooper; 74 sp<AMessage> mNotify; 76 sp<ABuffer> mAACCodecSpecificData; 78 sp<ABuffe [all...] |
/frameworks/av/include/media/nbaio/ |
H A D | NBLog.h | 121 Writer(size_t size, const sp<IMemory>& iMemory); 138 sp<IMemory> getIMemory() const { return mIMemory; } 146 const sp<IMemory> mIMemory; // ref-counted version 180 Reader(size_t size, const sp<IMemory>& iMemory); 185 bool isIMemory(const sp<IMemory>& iMemory) const; 190 const sp<IMemory> mIMemory; // ref-counted version
|