/frameworks/base/core/java/android/hardware/camera2/params/ |
OutputConfiguration.java | 120 * Maximum number of surfaces supported by one {@link OutputConfiguration}. 122 * <p>The combined number of surfaces added by the constructor and 134 * surface group is a group of output surfaces that are not intended to receive camera output 136 * by all the surfaces from the same surface group, therefore may reduce the overall memory 278 * Enable multiple surfaces sharing the same OutputConfiguration 285 * <p>Two surfaces are compatible in the below cases:</p> 287 * <li> Surfaces with the same size, format, dataSpace, and Surface source class. In this case, 290 * <li> Surfaces with the same size, format, and dataSpace, but different Surface source classes 292 * able to use the same buffer layout for both surfaces. The only way to discover if this is the 304 * <p>Up to 2 surfaces can be shared for an OutputConfiguration. The supported surfaces fo 424 ArrayList<Surface> surfaces = new ArrayList<Surface>(); local [all...] |
/hardware/intel/common/libmix/mix_video/src/ |
mixvideoformatenc_mpeg4.h | 43 VASurfaceID * surfaces;
member in struct:_MixVideoFormatEnc_MPEG4
|
mixvideoformatenc_preview.h | 42 VASurfaceID * surfaces; member in struct:_MixVideoFormatEnc_Preview
|
mixsurfacepool.c | 13 * A data object which stores and manipulates a pool of video surfaces. 221 * frame objects that represents a pool of surfaces. 224 VASurfaceID *surfaces, guint num_surfaces) { 228 if (obj == NULL || surfaces == NULL) { 231 "Error NULL ptrs, obj %x, surfaces %x\n", (guint) obj, 232 (guint) surfaces); 283 mix_videoframe_set_frame_id(frame, surfaces[i]); 384 //We are out of surfaces 389 LOG_E( "out of surfaces\n"); 470 //We are out of surfaces [all...] |
mixvideoformatenc_h264.h | 42 VASurfaceID * surfaces; member in struct:_MixVideoFormatEnc_H264
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
SurfaceTextureRenderer.java | 457 private void configureEGLOutputSurfaces(Collection<EGLSurfaceHolder> surfaces) { 458 if (surfaces == null || surfaces.size() == 0) { 459 throw new IllegalStateException("No Surfaces were provided to draw to"); 464 for (EGLSurfaceHolder holder : surfaces) { 471 private void configureEGLPbufferSurfaces(Collection<EGLSurfaceHolder> surfaces) { 472 if (surfaces == null || surfaces.size() == 0) { 473 throw new IllegalStateException("No Surfaces were provided to draw to"); 477 for (EGLSurfaceHolder holder : surfaces) { [all...] |
LegacyCameraDevice.java | 294 * @return {@code true} if the surfaces uses {@link ImageFormat#YUV_420_888} or a compatible 335 * Configure the device with a set of output surfaces. 341 * @param outputs a list of surfaces to set. LegacyCameraDevice will take ownership of this 357 Log.e(TAG, "configureOutputs - invalid output surfaces are not allowed"); 448 // Make sure that there all requests have at least 1 surface; all surfaces are non-null 465 " device with valid surfaces before submitting requests"); 468 " device with valid surfaces before submitting requests"); 740 static List<Long> getSurfaceIds(SparseArray<Surface> surfaces) 742 if (surfaces == null) { 743 throw new NullPointerException("Null argument surfaces"); [all...] |
RequestThreadManager.java | 119 public final Collection<Pair<Surface, Size>> surfaces; field in class:RequestThreadManager.ConfigureHolder 122 Size>> surfaces) { 124 this.surfaces = surfaces; 321 "Preview capture called with no preview surfaces configured."); 333 String outputsStr = outputs == null ? "null" : (outputs.size() + " surfaces"); 404 // LegacyCameraDevice is the producer of JPEG output surfaces 405 // so LegacyCameraDevice needs to connect to the surfaces. 532 private void resetJpegSurfaceFormats(Collection<Surface> surfaces) { 533 if (!USE_BLOB_FORMAT_OVERRIDE || surfaces == null) [all...] |
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
TestVideoProvider.java | 266 List<Surface> surfaces = new ArrayList<Surface>(); local 267 surfaces.add(mPreviewSurface); 271 mCameraDevice.createCaptureSession(surfaces, blkSession, mHandler);
|
/frameworks/native/libs/vr/libvrflinger/ |
display_service.cpp | 54 auto surfaces = GetDisplaySurfaces(); local 55 std::sort(surfaces.begin(), surfaces.end(), [](const auto& a, const auto& b) { 59 stream << "Application Surfaces:" << std::endl; 62 for (const auto& surface : surfaces) { 84 stream << "Direct Surfaces:" << std::endl; 87 for (const auto& surface : surfaces) { 252 // application surfaces this has the side effect of notifying the display 253 // manager of the new surface. For direct surfaces, this may trigger a mode 355 "DisplayService::UpdateActiveDisplaySurfaces: %zd visible surfaces", [all...] |
hardware_composer.cpp | 496 std::vector<std::shared_ptr<DirectDisplaySurface>> surfaces) { 498 surfaces.size()); 499 const bool display_idle = surfaces.size() == 0; 502 pending_surfaces_ = std::move(surfaces); 508 // Set idle state based on whether there are any surfaces to handle. 865 std::vector<std::shared_ptr<DirectDisplaySurface>> surfaces; 871 surfaces = std::move(pending_surfaces_); 877 // of the surfaces. This relative order is used for the HWC z-order value to 879 std::sort(surfaces.begin(), surfaces.end(), [](const auto& a, const auto& b) [all...] |
/external/mesa3d/src/gallium/state_trackers/va/ |
surface.c | 57 int num_surfaces, VASurfaceID *surfaces) 59 return vlVaCreateSurfaces2(ctx, format, width, height, surfaces, num_surfaces, 491 int index, VASurfaceID *surfaces, 558 surfaces[index] = handle_table_add(drv->htab, surface); 560 if (!surfaces[index]) { 571 VASurfaceID *surfaces, unsigned int num_surfaces, 687 memset(surfaces, VA_INVALID_ID, num_surfaces * sizeof(VASurfaceID)); 713 surfaces[i] = handle_table_add(drv->htab, surf); 716 vaStatus = suface_from_external_memory(ctx, surf, memory_attibute, i, surfaces, &templat); 733 vlVaDestroySurfaces(ctx, surfaces, i) [all...] |
image.c | 188 struct pipe_surface **surfaces; local 206 surfaces = surf->buffer->get_surfaces(surf->buffer); 207 if (!surfaces || !surfaces[0]->texture) 268 pipe_resource_reference(&img_buf->derived_surface.resource, surfaces[0]->texture);
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
Camera2AndroidTestCase.java | 211 * @param outputSurfaces The set of output surfaces to configure for this session 350 protected CaptureRequest.Builder prepareCaptureRequestForSurfaces(List<Surface> surfaces, 353 createSession(surfaces); 358 for (Surface surface : surfaces) {
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
Camera2Source.java | 188 List<Surface> surfaces = new ArrayList<Surface>(); local 189 surfaces.add(mSurface); 194 mCamera.createCaptureSession(surfaces, blkSession, mHandler);
|
/external/vulkan-validation-layers/layers/ |
swapchain.h | 98 unordered_map<VkSurfaceKHR, SwpSurface *> surfaces; member in struct:SwpInstance 176 // Record all surfaces that vkGetPhysicalDeviceSurfaceSupportKHR() was
|
/hardware/intel/common/libva/va/ |
va_trace.h | 83 VASurfaceID *surfaces, /* out */
|
va_backend.h | 108 VASurfaceID *surfaces /* out */ 409 VASurfaceID *surfaces,
|
/hardware/intel/img/psb_video/src/ |
psb_output.c | 65 /* surfaces link list associated with a subpicture */ 1743 VASurfaceID *surfaces = target_surfaces; local 1814 VASurfaceID *surfaces = target_surfaces; local [all...] |
/developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/ |
CameraOps.java | 129 * Set the output Surfaces, and finish configuration if otherwise ready. 131 public void setSurfaces(final List<Surface> surfaces) { 134 mSurfaces = surfaces;
|
/developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/ |
CameraOps.java | 129 * Set the output Surfaces, and finish configuration if otherwise ready. 131 public void setSurfaces(final List<Surface> surfaces) { 134 mSurfaces = surfaces;
|
/development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/ |
CameraOps.java | 127 * Set the output Surfaces, and finish configuration if otherwise ready. 129 public void setSurfaces(final List<Surface> surfaces) { 132 mSurfaces = surfaces;
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
nouveau_video.c | 385 if (dec->surfaces[i] == buf) 389 dec->surfaces[i] = buf; 729 if (!buf->surfaces[i]) { 732 buf->surfaces[i] = pipe->create_surface(pipe, buf->resources[i], &surf_templ); 733 if (!buf->surfaces[i]) 738 return buf->surfaces; 742 pipe_surface_reference(&buf->surfaces[i], NULL); 756 pipe_surface_reference(&buf->surfaces[i], NULL);
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
nv84_video.c | 576 return buf->surfaces; 591 pipe_surface_reference(&buf->surfaces[i * 2], NULL); 592 pipe_surface_reference(&buf->surfaces[i * 2 + 1], NULL); 722 buffer->surfaces[j * 2] = 724 if (!buffer->surfaces[j * 2]) 728 buffer->surfaces[j * 2 + 1] = 730 if (!buffer->surfaces[j * 2 + 1])
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_draw.c | 321 struct svga_winsys_surface *surfaces[PIPE_MAX_SAMPLERS]; local 334 surfaces[i] = svga_buffer_handle(svga, sv->base.texture); 337 surfaces[i] = svga_texture(sv->base.texture)->handle; 341 surfaces[i] = NULL; 352 surfaces[unit] = svga_texture(sv->base.texture)->handle; 359 if (surfaces[i]) { 361 surfaces[i], 478 * Draw command, just in case the surfaces associated with the resources 609 * command, we still need to reference the vertex buffers surfaces.
|