B4X FEED Camera2/CameraEx2 Front camera preview SCALER_CROP_REGION crash

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Camera2\/CameraEx2 Front camera preview SCALER_CROP_REGION crash است. این موضوع تا کنون 19 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Camera2\/CameraEx2 Front camera preview SCALER_CROP_REGION crash
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
19
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
Hi All,

I'm experiencing crash on Camera2(v.1.11) Example (CameraEx2 v.1.30). This occurs on Camera.SetRepeatingRequest(PreviewBuilder) whenever any attempt is made to scale preview by changing the scalar crop rectangle. The app runs correctly until the zoom bar is touched. This only occurs on Xiaomi Redmi Note 11 phone (Android 11) front camera and not on other devices I have here. I have tried manually rotating the crop and also using the camera.ActiveArraySize as the crop.

Original Size return is 4080 x 3072

The unfiltered log shows this around the time of the crash:

[ERROR][ISP ] camxtfenode.cpp:4235 ExecuteProcessRequest() Off-centered zoom is not supported in DualIFE mode: HAL crop: (1605, 1192, 1013, 751), expected: width=4223, height=3135, actual active pixel array: width=4208, height=3120

I have no idea what DualIFE mode might be or how to change it, in case that is the problem.

I note that the camera app supplied with the phone does not allow zooming on the front...



 

عقب
بالا