[go: nahoru, domu]

Searched defs:surfaces (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/utils/
H A DSurfaceUtils.java138 * Verify that that the surfaces are valid for high-speed recording mode,
141 * @param surfaces the surfaces to verify as valid in terms of size and format
145 public static void checkConstrainedHighSpeedSurfaces(Collection<Surface> surfaces, argument
147 if (surfaces == null || surfaces.size() == 0 || surfaces.size() > 2) {
166 for (Surface surface : surfaces) {
190 if (surfaces.size() == 2) {
192 Iterator<Surface> iterator = surfaces
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DGLThreadManager.java34 * GLThreadManager handles the thread used for rendering into the configured output surfaces.
62 public final Collection<Pair<Surface, Size>> surfaces; field in class:GLThreadManager.ConfigureHolder
66 Size>> surfaces, CaptureCollector collector) {
68 this.surfaces = surfaces;
89 mTextureRenderer.configureSurfaces(configure.surfaces);
185 * Queue a new call to draw into the surfaces specified in the next available preview
204 * Configure the GL renderer for the given set of output surfaces, and block until
207 * @param surfaces a collection of pairs of {@link android.view.Surface}s and their
211 public void setConfigurationAndWait(Collection<Pair<Surface, Size>> surfaces, argument
65 ConfigureHolder(ConditionVariable condition, Collection<Pair<Surface, Size>> surfaces, CaptureCollector collector) argument
[all...]
H A DLegacyCameraDevice.java273 * @return {@code true} if the surfaces uses {@link ImageFormat#YUV_420_888} or a compatible
314 * Configure the device with a set of output surfaces.
320 * @param outputs a list of surfaces to set. LegacyCameraDevice will take ownership of this
336 Log.e(TAG, "configureOutputs - invalid output surfaces are not allowed");
429 // Make sure that there all requests have at least 1 surface; all surfaces are non-null
446 " device with valid surfaces before submitting requests");
449 " device with valid surfaces before submitting requests");
712 static List<Long> getSurfaceIds(SparseArray<Surface> surfaces) argument
714 if (surfaces == null) {
715 throw new NullPointerException("Null argument surfaces");
730 getSurfaceIds(Collection<Surface> surfaces) argument
[all...]
H A DRequestThreadManager.java119 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.
523 private void resetJpegSurfaceFormats(Collection<Surface> surfaces) { argument
524 if (!USE_BLOB_FORMAT_OVERRIDE || surfaces
121 ConfigureHolder(ConditionVariable condition, Collection<Pair<Surface, Size>> surfaces) argument
[all...]
H A DSurfaceTextureRenderer.java456 private void configureEGLOutputSurfaces(Collection<EGLSurfaceHolder> surfaces) { argument
457 if (surfaces == null || surfaces.size() == 0) {
463 for (EGLSurfaceHolder holder : surfaces) {
470 private void configureEGLPbufferSurfaces(Collection<EGLSurfaceHolder> surfaces) { argument
471 if (surfaces == null || surfaces.size() == 0) {
476 for (EGLSurfaceHolder holder : surfaces) {
627 * @param surfaces a {@link Collection} of surfaces
629 configureSurfaces(Collection<Pair<Surface, Size>> surfaces) argument
[all...]

Completed in 1293 milliseconds