
camera
文章平均质量分 70
thrive_ly
fighting
展开
-
Camera enumeration
Current Android devices can have two or more cameras in the front, in the back, or both. That can be a lot of lenses to choose from. Note:This page usescamera2classes. We recommend using theCameraX Jetpack libraryexcept when your use case requires ac...原创 2021-11-09 19:17:10 · 231 阅读 · 0 评论 -
Camera capture sessions and requests
A single Android device can have multiple cameras. Each camera is aCameraDevice, and aCameraDevicecan output more than one stream simultaneously. Note:This page usescamera2classes. We recommend using theCameraX Jetpack libraryexcept when your use ...原创 2021-11-09 19:12:15 · 245 阅读 · 0 评论 -
camera 工作小结
1.为什么camera2用request概念来替换掉之前API1下surface+parameter方式? camera request里面包含两个概念一个是surface,一个是settings,一个request对应到一帧,这样一旦ap层在设定setting时,会实时的作用到这帧上,而相对于之前parameter的方式来实现就无法做到实时作用到这帧,此时作用的AEorAF可能会因为mw延迟而延迟。 2.关于camera format问题,如果ap层要拿到opaque或者raw10图,拿不到,这个不仅原创 2021-11-09 18:23:09 · 231 阅读 · 0 评论 -
previewsize,picturesize,surfaceviewsize
一、PreviewSize 相机预览时的尺寸,不能随意的设置值。只能通过camera的parameters的getSupportedPreviewSizes 方法,获取支持的预览尺寸列表,并从列表中选择一个设置在parameters中。 // 打印所有支持的预览分辨率 camera = Camera.open(Camera.CameraInfo.CAMERA_FACING_BACK); p转载 2017-12-05 19:39:35 · 744 阅读 · 0 评论