Home
last modified time | relevance | path

Searched refs:surfaces (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/hardware/camera2/utils/
DSurfaceUtils.java153 public static void checkConstrainedHighSpeedSurfaces(Collection<Surface> surfaces, in checkConstrainedHighSpeedSurfaces() argument
155 if (surfaces == null || surfaces.size() == 0 || surfaces.size() > 2) { in checkConstrainedHighSpeedSurfaces()
174 for (Surface surface : surfaces) { in checkConstrainedHighSpeedSurfaces()
198 if (surfaces.size() == 2) { in checkConstrainedHighSpeedSurfaces()
200 Iterator<Surface> iterator = surfaces.iterator(); in checkConstrainedHighSpeedSurfaces()
/frameworks/base/libs/hwui/tests/unit/
DCacheManagerTests.cpp42 std::vector<sk_sp<SkSurface>> surfaces; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
51 surfaces.push_back(surface); in RENDERTHREAD_SKIA_PIPELINE_TEST()
65 for (size_t i = 0; i < surfaces.size(); i++) { in RENDERTHREAD_SKIA_PIPELINE_TEST()
66 ASSERT_TRUE(surfaces[i]->unique()); in RENDERTHREAD_SKIA_PIPELINE_TEST()
67 surfaces[i].reset(); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DGLThreadManager.java62 public final Collection<Pair<Surface, Size>> surfaces; field in GLThreadManager.ConfigureHolder
66 Size>> surfaces, CaptureCollector collector) { in ConfigureHolder() argument
68 this.surfaces = surfaces; in ConfigureHolder()
89 mTextureRenderer.configureSurfaces(configure.surfaces);
211 public void setConfigurationAndWait(Collection<Pair<Surface, Size>> surfaces, in setConfigurationAndWait() argument
217 ConfigureHolder configure = new ConfigureHolder(condition, surfaces, collector); in setConfigurationAndWait()
DSurfaceTextureRenderer.java457 private void configureEGLOutputSurfaces(Collection<EGLSurfaceHolder> surfaces) { in configureEGLOutputSurfaces() argument
458 if (surfaces == null || surfaces.size() == 0) { in configureEGLOutputSurfaces()
464 for (EGLSurfaceHolder holder : surfaces) { in configureEGLOutputSurfaces()
471 private void configureEGLPbufferSurfaces(Collection<EGLSurfaceHolder> surfaces) { in configureEGLPbufferSurfaces() argument
472 if (surfaces == null || surfaces.size() == 0) { in configureEGLPbufferSurfaces()
477 for (EGLSurfaceHolder holder : surfaces) { in configureEGLPbufferSurfaces()
682 public void configureSurfaces(Collection<Pair<Surface, Size>> surfaces) { in configureSurfaces() argument
685 if (surfaces == null || surfaces.size() == 0) { in configureSurfaces()
690 for (Pair<Surface, Size> p : surfaces) { in configureSurfaces()
DRequestThreadManager.java119 public final Collection<Pair<Surface, Size>> surfaces; field in RequestThreadManager.ConfigureHolder
122 Size>> surfaces) { in ConfigureHolder() argument
124 this.surfaces = surfaces; in ConfigureHolder()
541 private void resetJpegSurfaceFormats(Collection<Surface> surfaces) { in resetJpegSurfaceFormats() argument
542 if (!USE_BLOB_FORMAT_OVERRIDE || surfaces == null) { in resetJpegSurfaceFormats()
545 for(Surface s : surfaces) { in resetJpegSurfaceFormats()
705 int sizes = config.surfaces != null ? config.surfaces.size() : 0;
722 configureOutputs(config.surfaces);
DLegacyCameraDevice.java767 static List<Long> getSurfaceIds(SparseArray<Surface> surfaces) in getSurfaceIds() argument
769 if (surfaces == null) { in getSurfaceIds()
773 int count = surfaces.size(); in getSurfaceIds()
775 long id = getSurfaceId(surfaces.valueAt(i)); in getSurfaceIds()
785 static List<Long> getSurfaceIds(Collection<Surface> surfaces) in getSurfaceIds() argument
787 if (surfaces == null) { in getSurfaceIds()
791 for (Surface s : surfaces) { in getSurfaceIds()
DCameraDeviceUserShim.java504 SparseArray<Surface> surfaces = new SparseArray<Surface>(outputConfigs.size()); in isSessionConfigurationSupported() local
513 surfaces.put(idx++, outputConfig.getSurface()); in isSessionConfigurationSupported()
516 int ret = mLegacyDevice.configureOutputs(surfaces, /*validateSurfacesOnly*/true); in isSessionConfigurationSupported()
565 SparseArray<Surface> surfaces = null; in endConfigure() local
573 surfaces = mSurfaces.clone(); in endConfigure()
577 mLegacyDevice.configureOutputs(surfaces); in endConfigure()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3SharedOutputStream.cpp30 const std::vector<sp<Surface>>& surfaces, in Camera3SharedOutputStream() argument
40 size_t consumerCount = std::min(surfaces.size(), kMaxOutputs); in Camera3SharedOutputStream()
41 if (surfaces.size() > consumerCount) { in Camera3SharedOutputStream()
45 mSurfaceUniqueIds[i] = std::make_pair(surfaces[i], mNextUniqueSurfaceId++); in Camera3SharedOutputStream()
125 status_t Camera3SharedOutputStream::setConsumers(const std::vector<sp<Surface>>& surfaces) { in setConsumers() argument
127 if (surfaces.size() == 0) { in setConsumers()
133 for (auto& surface : surfaces) { in setConsumers()
DCamera3SharedOutputStream.h36 Camera3SharedOutputStream(int id, const std::vector<sp<Surface>>& surfaces,
DCamera3StreamSplitter.h56 status_t connect(const std::unordered_map<size_t, sp<Surface>> &surfaces,
DCamera3StreamSplitter.cpp41 status_t Camera3StreamSplitter::connect(const std::unordered_map<size_t, sp<Surface>> &surfaces, in connect() argument
66 for (auto &it : surfaces) { in connect()
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_service.cpp56 auto surfaces = GetDisplaySurfaces(); in DumpState() local
57 std::sort(surfaces.begin(), surfaces.end(), [](const auto& a, const auto& b) { in DumpState()
64 for (const auto& surface : surfaces) { in DumpState()
89 for (const auto& surface : surfaces) { in DumpState()
Dhardware_composer.cpp567 std::vector<std::shared_ptr<DirectDisplaySurface>> surfaces) { in SetDisplaySurfaces() argument
569 surfaces.size()); in SetDisplaySurfaces()
570 const bool display_idle = surfaces.size() == 0; in SetDisplaySurfaces()
573 surfaces_ = std::move(surfaces); in SetDisplaySurfaces()
1016 std::vector<std::shared_ptr<DirectDisplaySurface>> surfaces; in UpdateLayerConfig() local
1023 surfaces = surfaces_; in UpdateLayerConfig()
1032 std::sort(surfaces.begin(), surfaces.end(), [](const auto& a, const auto& b) { in UpdateLayerConfig()
1040 for (const auto& surface : surfaces) { in UpdateLayerConfig()
Dhardware_composer.h332 std::vector<std::shared_ptr<DirectDisplaySurface>> surfaces);
/frameworks/native/libs/gui/include/gui/
DITransactionCompletedListener.h61 const std::vector<SurfaceStats>& surfaces) in TransactionStats() argument
62 : callbackIds(ids), latchTime(latch), presentFence(present), surfaceStats(surfaces) {} in TransactionStats()
/frameworks/base/core/java/android/hardware/camera2/params/
DOutputConfiguration.java543 ArrayList<Surface> surfaces = new ArrayList<Surface>(); in OutputConfiguration() local
544 source.readTypedList(surfaces, Surface.CREATOR); in OutputConfiguration()
551 mSurfaces = surfaces; in OutputConfiguration()
555 mSurfaces = surfaces; in OutputConfiguration()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCamera2Source.java188 List<Surface> surfaces = new ArrayList<Surface>(); in onOpen() local
189 surfaces.add(mSurface); in onOpen()
194 mCamera.createCaptureSession(surfaces, blkSession, mHandler); in onOpen()
/frameworks/native/services/surfaceflinger/sysprop/
DSurfaceFlingerProperties.sysprop181 # Dataspace of the surfaces on screen.
193 # and pixel format for wide color gamut surfaces.
229 # wide color gamut surfaces.
244 # wide color gamut surfaces. If unspecified, the pixel format is
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp806 std::vector<sp<IBinder>> surfaces; in deleteStream() local
816 surfaces.push_back(mStreamMap.keyAt(i)); in deleteStream()
835 if (surfaces.empty() && dIndex == NAME_NOT_FOUND) { in deleteStream()
855 for (auto& surface : surfaces) { in deleteStream()
917 std::vector<sp<Surface>> surfaces; in createStream() local
951 surfaces.push_back(surface); in createStream()
956 … bool isDepthCompositeStream = camera3::DepthCompositeStream::isDepthCompositeStream(surfaces[0]); in createStream()
957 bool isHeicCompisiteStream = camera3::HeicCompositeStream::isHeicCompositeStream(surfaces[0]); in createStream()
966 err = compositeStream->createStream(surfaces, deferredConsumer, streamInfo.width, in createStream()
972 mCompositeStreamMap.add(IInterface::asBinder(surfaces[0]->getIGraphicBufferProducer()), in createStream()
[all …]
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java681 ArrayList<Surface> surfaces = new ArrayList<>(outputConfigurations.size()); in createCaptureSessionInternal() local
683 surfaces.add(outConfig.getSurface()); in createCaptureSessionInternal()
687 SurfaceUtils.checkConstrainedHighSpeedSurfaces(surfaces, /*fpsRange*/null, config); in createCaptureSessionInternal()
815 final List<Surface> surfaces = mConfiguredOutputs.valueAt(i).getSurfaces(); in prepare() local
816 if (surfaces.contains(surface)) { in prepare()
2305 final List<Surface> surfaces = output.getSurfaces(); in onPrepared() local
2306 for (Surface surface : surfaces) { in onPrepared()
2346 List<Surface> surfaces = in onCaptureErrorLocked() local
2348 for (Surface surface : surfaces) { in onCaptureErrorLocked()
/frameworks/native/cmds/surfacereplayer/replayer/
DREADME.md9 * Creation and deletion of surfaces/displays
10 * Alterations to the surfaces/displays called Transactions
11 * Buffer Updates to surfaces
46 The replay will not fill surfaces with their contents during the capture. Rather they are given a
/frameworks/base/core/java/android/hardware/camera2/
DCaptureRequest.java640 final ArraySet<Surface> surfaces = mSurfaceConverted ? mEmptySurfaceSet : mSurfaceSet; in writeToParcel() local
641 dest.writeParcelableArray(surfaces.toArray(new Surface[surfaces.size()]), flags); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags174 # Out of memory for surfaces.
/frameworks/base/packages/SystemUI/
DREADME.md117 surfaces (keyguard, AOD, etc.). StatusBar also contains a notification listener
/frameworks/native/opengl/specs/
DEGL_ANDROID_get_frame_timestamps.txt46 and display of window surfaces.

12