/frameworks/av/camera/ |
H A D | Camera.cpp | 46 sp<Camera> Camera::create(const sp<ICamera>& camera) 54 sp<Camera> c = new Camera(-1); 74 sp<Camera> Camera::connect(int cameraId, const String16& clientPackageName, 83 sp<Camera>& camera) 86 sp<Camera> c = new Camera(cameraId); 87 sp<ICameraClient> cl = c; 89 const sp<ICameraService>& cs = CameraBaseT::getCameraService(); 110 sp <ICamera> c = mCamera; 117 sp <ICamer [all...] |
H A D | CameraBase.cpp | 39 sp<ICameraService> gCameraService; 59 sp<DeathNotifier> gDeathNotifier; 68 const sp<ICameraService>& CameraBase<TCam, TCamTraits>::getCameraService() 72 sp<IServiceManager> sm = defaultServiceManager(); 73 sp<IBinder> binder; 93 sp<TCam> CameraBase<TCam, TCamTraits>::connect(int cameraId, 98 sp<TCam> c = new TCam(cameraId); 99 sp<TCamCallbacks> cl = c; 101 const sp<ICameraService>& cs = getCameraService(); 143 sp<typenam [all...] |
H A D | ICamera.cpp | 57 BpCamera(const sp<IBinder>& impl) 73 status_t setPreviewTarget(const sp<IGraphicBufferProducer>& bufferProducer) 78 sp<IBinder> b(IInterface::asBinder(bufferProducer)); 96 const sp<IGraphicBufferProducer>& callbackProducer) 101 sp<IBinder> b(IInterface::asBinder(callbackProducer)); 145 void releaseRecordingFrame(const sp<IMemory>& mem) 249 virtual status_t connect(const sp<ICameraClient>& cameraClient) 291 sp<IGraphicBufferProducer> st = 306 sp<IGraphicBufferProducer> cp = 338 sp<IMemor [all...] |
H A D | ICameraClient.cpp | 36 BpCameraClient(const sp<IBinder>& impl) 54 void dataCallback(int32_t msgType, const sp<IMemory>& imageData, 70 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) 103 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder()); 120 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder());
|
H A D | ICameraRecordingProxy.cpp | 38 BpCameraRecordingProxy(const sp<IBinder>& impl) 43 status_t startRecording(const sp<ICameraRecordingProxyListener>& listener) 61 void releaseRecordingFrame(const sp<IMemory>& mem) 82 sp<ICameraRecordingProxyListener> listener = 96 sp<IMemory> mem = interface_cast<IMemory>(data.readStrongBinder());
|
H A D | ICameraRecordingProxyListener.cpp | 33 BpCameraRecordingProxyListener(const sp<IBinder>& impl) 38 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) 63 sp<IMemory> imageData = interface_cast<IMemory>(data.readStrongBinder());
|
H A D | ICameraService.cpp | 92 BpCameraService(const sp<IBinder>& impl) 156 virtual status_t getCameraVendorTagDescriptor(/*out*/sp<VendorTagDescriptor>& desc) { 165 sp<VendorTagDescriptor> d; 174 virtual status_t connect(const sp<ICameraClient>& cameraClient, int cameraId, 177 sp<ICamera>& device) 199 virtual status_t connectLegacy(const sp<ICameraClient>& cameraClient, int cameraId, 202 /*out*/sp<ICamera>& device) 225 const sp<IBinder>& clientBinder) 240 const sp<ICameraDeviceCallbacks>& cameraCb, 245 sp<ICameraDeviceUse [all...] |
H A D | ICameraServiceListener.cpp | 40 BpCameraServiceListener(const sp<IBinder>& impl)
|
H A D | ICameraServiceProxy.cpp | 29 BpCameraServiceProxy(const sp<IBinder>& impl) : BpInterface<ICameraServiceProxy>(impl) {}
|
H A D | VendorTagDescriptor.cpp | 47 static sp<VendorTagDescriptor> sGlobalVendorTagDescriptor; 60 sp<VendorTagDescriptor>& descriptor) { 78 sp<VendorTagDescriptor> desc = new VendorTagDescriptor(); 141 sp<VendorTagDescriptor>& descriptor) { 159 sp<VendorTagDescriptor> desc = new VendorTagDescriptor(); 380 status_t VendorTagDescriptor::setAsGlobalVendorTagDescriptor(const sp<VendorTagDescriptor>& desc) { 407 sp<VendorTagDescriptor> VendorTagDescriptor::getGlobalVendorTagDescriptor() {
|
/frameworks/av/camera/camera2/ |
H A D | CaptureRequest.cpp | 69 sp<IBinder> binder(parcel->readStrongBinder()); 73 sp<Surface> surface; 76 sp<IGraphicBufferProducer> gbp = 112 sp<Surface> surface = mSurfaceList[i]; 114 sp<IBinder> binder;
|
H A D | ICameraDeviceCallbacks.cpp | 46 BpCameraDeviceCallbacks(const sp<IBinder>& impl)
|
H A D | ICameraDeviceUser.cpp | 71 BpCameraDeviceUser(const sp<IBinder>& impl) 86 virtual int submitRequest(sp<CaptureRequest> request, bool repeating, 121 virtual int submitRequestList(List<sp<CaptureRequest> > requestList, bool repeating, 129 for (List<sp<CaptureRequest> >::iterator it = requestList.begin(); 131 sp<CaptureRequest> request = *it; 250 sp<IGraphicBufferProducer> *producer) { 266 sp<IGraphicBufferProducer> bp = NULL; 408 sp<CaptureRequest> request; 429 List<sp<CaptureRequest> > requestList; 433 sp<CaptureReques [all...] |
H A D | OutputConfiguration.cpp | 40 sp<IGraphicBufferProducer> OutputConfiguration::getGraphicBufferProducer() const { 59 const sp<IGraphicBufferProducer>& gbp = 68 OutputConfiguration::OutputConfiguration(sp<IGraphicBufferProducer>& gbp, int rotation) { 77 sp<IBinder> b(IInterface::asBinder(mGbp));
|
/frameworks/av/camera/tests/ |
H A D | CameraBinderTests.cpp | 243 sp<IServiceManager> sm = defaultServiceManager(); 244 sp<IBinder> binder = sm->getService(String16("media.camera")); 246 sp<ICameraService> service = interface_cast<ICameraService>(binder); 253 sp<TestCameraServiceListener> listener(new TestCameraServiceListener()); 279 sp<TestCameraDeviceCallbacks> callbacks(new TestCameraDeviceCallbacks()); 280 sp<ICameraDeviceUser> device; 307 sp<ICameraService> service; 309 std::vector<std::pair<sp<TestCameraDeviceCallbacks>, sp<ICameraDeviceUser>>> openDeviceList; 310 sp<TestCameraServiceListene [all...] |
H A D | VendorTagDescriptorTests.cpp | 97 sp<VendorTagDescriptor> vDesc; 133 sp<VendorTagDescriptor> vDescOriginal, vDescParceled; 176 sp<VendorTagDescriptor> vDesc; 201 sp<VendorTagDescriptor> prevGlobal = VendorTagDescriptor::getGlobalVendorTagDescriptor();
|
/frameworks/av/cmds/screenrecord/ |
H A D | EglWindow.cpp | 37 status_t EglWindow::createWindow(const sp<IGraphicBufferProducer>& surface) { 52 sp<ANativeWindow> anw = new Surface(surface);
|
H A D | EglWindow.h | 45 status_t createWindow(const sp<IGraphicBufferProducer>& surface);
|
H A D | FrameOutput.cpp | 44 sp<IGraphicBufferProducer>* pBufferProducer) { 70 sp<IGraphicBufferProducer> producer; 71 sp<IGraphicBufferConsumer> consumer;
|
H A D | FrameOutput.h | 42 sp<IGraphicBufferProducer>* pBufferProducer); 82 sp<GLConsumer> mGlConsumer;
|
H A D | Overlay.cpp | 58 status_t Overlay::start(const sp<IGraphicBufferProducer>& outputSurface, 59 sp<IGraphicBufferProducer>* pBufferProducer) { 173 sp<IGraphicBufferConsumer> consumer; 286 const sp<IGraphicBufferProducer>& outputSurface) {
|
H A D | Overlay.h | 58 status_t start(const sp<IGraphicBufferProducer>& outputSurface, 59 sp<IGraphicBufferProducer>* pBufferProducer); 67 static status_t drawInfoPage(const sp<IGraphicBufferProducer>& outputSurface); 123 sp<IGraphicBufferProducer> mOutputSurface; 127 sp<IGraphicBufferProducer> mProducer; 131 sp<GLConsumer> mGlConsumer;
|
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/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 48 const sp<AMessage> &msg, sp<AMessage> *response) { 62 sp<AMessage> msg = new AMessage(kWhatSetDataSource, this); 64 sp<AMessage> response; 68 status_t SimplePlayer::setSurface(const sp<IGraphicBufferProducer> &bufferProducer) { 69 sp<AMessage> msg = new AMessage(kWhatSetSurface, this); 71 sp<Surface> surface; 78 sp<AMessage> response; 83 sp<AMessage> msg = new AMessage(kWhatPrepare, this); 84 sp<AMessag [all...] |
H A D | SimplePlayer.h | 35 status_t setSurface(const sp<IGraphicBufferProducer> &bufferProducer); 44 virtual void onMessageReceived(const sp<AMessage> &msg); 74 sp<MediaCodec> mCodec; 75 Vector<sp<ABuffer> > mCSD; 76 Vector<sp<ABuffer> > mBuffers[2]; 81 sp<AudioTrack> mAudioTrack; 87 sp<Surface> mSurface; 89 sp<NuMediaExtractor> mExtractor; 90 sp<ALooper> mCodecLooper; 104 CodecState *state, BufferInfo *info, const sp<ABuffe [all...] |