Home
last modified time | relevance | path

Searched refs:surfaceInfo (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraExtensionUtils.java84 SurfaceInfo surfaceInfo = new SurfaceInfo(); in querySurface() local
88 surfaceInfo.mFormat = nativeFormat; in querySurface()
89 surfaceInfo.mWidth = surfaceSize.getWidth(); in querySurface()
90 surfaceInfo.mHeight = surfaceSize.getHeight(); in querySurface()
91 surfaceInfo.mUsage = SurfaceUtils.getSurfaceUsage(s); in querySurface()
97 surfaceInfo.mFormat = ImageFormat.JPEG; in querySurface()
98 return surfaceInfo; in querySurface()
101 surfaceInfo.mFormat = ImageFormat.JPEG_R; in querySurface()
102 return surfaceInfo; in querySurface()
105 return surfaceInfo; in querySurface()
[all …]
DCameraExtensionJpegProcessor.java215 CameraExtensionUtils.SurfaceInfo surfaceInfo = CameraExtensionUtils.querySurface(surface); in onOutputSurface() local
216 mCaptureFormat = surfaceInfo.mFormat; in onOutputSurface()
DCameraExtensionSessionImpl.java399 CameraExtensionUtils.SurfaceInfo surfaceInfo = CameraExtensionUtils.querySurface( in initializeBurstCapturePipeline() local
401 if (surfaceInfo.mFormat == ImageFormat.JPEG) { in initializeBurstCapturePipeline()
414 mBurstCaptureImageReader = ImageReader.newInstance(surfaceInfo.mWidth, in initializeBurstCapturePipeline()
415 surfaceInfo.mHeight, CameraExtensionCharacteristics.PROCESSING_INPUT_FORMAT, in initializeBurstCapturePipeline()
497 CameraExtensionUtils.SurfaceInfo surfaceInfo = CameraExtensionUtils.querySurface( in finishPipelineInitialization() local
499 mImageProcessor.onOutputSurface(mClientCaptureSurface, surfaceInfo.mFormat); in finishPipelineInitialization()
/frameworks/base/libs/hwui/pipeline/skia/
DVkInteropFunctorDrawable.cpp82 SkImageInfo surfaceInfo = canvas->imageInfo(); in onDraw() local
84 if (mFrameBuffer == nullptr || mFBInfo != surfaceInfo) { in onDraw()
87 .width = static_cast<uint32_t>(surfaceInfo.width()), in onDraw()
88 .height = static_cast<uint32_t>(surfaceInfo.height()), in onDraw()
90 .format = ColorTypeToBufferFormat(surfaceInfo.colorType()), in onDraw()
104 mFBInfo = surfaceInfo; in onDraw()
DGLFunctorDrawable.cpp100 SkImageInfo surfaceInfo = in onDraw() local
103 SkSurfaces::RenderTarget(directContext, skgpu::Budgeted::kYes, surfaceInfo); in onDraw()
115 fboSize = SkISize::Make(surfaceInfo.width(), surfaceInfo.height()); in onDraw()