Searched refs:surface (Results 251 - 275 of 309) sorted by relevance

<<111213

/frameworks/av/include/media/stagefright/
H A DACodec.h71 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 DCodecBase.h105 * 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 DACodec.h71 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 DCodecBase.h105 * 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 DACodec.h71 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 DCodecBase.h105 * 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 DCamera3OutputStream.cpp104 // 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 DSpriteController.cpp168 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 Dandroid_media_MediaSync.cpp182 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 DDisplayDevice.cpp119 Surface* surface; local
120 mNativeWindow = surface = new Surface(producer, false);
130 * Create our display's surface
188 surface->allocateBuffers();
H A DDisplayDevice.h290 sp<IGraphicBufferProducer> surface; member in struct:android::DisplayDeviceState
H A DSurfaceInterceptor.h50 // 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 DSurfaceFlinger.cpp1988 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 DConnection.java1175 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 DRemoteConnection.java505 * 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 DSurfaceComposerClient.cpp104 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 DImageFlipRenderThread.java100 public ImageFlipRenderThread(Resources resources, SurfaceTexture surface) { argument
102 mSurface = surface;
/frameworks/native/libs/vr/libvrflinger/
H A Ddisplay_surface.cpp101 "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 DHwc2TestBuffer.cpp94 /* 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 Dnative-media-jni.c513 // 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 DCameraDeviceClient.h182 // 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 Dmipmap.cpp33 const GGLSurface* base = &tex->surface;
/frameworks/base/media/java/android/media/tv/
H A DTvInputService.java458 * 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 Dvulkan.h3382 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 DNuPlayer.cpp108 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...]

Completed in 410 milliseconds

<<111213