/frameworks/av/include/media/stagefright/ |
H A D | ACodec.h | 71 virtual void initiateSetInputSurface(const sp<PersistentSurface> &surface); 79 virtual status_t setSurface(const sp<Surface> &surface); 322 status_t handleSetSurface(const sp<Surface> &surface); 425 // sets color aspects for the video encoder in surface mode. This basically sets the default
|
H A D | CodecBase.h | 105 * Notify MediaCodec that the input surface is created. 107 * @param inputFormat an input format at surface creation. Formats 109 * of creating a surface. 110 * @param outputFormat an output format at surface creation. 111 * @param inputSurface the created surface. 118 * Notify MediaCodec that the input surface creation is failed. 125 * surface. 127 * @param inputFormat an input format at surface assignment. Formats 129 * of assigning a surface. 130 * @param outputFormat an output format at surface assignmen [all...] |
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | ACodec.h | 71 virtual void initiateSetInputSurface(const sp<PersistentSurface> &surface); 79 virtual status_t setSurface(const sp<Surface> &surface); 322 status_t handleSetSurface(const sp<Surface> &surface); 425 // sets color aspects for the video encoder in surface mode. This basically sets the default
|
H A D | CodecBase.h | 105 * Notify MediaCodec that the input surface is created. 107 * @param inputFormat an input format at surface creation. Formats 109 * of creating a surface. 110 * @param outputFormat an output format at surface creation. 111 * @param inputSurface the created surface. 118 * Notify MediaCodec that the input surface creation is failed. 125 * surface. 127 * @param inputFormat an input format at surface assignment. Formats 129 * of assigning a surface. 130 * @param outputFormat an output format at surface assignmen [all...] |
/frameworks/av/media/libstagefright/include/ |
H A D | ACodec.h | 71 virtual void initiateSetInputSurface(const sp<PersistentSurface> &surface); 79 virtual status_t setSurface(const sp<Surface> &surface); 322 status_t handleSetSurface(const sp<Surface> &surface); 425 // sets color aspects for the video encoder in surface mode. This basically sets the default
|
H A D | CodecBase.h | 105 * Notify MediaCodec that the input surface is created. 107 * @param inputFormat an input format at surface creation. Formats 109 * of creating a surface. 110 * @param outputFormat an output format at surface creation. 111 * @param inputSurface the created surface. 118 * Notify MediaCodec that the input surface creation is failed. 125 * surface. 127 * @param inputFormat an input format at surface assignment. Formats 129 * of assigning a surface. 130 * @param outputFormat an output format at surface assignmen [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3OutputStream.cpp | 104 // Deferred consumer only support preview surface format now. 507 ALOGE("%s: Stream %d: Can't attach the output buffer to this surface: %s (%d)", 647 const sp<Surface>& surface) const { 651 res = static_cast<ANativeWindow*>(surface.get())->query(surface.get(), 802 ALOGE("%s: it's illegal to set null consumer surface!", __FUNCTION__); 807 ALOGE("%s: consumer surface was already set!", __FUNCTION__);
|
/frameworks/base/libs/input/ |
H A D | SpriteController.cpp | 168 ALOGE("Error %d resizing sprite surface from %dx%d to %dx%d", 180 ALOGE("Error %d hiding sprite surface after resize.", status); 204 sp<Surface> surface = update.state.surfaceControl->getSurface(); local 206 status_t status = surface->lock(&outBuffer, NULL); 208 ALOGE("Error %d locking sprite surface before drawing.", status); 232 status = surface->unlockAndPost(); 234 ALOGE("Error %d unlocking and posting sprite surface after drawing.", status); 243 // Set sprite surface properties and make them visible. 266 ALOGE("Error %d setting sprite surface alpha.", status); 277 ALOGE("Error %d setting sprite surface positio [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaSync.cpp | 182 sp<Surface> surface(android_view_Surface_getSurface(env, jsurface)); 183 if (surface != NULL) { 184 bufferProducer = surface->getIGraphicBufferProducer(); 186 throwExceptionAsNecessary(env, BAD_VALUE, "The surface has been released"); 197 AString msg("Failed to connect to surface with error ");
|
/frameworks/native/services/surfaceflinger/ |
H A D | DisplayDevice.cpp | 119 Surface* surface; local 120 mNativeWindow = surface = new Surface(producer, false); 130 * Create our display's surface 188 surface->allocateBuffers();
|
H A D | DisplayDevice.h | 290 sp<IGraphicBufferProducer> surface; member in struct:android::DisplayDeviceState
|
H A D | SurfaceInterceptor.h | 50 // Intercept display and surface transactions 55 // Intercept surface data 70 // performed at the initial snapshot for each display and surface. 92 // Add surface transactions to the trace 119 const sp<const IGraphicBufferProducer>& surface);
|
H A D | SurfaceFlinger.cpp | 1988 const sp<IBinder> state_binder = IInterface::asBinder(state.surface); 1989 const sp<IBinder> draw_binder = IInterface::asBinder(draw[i].surface); 1991 // changing the surface is like destroying and 2038 // Virtual displays without a surface are dormant: 2041 if (state.surface != NULL) { 2046 int status = state.surface->query( 2051 status = state.surface->query( 2056 status = state.surface->query( 2071 hwcId, state.surface, bqProducer, 2078 ALOGE_IF(state.surface! [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | Connection.java | 1175 public void setPreviewSurface(Surface surface) { argument 1176 mMessageHandler.obtainMessage(MSG_SET_PREVIEW_SURFACE, surface).sendToTarget(); 1179 public void setDisplaySurface(Surface surface) { argument 1180 mMessageHandler.obtainMessage(MSG_SET_DISPLAY_SURFACE, surface).sendToTarget(); 1281 * Sets the surface to be used for displaying a preview of what the user's camera is 1288 * @param surface The {@link Surface}. 1290 public abstract void onSetPreviewSurface(Surface surface); argument 1293 * Sets the surface to be used for displaying the video received from the remote device. 1298 * @param surface The {@link Surface}. 1300 public abstract void onSetDisplaySurface(Surface surface); argument [all...] |
H A D | RemoteConnection.java | 505 * Sets the surface to be used for displaying a preview of what the user's camera is 508 * @param surface The {@link Surface}. 511 public void setPreviewSurface(Surface surface) { argument 513 mVideoProviderBinder.setPreviewSurface(surface); 519 * Sets the surface to be used for displaying the video received from the remote device for 522 * @param surface The {@link Surface}. 525 public void setDisplaySurface(Surface surface) { argument 527 mVideoProviderBinder.setDisplaySurface(surface);
|
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 104 if (lhs.state.surface < rhs.state.surface) return -1; 105 if (lhs.state.surface > rhs.state.surface) return 1; 297 s.state.surface = id; 331 // Resizing a surface makes the transaction synchronous. 576 s.surface = bufferProducer;
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/ |
H A D | ImageFlipRenderThread.java | 100 public ImageFlipRenderThread(Resources resources, SurfaceTexture surface) { argument 102 mSurface = surface;
|
/frameworks/native/libs/vr/libvrflinger/ |
H A D | display_surface.cpp | 101 "surface attribute '%d' because of incompatible type: %d", 155 std::shared_ptr<DisplaySurface> surface; member in struct:android::dvr::State 163 state.surface->OnQueueEvent(state.queue, events); 340 "buffer_id=%d on invisible surface.",
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
H A D | Hwc2TestBuffer.cpp | 94 /* Used by Egl manager. The surface is never displayed. */ 103 /* Used by Egl manager. The surface is never displayed */ 125 int initialize(sp<Surface> surface) argument 127 mSurface = surface; 139 /* We're going to use a 1x1 pbuffer surface later on 185 ALOGW("Could not create EGL surface");
|
/frameworks/wilhelm/tests/native-media/jni/ |
H A D | native-media-jni.c | 513 // set the surface 514 void Java_com_example_nativemedia_NativeMedia_setSurface(JNIEnv *env, jclass clazz, jobject surface) argument 516 // obtain a native window from a Java surface 517 theNativeWindow = ANativeWindow_fromSurface(env, surface);
|
/frameworks/av/services/camera/libcameraservice/api2/ |
H A D | CameraDeviceClient.h | 182 // StreamSurfaceId encapsulates streamId + surfaceId for a particular surface. 183 // streamId specifies the index of the stream the surface belongs to, and the 184 // surfaceId specifies the index of the surface within the stream. (one stream 245 // Create an output stream with surface deferred for future. 268 sp<Surface>& surface, const sp<IGraphicBufferProducer>& gbp);
|
/frameworks/native/opengl/libagl/ |
H A D | mipmap.cpp | 33 const GGLSurface* base = &tex->surface;
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvInputService.java | 458 * surface is ready for viewing. This method must be called each time {@link #onTune} 682 * Assigns a size and position to the surface passed in {@link #onSetSurface}. The position 683 * is relative to the overlay view that sits on top of this surface. 726 * Also, if a surface is passed to a non-main session and active source is changed to 727 * initiate the surface, the active source should be returned to the main session. 745 * Called when the application sets the surface. 747 * <p>The TV input service should render video onto the given surface. When called with 749 * currently set surface and stop using it. 751 * @param surface The surface t 754 onSetSurface(@ullable Surface surface) argument 1157 setSurface(Surface surface) argument 1900 onSetSurface(Surface surface) argument [all...] |
/frameworks/native/vulkan/include/vulkan/ |
H A D | vulkan.h | 3382 typedef void (VKAPI_PTR *PFN_vkDestroySurfaceKHR)(VkInstance instance, VkSurfaceKHR surface, const VkAllocationCallbacks* pAllocator); 3383 typedef VkResult (VKAPI_PTR *PFN_vkGetPhysicalDeviceSurfaceSupportKHR)(VkPhysicalDevice physicalDevice, uint32_t queueFamilyIndex, VkSurfaceKHR surface, VkBool32* pSupported); 3384 typedef VkResult (VKAPI_PTR *PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR)(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR* pSurfaceCapabilities); 3385 typedef VkResult (VKAPI_PTR *PFN_vkGetPhysicalDeviceSurfaceFormatsKHR)(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pSurfaceFormatCount, VkSurfaceFormatKHR* pSurfaceFormats); 3386 typedef VkResult (VKAPI_PTR *PFN_vkGetPhysicalDeviceSurfacePresentModesKHR)(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint32_t* pPresentModeCount, VkPresentModeKHR* pPresentModes); 3391 VkSurfaceKHR surface, 3397 VkSurfaceKHR surface, 3402 VkSurfaceKHR surface, 3407 VkSurfaceKHR surface, 3413 VkSurfaceKHR surface, 3435 VkSurfaceKHR surface; member in struct:VkSwapchainCreateInfoKHR 3739 struct wl_surface* surface; member in struct:VkWaylandSurfaceCreateInfoKHR 5799 VkSurfaceKHR surface; member in struct:VkPhysicalDeviceSurfaceInfo2KHR [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayer.cpp | 108 explicit SetSurfaceAction(const sp<Surface> &surface) argument 109 : mSurface(surface) { 374 msg->setObject("surface", NULL); 376 msg->setObject("surface", new Surface(bufferProducer, true /* controlledByApp */)); 746 CHECK(msg->findObject("surface", &obj)); 747 sp<Surface> surface = static_cast<Surface *>(obj.get()); local 750 surface.get(), 759 || (mVideoDecoder != NULL && mVideoDecoder->setVideoSurface(surface) == OK)) { 760 performSetSurface(surface); 768 mDeferredActions.push_back(new SetSurfaceAction(surface)); 2262 performSetSurface(const sp<Surface> &surface) argument [all...] |