buildFastInfo() 拿去metadata的值 存在camera3device結構裡面,也就是device:star:ANDROID_CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES
dumpsys media.camera -> preview-frame-rate-values: 15,20,24,29,30:star:ANDROID_LENS_INFO_FOCUS_DISTANCE_CALIBRATION_UNCALIBRATED
canFocusInfinity -> true:star: params.setPreviewSize(previewWidth, previewHeight);
:star: params.setVideoSize(videoWidth, videoHeight);
preview and video size api1 是要一致:star:KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO
params.set(CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO(,String8::format("%dx%d",
previewWidth, previewHeight));:star:params.setPictureSize(pictureWidth,pictureHeight);
setting Width and Heigth:star:KEY_PREVIEW_FORMAT
previewFormat = HAL_PIXEL_FORMAT_YCrCb_420_SP;:star: KEY_PREVIEW_FRAME_RATE
fps : 30:star: KEY_PREVIEW_FPS_RANGE
fps range : 12-30:star:ANDROID_LENS_INFO_AVAILABLE_FOCAL_LENGTHS <focalLength>3.74</focalLength> ofilm_imx663_module.xml :!!: 應該要知道3.74 哪邊填進去,待追:star: KEY_SUPPORTED_PICTURE_FORMATS
PIXEL_FORMAT_JPEG:star: KEY_JPEG_THUMBNAIL_WIDTH
jpegThumbSize[0]:star: KEY_JPEG_THUMBNAIL_HEIGHT
jpegThumbSize[1]:star: CameraParameters::KEY_EXPOSURE_COMPENSATION
value:0:star: CameraParameters::KEY_WHITE_BALANCE
CameraParameters::WHITE_BALANCE_AUTO-> defalut:star: CameraParameters::KEY_EFFECT
CameraParameters::EFFECT_NONE -> defalut:star: CameraParameters::KEY_ANTIBANDING
CameraParameters::ANTIBANDING_AUTO -> defalut:star: CameraParameters::KEY_SCENE_MODE
CameraParameters::SCENE_MODE_AUTO -> defalut:star: CameraParameters::KEY_FOCUS_MODE
CameraParameters::FOCUS_MODE_AUTOfastInfo.arrayWidth = arrayWidth; sensor width
fastInfo.arrayHeight = arrayHeight; sensor height
fastInfo.bestStillCaptureFpsRange[0] = bestStillCaptureFpsRange[0]; 最低 fps
fastInfo.bestStillCaptureFpsRange[1] = bestStillCaptureFpsRange[1]; 最高 fps
fastInfo.bestFaceDetectMode = bestFaceDetectMode; ANDROID_STATISTICS_FACE_DETECT_MODE_SIMPLE 只抓人臉上的形狀
fastInfo.maxFaces = maxFaces; 10張臉?
fastInfo.maxZslSize.width = sensor width
fastInfo.maxZslSize.height = sensor height