Searched refs:sp (Results 126 - 150 of 824) sorted by relevance

1234567891011>>

/frameworks/rs/tests/
H A Dcompute.cpp21 sp<const Element> e = Element::RGBA_8888(rs);
27 sp<const Type> t = tb.create();
31 sp<Allocation> a1 = Allocation::createSized(rs, e, 1000);
34 sp<Allocation> ain = Allocation::createTyped(rs, t);
35 sp<Allocation> aout = Allocation::createTyped(rs, t);
38 sp<ScriptC_mono> sc = new ScriptC_mono(rs, NULL, 0);
/frameworks/wilhelm/tests/sandbox/
H A Dnativewindow.cpp39 sp<Surface> gSurface;
40 sp<SurfaceComposerClient> gComposerClient;
41 sp<SurfaceControl> gControl;
49 sp<SurfaceComposerClient> composerClient = new SurfaceComposerClient;
52 sp<SurfaceControl> control =
68 sp<Surface> surface = control->getSurface();
/frameworks/av/drm/libdrmframework/include/
H A DDrmManagerClientImpl.h72 int uniqueId, const sp<DrmManagerClient::OnInfoListener>& infoListener);
193 status_t consumeRights(int uniqueId, sp<DecryptHandle> &decryptHandle, int action, bool reserve);
207 int uniqueId, sp<DecryptHandle> &decryptHandle, int playbackStatus, int64_t position);
308 sp<DecryptHandle> openDecryptSession(
320 sp<DecryptHandle> openDecryptSession(
332 sp<DecryptHandle> openDecryptSession(int uniqueId, const DrmBuffer& buf,
343 status_t closeDecryptSession(int uniqueId, sp<DecryptHandle> &decryptHandle);
355 status_t initializeDecryptUnit(int uniqueId, sp<DecryptHandle> &decryptHandle,
375 status_t decrypt(int uniqueId, sp<DecryptHandle> &decryptHandle, int decryptUnitId,
387 status_t finalizeDecryptUnit(int uniqueId, sp<DecryptHandl
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTPAssembler.cpp32 void ARTPAssembler::onPacketReceived(const sp<ARTPSource> &source) {
61 void ARTPAssembler::CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from) {
72 sp<ABuffer> ARTPAssembler::MakeADTSCompoundFromAACFrames(
76 const List<sp<ABuffer> > &frames) {
78 for (List<sp<ABuffer> >::const_iterator it = frames.begin();
84 sp<ABuffer> accessUnit = new ABuffer(totalSize);
86 for (List<sp<ABuffer> >::const_iterator it = frames.begin();
88 sp<ABuffer> nal = *it;
122 sp<ABuffe
[all...]
H A DARTPWriter.h40 virtual status_t addSource(const sp<MediaSource> &source);
46 virtual void onMessageReceived(const sp<AMessage> &msg);
75 sp<MediaSource> mSource;
76 sp<ALooper> mLooper;
77 sp<AHandlerReflector<ARTPWriter> > mReflector;
107 void onRead(const sp<AMessage> &msg);
108 void onSendSR(const sp<AMessage> &msg);
110 void addSR(const sp<ABuffer> &buffer);
111 void addSDES(const sp<ABuffer> &buffer);
121 void send(const sp<ABuffe
[all...]
H A DARawAudioAssembler.cpp37 const sp<AMessage> &notify, const char *desc, const AString &params)
47 const sp<ARTPSource> &source) {
52 const sp<ARTPSource> &source) {
53 List<sp<ABuffer> > *queue = source->queue();
60 List<sp<ABuffer> >::iterator it = queue->begin();
74 sp<ABuffer> buffer = *queue->begin();
96 sp<AMessage> msg = mNotifyMsg->dup();
112 sp<AMessage> msg = mNotifyMsg->dup();
125 const char *desc, const sp<MetaData> &format) {
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.h51 virtual sp<ICamera> connect(const sp<ICameraClient>& cameraClient, int cameraId);
52 virtual void removeClient(const sp<ICameraClient>& cameraClient);
58 virtual sp<Client> getClientByRemote(const wp<IBinder>& cameraClient);
80 virtual status_t connect(const sp<ICameraClient>& client) = 0;
83 virtual status_t setPreviewDisplay(const sp<Surface>& surface) = 0;
84 virtual status_t setPreviewTexture(const sp<ISurfaceTexture>& surfaceTexture) = 0;
93 virtual void releaseRecordingFrame(const sp<IMemory>& mem) = 0;
102 Client(const sp<CameraService>& cameraService,
103 const sp<ICameraClien
[all...]
H A DCamera2Client.h47 virtual status_t connect(const sp<ICameraClient>& client);
50 virtual status_t setPreviewDisplay(const sp<Surface>& surface);
52 const sp<ISurfaceTexture>& surfaceTexture);
61 virtual void releaseRecordingFrame(const sp<IMemory>& mem);
73 Camera2Client(const sp<CameraService>& cameraService,
74 const sp<ICameraClient>& cameraClient,
100 const sp<Camera2Device>& getCameraDevice();
101 const sp<CameraService>& getCameraService();
126 sp<ICameraClient> &mCameraClient;
130 SharedCameraClient(const sp<ICameraClien
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewPlayer.h46 void setSurface(const sp<Surface> &surface);
47 void setSurfaceTexture(const sp<ISurfaceTexture> &surfaceTexture);
60 status_t setDataSource(const sp<IStreamSource> &source);
62 void setAudioSink(const sp<MediaPlayerBase::AudioSink> &audioSink);
130 sp<Surface> mSurface;
131 sp<ANativeWindow> mNativeWindow;
132 sp<MediaPlayerBase::AudioSink> mAudioSink;
139 sp<MediaSource> mVideoTrack;
140 sp<MediaSource> mVideoSource;
143 sp<MediaSourc
[all...]
/frameworks/av/media/libstagefright/include/
H A DAwesomePlayer.h70 status_t setDataSource(const sp<IStreamSource> &source);
84 status_t setSurfaceTexture(const sp<ISurfaceTexture> &surfaceTexture);
85 void setAudioSink(const sp<MediaPlayerBase::AudioSink> &audioSink);
155 sp<ANativeWindow> mNativeWindow;
156 sp<MediaPlayerBase::AudioSink> mAudioSink;
164 sp<DataSource> mFileSource;
166 sp<MediaSource> mVideoTrack;
167 sp<MediaSource> mVideoSource;
168 sp<AwesomeRenderer> mVideoRenderer;
173 sp<MediaSourc
[all...]
H A DTimedEventQueue.h73 event_id postEvent(const sp<Event> &event);
75 event_id postEventToBack(const sp<Event> &event);
78 event_id postEventWithDelay(const sp<Event> &event, int64_t delay_us);
82 event_id postTimedEvent(const sp<Event> &event, int64_t realtime_us);
93 bool (*predicate)(void *cookie, const sp<Event> &event),
101 sp<Event> event;
124 sp<Event> removeEventFromQueue_l(event_id id);
H A DNuCachedSource2.h32 const sp<DataSource> &source,
43 virtual sp<DecryptHandle> DrmInitialization(const char* mime);
44 virtual void getDrmInfo(sp<DecryptHandle> &handle, DrmManagerClient **client);
92 sp<DataSource> mSource;
93 sp<AHandlerReflector<NuCachedSource2> > mReflector;
94 sp<ALooper> mLooper;
104 sp<AMessage> mAsyncResult;
118 void onMessageReceived(const sp<AMessage> &msg);
120 void onRead(const sp<AMessage> &msg);
H A DAACEncoder.h32 AACEncoder(const sp<MediaSource> &source, const sp<MetaData> &meta);
36 virtual sp<MetaData> getFormat();
45 sp<MediaSource> mSource;
46 sp<MetaData> mMeta;
/frameworks/av/cmds/stagefright/
H A Dstream.cpp48 virtual void setListener(const sp<IStreamListener> &listener);
49 virtual void setBuffers(const Vector<sp<IMemory> > &buffers);
61 sp<IStreamListener> mListener;
62 Vector<sp<IMemory> > mBuffers;
82 void MyStreamSource::setListener(const sp<IStreamListener> &listener) {
86 void MyStreamSource::setBuffers(const Vector<sp<IMemory> > &buffers) {
102 sp<AMessage> extra = new AMessage;
112 sp<IMemory> mem = mBuffers.itemAt(index);
128 virtual void setListener(const sp<IStreamListener> &listener);
129 virtual void setBuffers(const Vector<sp<IMemor
[all...]
/frameworks/av/include/media/stagefright/
H A DOMXCodec.h64 static sp<MediaSource> Create(
65 const sp<IOMX> &omx,
66 const sp<MetaData> &meta, bool createEncoder,
67 const sp<MediaSource> &source,
70 const sp<ANativeWindow> &nativeWindow = NULL);
73 const sp<IOMX> &omx, IOMX::node_id node, bool isEncoder,
79 virtual sp<MetaData> getFormat();
168 sp<IMemory> mMem;
179 sp<IOMX> mOMX;
191 sp<MetaDat
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayerBase.h126 void computeGeometry(const sp<const DisplayDevice>& hw, LayerMesh* mesh) const;
130 virtual sp<LayerBaseClient> getLayerBaseClient() const;
131 virtual sp<Layer> getLayer() const;
135 virtual void setGeometry(const sp<const DisplayDevice>& hw,
137 virtual void setPerFrameData(const sp<const DisplayDevice>& hw,
139 virtual void setAcquireFence(const sp<const DisplayDevice>& hw,
148 virtual void draw(const sp<const DisplayDevice>& hw, const Region& clip) const;
149 virtual void draw(const sp<const DisplayDevice>& hw);
154 virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip) const = 0;
208 virtual bool needsFiltering(const sp<cons
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.h33 virtual status_t setCamera(const sp<ICamera>& camera,
34 const sp<ICameraRecordingProxy>& proxy);
35 virtual status_t setPreviewSurface(const sp<Surface>& surface);
48 const sp<IMediaRecorderClient>& listener);
58 virtual sp<ISurfaceTexture> querySurfaceMediaSource();
64 const sp<MediaPlayerService>& service,
71 sp<MediaPlayerService> mMediaPlayerService;
H A DStagefrightRecorder.h53 virtual status_t setCamera(const sp<ICamera>& camera, const sp<ICameraRecordingProxy>& proxy);
54 virtual status_t setPreviewSurface(const sp<Surface>& surface);
58 virtual status_t setListener(const sp<IMediaRecorderClient>& listener);
68 virtual sp<ISurfaceTexture> querySurfaceMediaSource() const;
71 sp<ICamera> mCamera;
72 sp<ICameraRecordingProxy> mCameraProxy;
73 sp<Surface> mPreviewSurface;
74 sp<IMediaRecorderClient> mListener;
75 sp<MediaWrite
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/mp4/
H A DMP4Source.cpp30 StreamSource(const sp<IStreamSource> &source)
48 sp<AMessage> extra;
70 sp<AMessage> extra;
101 sp<NuPlayer::NuPlayerStreamListener> mListener;
107 MP4Source::MP4Source(const sp<IStreamSource> &source)
127 sp<AMessage> MP4Source::getFormat(bool audio) {
132 bool audio, sp<ABuffer> *accessUnit) {
/frameworks/wilhelm/src/android/
H A Dandroid_Effect.h22 extern android::status_t android_eq_setParam(android::sp<android::AudioEffect> pFx,
25 extern android::status_t android_eq_getParam(android::sp<android::AudioEffect> pFx,
33 extern android::status_t android_bb_setParam(android::sp<android::AudioEffect> pFx,
36 extern android::status_t android_bb_getParam(android::sp<android::AudioEffect> pFx,
44 extern android::status_t android_virt_setParam(android::sp<android::AudioEffect> pFx,
47 extern android::status_t android_virt_getParam(android::sp<android::AudioEffect> pFx,
55 extern android::status_t android_prev_setPreset(android::sp<android::AudioEffect> pFx,
58 extern android::status_t android_prev_getPreset(android::sp<android::AudioEffect> pFx,
66 extern android::status_t android_erev_setParam(android::sp<android::AudioEffect> pFx,
69 extern android::status_t android_erev_getParam(android::sp<androi
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_hor_half.s88 STMFD sp!, {r0-r11, lr}
89 SUB sp, sp, #0x1e4
93 LDR partW, [sp,#0x220] ;// partWidth
96 LDR width, [sp,#0x218] ;// width
102 LDR partH, [sp,#0x224] ;// partHeight
104 LDR height, [sp,#0x21c] ;// height
110 LDR partH, [sp,#0x224] ;// partHeight
111 LDR height, [sp,#0x21c] ;// height
112 LDR partW, [sp,#
[all...]
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h89 virtual sp<IAudioTrack> createTrack(
97 const sp<IMemory>& sharedBuffer,
103 virtual sp<IAudioRecord> openRecord(
143 virtual void registerClient(const sp<IAudioFlingerClient>& client);
195 virtual sp<IEffect> createEffect(pid_t pid,
197 const sp<IEffectClient>& effectClient,
255 sp<SyncEvent> createSyncEvent(AudioSystem::sync_event_t type,
292 Client(const sp<AudioFlinger>& audioFlinger, pid_t pid);
294 sp<MemoryDealer> heap() const;
296 sp<AudioFlinge
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DALooperRoster.cpp35 const sp<ALooper> looper, const sp<AHandler> &handler) {
65 sp<AHandler> handler = info.mHandler.promote();
75 const sp<AMessage> &msg, int64_t delayUs) {
81 const sp<AMessage> &msg, int64_t delayUs) {
91 sp<ALooper> looper = info.mLooper.promote();
107 void ALooperRoster::deliverMessage(const sp<AMessage> &msg) {
108 sp<AHandler> handler;
136 sp<ALooper> ALooperRoster::findLooper(ALooper::handler_id handlerID) {
145 sp<ALoope
[all...]
/frameworks/rs/cpp/
H A DAllocation.h32 android::sp<const Type> mType;
34 android::sp<Allocation> mAdaptedAllocation;
54 void updateCacheInfo(sp<const Type> t);
56 Allocation(void *id, RenderScript *rs, sp<const Type> t, uint32_t usage);
69 android::sp<const Type> getType() {
115 static sp<Allocation> createTyped(RenderScript *rs, sp<const Type> type,
117 static sp<Allocation> createTyped(RenderScript *rs, sp<const Type> type,
120 static sp<Allocatio
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.h46 virtual status_t dequeueAccessUnit(bool audio, sp<ABuffer> *accessUnit);
55 virtual sp<MetaData> getFormatMeta(bool audio);
59 sp<MediaSource> mSource;
60 sp<AnotherPacketSource> mPackets;
69 void initFromDataSource(const sp<DataSource> &dataSource);

Completed in 323 milliseconds

1234567891011>>