Jump to content

Camera features doesn't work in 3rd party apps on ICS [logcats included]


Guest rhen

Recommended Posts

Hi,

I use stock Vodafone B936 ICS ROM.

The following features works in stock app, but doesn't in 3rd party:

- Exposure compensation

- White balance

The following features worked with 3rd party apps on GB but doesn't on ICS:

- Exposure compensation

- White balance

- Metering mode

- Contrast

- Saturation

- Sharpness

- ISO

Tested with Camera360, CameraPro, Camera FV-5.

Is it just me, or an ICS bug?

Edited by rhen
Link to comment
Share on other sites

Guest MiguelPereira

Hi,

I use stock Vodafone B936 ICS ROM.

The following features works in stock app, but doesn't in 3rd party:

- Exposure compensation

- White balance

The following features worked with 3rd party apps on GB but doesn't on ICS:

- Exposure compensation

- White balance

- Metering mode

- Contrast

- Saturation

- Sharpness

- ISO

Tested with Camera360, CameraPro, Camera FV-5.

Is it just me, or an ICS bug?

Hi.

I'm using B934 International version on my G300. I can assure you that both Camera 360 and Camera FV-5 (the one i'm using right now) take full control and advantage of ICS's Camera features including the touch to focus which is great.

Link to comment
Share on other sites

Hi.

I'm using B934 International version on my G300. I can assure you that both Camera 360 and Camera FV-5 (the one i'm using right now) take full control and advantage of ICS's Camera features including the touch to focus which is great.

Touch to focus works for me too. but the features that I posted above don't.

I'll wait until someone with stock B936 can / cannot confirm.

Link to comment
Share on other sites

Guest MickJack

There were some problems reported using the Infusion Rom, only 3500 replys to check , try the search thingy or look approx #2764, but I can remember barcode scanners and google googles not always working every time even if the camera worked fine, sorry cannot be more helpful. (page 134ish)

Edited by MickJack
Link to comment
Share on other sites

Guest MickJack

Hi....

in stock B934 and B940 Camera360 works fine,even Lg Camera that i use for videos works good.

The problem seems to be when the camera is used with a barcode scanner or other apps that call the camera, some finding first use is ok, second shot breaks............ Tillaz may be he man, like to keep him busy................................

Link to comment
Share on other sites

Huawei's response to the problem is "the APP may not be compatible with ICS. Please check Google Play for more information. Let us know if you have further questions"

I tried CameraZoom, LgCamera, ICS Camera, ProCapture, but doesn't work.

I know there are G300 with different camera hardware.

Is there a way to find out witch camera I have?

Link to comment
Share on other sites

  • 8 months later...

I updated from B936 to B952 today. Still not work.

Setting the parameters in Huawei camera ok. In any other app, I can change the settings, but has no effect on the picture.

I have an mt9p017 camera.

Can someone check that 3rd party camera apps works with this camera type on ICS? (I'll check it out with other ROMs when I get my unlock code, but I do not expect much)

Link to comment
Share on other sites

Guest akarana

I'd only been using my camera for OCR in Pleco Chinese dictionary, so I never noticed any problems.

I've just installed Camera FV-5, and voila ISO, White Balance, and Metering Mode don't seem to do anything.

FWIW my G300 has the Huawei B926 rom and shows as U8818.

After fiddling for a while with the camera app, when I exited a panel came up saying

"hello, we don't recognize your device. Please send details"

There was an auto-analyze thingy that generated an email to them, but Go Figure why it couldn't say as the app opened...

Link to comment
Share on other sites

Can someone who has working Exposure compensation, White balance, Metering mode, Contrast, ISO post his camera information from Camera FV-5?

Here is mine:

Supported settings for HUAWEI HUAWEI U8815:

White balance:

auto

incandescent

fluorescent

daylight

cloudy-daylight

Supported antibanding modes:

off

50hz

60hz

auto

Supported flash modes:

off

auto

on

torch

Supported focus modes:

auto

infinity

normal

macro

continuous-video

Supported scene modes:

off

auto

action

portrait

landscape

night

night-portrait

theatre

beach

snow

sunset

steadyphoto

fireworks

sports

party

candlelight

backlight

flowers

AR

Camera parameters:

zoom=0

redeye-reduction-values=enable,disable

mce=enable

hfr-size-values=432x240,320x240

scene-detect-values=

zoom-supported=true

strtextures=OFF

face-detection-values=

denoise-values=denoise-off,denoise-on

zsl-values=off,on

sharpness=10

hdr-values=

contrast=5

whitebalance=auto

max-sharpness=30

scene-mode=auto

jpeg-quality=100

preview-format-values=yuv420sp,yuv420p

histogram-values=

jpeg-thumbnail-quality=90

preview-format=yuv420sp

overlay-format=265

metering-areas=(-1000,-1000,1000,1000,1000)

face-detection=off

skinToneEnhancement=disable

touch-index-af=320x240

preview-size=640x480

focal-length=4.13

auto-exposure-values=frame-average,center-weighted,spot-metering

video-zoom-support=false

iso=auto

denoise=denoise-off

mce-values=enable,disable

record-size=

flash-mode-values=off,auto,on,torch

preview-frame-rate-values=5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31

max-num-metering-areas=1

preview-frame-rate=30

focus-mode-values=auto,infinity,normal,macro,continuous-video

preview-frame-rate-mode=frame-rate-auto

jpeg-thumbnail-width=512

scene-mode-values=off,auto,action,portrait,landscape,night,night-portrait,theatre,beach,snow,sunset,steadyphoto,fireworks,sports,party,candlelight,backlight,flowers,AR

redeye-reduction=disable

preview-fps-range-values=(5000,31000)

auto-exposure=frame-average

jpeg-thumbnail-size-values=512x288,480x288,432x288,512x384,352x288,0x0

histogram=disable

zoom-ratios=100,102,104,107,109,112,114,117,120,123,125,128,131,135,138,141,144,148,151,155,158,162,166,170,174,178,182,186,190,195,202,204,209,214,219,224,229,235,240,246,251,257,263,270,276,282,289,296,303,310,317,324,332,340,348,356,364,373,381,390,400

camera-mode=0

preview-size-values=864x480,800x480,768x432,640x480,576x432,480x320,432x240,384x288,352x288,320x240,240x160,176x144

picture-size-values=2592x1944,2048x1536,1920x1080,1600x1200,1280x768,1024x768,800x600,800x480,640x480

touch-af-aec=touch-off

preview-fps-range=5000,31000

min-exposure-compensation=-12

antibanding=auto

touch-af-aec-values=touch-off,touch-on

max-num-focus-areas=1

vertical-view-angle=42.5

luma-adaptation=3

horizontal-view-angle=54.8

touch-index-aec=320x240

skinToneEnhancement-values=

jpeg-thumbnail-height=384

focus-mode=macro

max-saturation=10

max-contrast=10

preview-frame-rate-modes=frame-rate-auto,frame-rate-fixed

video-frame-format=yuv420sp

hdr=disable

picture-format-values=jpeg,raw

max-exposure-compensation=12

focus-areas=(-1000,-1000,1000,1000,1000)

num-snaps-per-shutter=1

exposure-compensation=0

video-hfr=off

exposure-compensation-step=0.166667

scene-detect=off

flash-mode=off

effect-values=none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua

picture-size=640x480

max-zoom=60

effect=none

saturation=5

whitebalance-values=auto,incandescent,fluorescent,daylight,cloudy-daylight

picture-format=jpeg

focus-distances=0.10,0.20,Infinity

zsl=off

touchAfAec-dx=100

lensshade-values=enable,disable

touchAfAec-dy=100

selectable-zone-af=spot-metering

video-hfr-values=off,60,90,120

iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800,ISO1600

selectable-zone-af-values=

lensshade=enable

antibanding-values=off,50hz,60hz,auto

It seems like Huawei couldn't make a proper camera driver for this camera for ICS and in his own app, use some non standard way to set Exposure compensation and White balance.

edit1:

I looked into logcat and found the following things:

On camera start, I have the following errors:


06-15 12:49:09.310: E/CAM_FD(123): sensor_load_chromatix: Sensor name: mt9p017 cnt=8

06-15 12:49:09.310: E/CAM_FD(123): sensor_load_chromatix: libchromatix_mt9p017_preview.so: 31

06-15 12:49:09.310: E/CAM_FD(123): sensor_load_chromatix:1804: dlclose(libchromatix_handle) refcount 0

06-15 12:49:09.320: E/CAM_FD(123): chroma : 422ee648

06-15 12:49:09.320: E/QualcommCameraHardware(123): FATAL ERROR: could not dlopen libcontrast.so: Cannot load library: load_library[1093]: Library 'libcontrast.so' not found

I compared the behavior of the Huawei camera app and the FV-5 app. It looks like they handle the settings differently:

Setting white balance:

Huawei Camera:

06-15 12:43:24.350: I/Camera(26568): setCameraParameters begine, get parameter=android.hardware.Camera$Parameters@416a77b0

06-15 12:43:24.350: E/QualcommCamera(123): Qchar* android::get_parameters(camera_device*): E

06-15 12:43:24.350: V/QualcommCameraHardware(123): getParameters: EX

06-15 12:43:24.350: E/QualcommCamera(123): get_parameters X

06-15 12:43:24.350: E/QualcommCamera(123): Qvoid android::put_parameters(camera_device*, char*): E

06-15 12:43:24.350: E/QualcommCamera(123): put_parameters X

06-15 12:43:24.360: I/Util(26568): getSupportedHdrMode=null

06-15 12:43:24.370: I/Camera(26568): targetHeight = 480

06-15 12:43:24.370: D/Camera(26568): optimalSize.width:640 and optimalSize.height:480

06-15 12:43:24.370: I/Camera(26568): in setPreviewFrameAspectRatio,mRestartPreviewNeed = false

06-15 12:43:24.370: E/QualcommCamera(123): Qint android::get_camera_info(int, camera_info*): E

06-15 12:43:24.370: I/QualcommCameraHardware(123): Found a matching camera info for ID 0

06-15 12:43:24.370: I/QualcommCameraHardware(123): HAL_getCameraInfo: orientation = 90

06-15 12:43:24.370: I/QualcommCameraHardware(123): HAL_getCameraInfo: modes supported = 5

06-15 12:43:24.370: I/Util(26568): HwExtCameraClass not support

06-15 12:43:24.370: I/Util(26568): HwExtCameraClass not support

06-15 12:43:24.370: I/Camera(26568): brightnessValue = -100

06-15 12:43:24.370: I/Util(26568): HwExtCameraClass not support

06-15 12:43:24.370: I/Util(26568): HwExtCameraClass not support

06-15 12:43:24.370: I/Camera(26568): saturationValue = -100

06-15 12:43:24.380: I/Camera(26568): updateCameraParametersFocus focus Mode : auto

06-15 12:43:24.390: E/QualcommCamera(123): Qint android::set_parameters(camera_device*, const char*): E

06-15 12:43:24.390: V/QualcommCameraHardware(123): setParameters: E params = 0x412bfef0

06-15 12:43:24.390: I/QualcommCameraHardware(123): ZSL is enabled 0

06-15 12:43:24.390: V/QualcommCameraHardware(123): requested preview size 640 x 480

06-15 12:43:24.390: V/QualcommCameraHardware(123): No Record Size requested, use the preview dimensions

06-15 12:43:24.390: I/QualcommCameraHardware(123): setRecordSize: preview dimensions: 640x480

06-15 12:43:24.390: I/QualcommCameraHardware(123): setRecordSize: video dimensions: 640x480

06-15 12:43:24.390: V/QualcommCameraHardware(123): requested picture size 2592 x 1944

06-15 12:43:24.390: V/QualcommCameraHardware(123): requested jpeg thumbnail size 512 x 384

06-15 12:43:24.390: E/Sensors(300): sensors_poll_context_t::pollEvents, line 202: receive event #### i=2, nb=0

06-15 12:43:24.390: V/QualcommCameraHardware(123): No Record Size requested, use the preview dimensions

06-15 12:43:24.390: I/QualcommCameraHardware(123): setRecordSize: preview dimensions: 640x480

06-15 12:43:24.390: I/QualcommCameraHardware(123): setRecordSize: video dimensions: 640x480

06-15 12:43:24.390: I/QualcommCameraHardware(123): Setting preview format to native

06-15 12:43:24.390: V/QualcommCameraHardware(123): native_set_parms status = 0

06-15 12:43:24.390: I/QualcommCameraHardware(123): Parameter MCE is not supported for this sensor

06-15 12:43:24.390: V/QualcommCameraHardware(123): setting sharpness 10

06-15 12:43:24.390: V/QualcommCameraHardware(123): Setting saturation 5

06-15 12:43:24.390: V/QualcommCameraHardware(123): native_set_parms status = 0

06-15 12:43:24.390: E/QualcommCameraHardware(123): android::status_t android::QualcommCameraHardware::setTouchAfAec(const android::CameraParameters&)

06-15 12:43:24.390: E/QualcommCameraHardware(123): Touch Area Center (cx, cy) = (-320, -240)

06-15 12:43:24.390: V/QualcommCameraHardware(123): setting contrast 5

06-15 12:43:24.390: V/QualcommCameraHardware(123): No Record Size requested, use the preview dimensions

06-15 12:43:24.390: I/QualcommCameraHardware(123): setRecordSize: preview dimensions: 640x480

06-15 12:43:24.390: I/QualcommCameraHardware(123): setRecordSize: video dimensions: 640x480

06-15 12:43:24.390: V/QualcommCameraHardware(123): strtextures = OFF

06-15 12:43:24.390: I/QualcommCameraHardware(123): Setting preview format to native

06-15 12:43:24.390: V/QualcommCameraHardware(123): native_set_parms status = 0

06-15 12:43:24.400: I/QualcommCameraHardware(123): setRedeyeReduction: setting Redeye Reduction value of disable

06-15 12:43:24.400: E/CAM_FD(123): config_proc_CAMERA_SET_REDEYE_REDUCTION: mode =0

06-15 12:43:24.400: E/QualcommCameraHardware(123): FPS Range Values: 5000x31000

06-15 12:43:24.400: V/QualcommCameraHardware(123): Zsl is not enabled

06-15 12:43:24.400: I/QualcommCameraHardware(123): setSnapshotCount setting num-snaps-per-shutter to 1

06-15 12:43:24.400: E/QualcommCameraHardware(123): FocusMode =auto

06-15 12:43:24.400: V/QualcommCameraHardware(123): Continuous Auto Focus 0

06-15 12:43:24.400: V/QualcommCameraHardware(123): requested preview frame rate is 31

06-15 12:43:24.400: V/QualcommCameraHardware(123): fps same as previous fps

06-15 12:43:24.400: E/QualcommCameraHardware(123): DEBBUG: setExposureCompensation E

06-15 12:43:24.400: E/QualcommCameraHardware(123): DEBBUG: setExposureCompensation ret = 1 X

06-15 12:43:24.400: V/QualcommCameraHardware(123): native_set_parms status = 0

06-15 12:43:24.400: I/QualcommCameraHardware(123): setHighFrameRate: setting HFR value of off(1)

06-15 12:43:24.400: V/QualcommCameraHardware(123): setParameters: X

06-15 12:43:24.400: I/Camera(26568): setCameraParameters end

FV-5 Camera:

06-15 12:40:21.590: E/QualcommCamera(123): Qchar* android::get_parameters(camera_device*): E

06-15 12:40:21.590: V/QualcommCameraHardware(123): getParameters: EX

06-15 12:40:21.590: E/QualcommCamera(123): get_parameters X

06-15 12:40:21.590: E/QualcommCamera(123): Qvoid android::put_parameters(camera_device*, char*): E

06-15 12:40:21.590: E/QualcommCamera(123): put_parameters X

06-15 12:40:21.590: E/QualcommCamera(123): Qint android::set_parameters(camera_device*, const char*): E

06-15 12:40:21.590: V/QualcommCameraHardware(123): setParameters: E params = 0x412bfef0

06-15 12:40:21.600: I/QualcommCameraHardware(123): ZSL is enabled 0

06-15 12:40:21.600: V/QualcommCameraHardware(123): requested preview size 640 x 480

06-15 12:40:21.600: V/QualcommCameraHardware(123): No Record Size requested, use the preview dimensions

06-15 12:40:21.600: I/QualcommCameraHardware(123): setRecordSize: preview dimensions: 640x480

06-15 12:40:21.600: I/QualcommCameraHardware(123): setRecordSize: video dimensions: 640x480

06-15 12:40:21.600: V/QualcommCameraHardware(123): requested picture size 640 x 480

06-15 12:40:21.600: V/QualcommCameraHardware(123): requested jpeg thumbnail size 512 x 384

06-15 12:40:21.600: V/QualcommCameraHardware(123): No Record Size requested, use the preview dimensions

06-15 12:40:21.600: I/QualcommCameraHardware(123): setRecordSize: preview dimensions: 640x480

06-15 12:40:21.600: I/QualcommCameraHardware(123): setRecordSize: video dimensions: 640x480

06-15 12:40:21.600: I/QualcommCameraHardware(123): Setting preview format to native

06-15 12:40:21.600: V/QualcommCameraHardware(123): native_set_parms status = 0

06-15 12:40:21.600: I/QualcommCameraHardware(123): Parameter MCE is not supported for this sensor

06-15 12:40:21.600: V/QualcommCameraHardware(123): setting sharpness 10

06-15 12:40:21.600: V/QualcommCameraHardware(123): Setting saturation 5

06-15 12:40:21.600: V/QualcommCameraHardware(123): native_set_parms status = 0

06-15 12:40:21.600: E/QualcommCameraHardware(123): android::status_t android::QualcommCameraHardware::setTouchAfAec(const android::CameraParameters&)

06-15 12:40:21.600: E/QualcommCameraHardware(123): Touch Area Center (cx, cy) = (320, 240)

06-15 12:40:21.600: I/QualcommCameraHardware(123): Contrast value will not be set when the scenemode selected is auto

06-15 12:40:21.600: V/QualcommCameraHardware(123): No Record Size requested, use the preview dimensions

06-15 12:40:21.600: I/QualcommCameraHardware(123): setRecordSize: preview dimensions: 640x480

06-15 12:40:21.600: I/QualcommCameraHardware(123): setRecordSize: video dimensions: 640x480

06-15 12:40:21.600: V/QualcommCameraHardware(123): strtextures = OFF

06-15 12:40:21.600: I/QualcommCameraHardware(123): Setting preview format to native

06-15 12:40:21.600: V/QualcommCameraHardware(123): native_set_parms status = 0

06-15 12:40:21.600: I/QualcommCameraHardware(123): setRedeyeReduction: setting Redeye Reduction value of disable

06-15 12:40:21.600: E/CAM_FD(123): config_proc_CAMERA_SET_REDEYE_REDUCTION: mode =0

06-15 12:40:21.600: E/QualcommCameraHardware(123): FPS Range Values: 5000x31000

06-15 12:40:21.600: V/QualcommCameraHardware(123): Zsl is not enabled

06-15 12:40:21.600: I/QualcommCameraHardware(123): setSnapshotCount setting num-snaps-per-shutter to 1

06-15 12:40:21.610: E/QualcommCameraHardware(123): FocusMode =auto

06-15 12:40:21.610: V/QualcommCameraHardware(123): Continuous Auto Focus 0

06-15 12:40:21.610: V/QualcommCameraHardware(123): checkAreaParameters: Area values are 153,725,446,1000,1000

06-15 12:40:21.610: V/QualcommCameraHardware(123): checkAreaParameters: Area values are -1000,-1000,1000,1000,1000

06-15 12:40:21.610: V/QualcommCameraHardware(123): requested preview frame rate is 30

06-15 12:40:21.610: V/QualcommCameraHardware(123): fps same as previous fps

06-15 12:40:21.610: I/QualcommCameraHardware(123): setHighFrameRate: setting HFR value of off(1)

06-15 12:40:21.610: V/QualcommCameraHardware(123): setParameters: X

06-15 12:40:21.610: E/mm-camera(123): reset rejected because clients are active

06-15 12:40:21.620: W/ResourceType(26371): No known package when getting value for resource number 0xffffffff

06-15 12:40:21.620: W/ImageView(26371): Unable to find resource: -1

06-15 12:40:21.620: W/ImageView(26371): android.content.res.Resources$NotFoundException: Resource ID #0xffffffff

06-15 12:40:21.620: W/ImageView(26371): at android.content.res.Resources.getValue(Resources.java:1019)

06-15 12:40:21.620: W/ImageView(26371): at android.content.res.Resources.getDrawable(Resources.java:663)

06-15 12:40:21.620: W/ImageView(26371): at android.widget.ImageView.resolveUri(ImageView.java:542)

06-15 12:40:21.620: W/ImageView(26371): at android.widget.ImageView.onMeasure(ImageView.java:647)

06-15 12:40:21.620: W/ImageView(26371): at android.view.View.measure(View.java:12758)

06-15 12:40:21.620: W/ImageView(26371): at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:594)

06-15 12:40:21.620: W/ImageView(26371): at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:376)

06-15 12:40:21.620: W/ImageView(26371): at android.view.View.measure(View.java:12758)

06-15 12:40:21.620: W/ImageView(26371): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4698)

06-15 12:40:21.620: W/ImageView(26371): at android.widget.FrameLayout.onMeasure(FrameLayout.java:293)

06-15 12:40:21.620: W/ImageView(26371): at android.view.View.measure(View.java:12758)

06-15 12:40:21.620: W/ImageView(26371): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4698)

06-15 12:40:21.620: W/ImageView(26371): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1369)

06-15 12:40:21.620: W/ImageView(26371): at android.widget.LinearLayout.measureVertical(LinearLayout.java:660)

06-15 12:40:21.620: W/ImageView(26371): at android.widget.LinearLayout.onMeasure(LinearLayout.java:553)

06-15 12:40:21.620: W/ImageView(26371): at android.view.View.measure(View.java:12758)

06-15 12:40:21.620: W/ImageView(26371): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4698)

06-15 12:40:21.620: W/ImageView(26371): at android.widget.FrameLayout.onMeasure(FrameLayout.java:293)

06-15 12:40:21.620: W/ImageView(26371): at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(Phonewindow.java:2092)

06-15 12:40:21.620: W/ImageView(26371): at android.view.View.measure(View.java:12758)

06-15 12:40:21.620: W/ImageView(26371): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1064)

06-15 12:40:21.620: W/ImageView(26371): at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2445)

06-15 12:40:21.620: W/ImageView(26371): at android.os.Handler.dispatchMessage(Handler.java:99)

06-15 12:40:21.620: W/ImageView(26371): at android.os.Looper.loop(Looper.java:137)

06-15 12:40:21.620: W/ImageView(26371): at android.app.ActivityThread.main(ActivityThread.java:4424)

06-15 12:40:21.620: W/ImageView(26371): at java.lang.reflect.Method.invokeNative(Native Method)

06-15 12:40:21.620: W/ImageView(26371): at java.lang.reflect.Method.invoke(Method.java:511)

06-15 12:40:21.620: W/ImageView(26371): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)

06-15 12:40:21.620: W/ImageView(26371): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554)

06-15 12:40:21.620: W/ImageView(26371): at dalvik.system.NativeStart.main(Native Method)

06-15 12:40:21.630: W/ResourceType(26371): No known package when getting value for resource number 0xffffffff

06-15 12:40:21.650: W/ImageView(26371): Unable to find resource: -1

06-15 12:40:21.650: W/ImageView(26371): android.content.res.Resources$NotFoundException: Resource ID #0xffffffff

06-15 12:40:21.650: W/ImageView(26371): at android.content.res.Resources.getValue(Resources.java:1019)

06-15 12:40:21.650: W/ImageView(26371): at android.content.res.Resources.getDrawable(Resources.java:663)

06-15 12:40:21.650: W/ImageView(26371): at android.widget.ImageView.resolveUri(ImageView.java:542)

06-15 12:40:21.650: W/ImageView(26371): at android.widget.ImageView.onMeasure(ImageView.java:647)

06-15 12:40:21.650: W/ImageView(26371): at android.view.View.measure(View.java:12758)

06-15 12:40:21.650: W/ImageView(26371): at android.widget.RelativeLayout.measureChild(RelativeLayout.java:579)

06-15 12:40:21.650: W/ImageView(26371): at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:392)

06-15 12:40:21.650: W/ImageView(26371): at android.view.View.measure(View.java:12758)

06-15 12:40:21.650: W/ImageView(26371): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4698)

06-15 12:40:21.650: W/ImageView(26371): at android.widget.FrameLayout.onMeasure(FrameLayout.java:293)

06-15 12:40:21.650: W/ImageView(26371): at android.view.View.measure(View.java:12758)

06-15 12:40:21.650: W/ImageView(26371): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4698)

06-15 12:40:21.650: W/ImageView(26371): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1369)

06-15 12:40:21.650: W/ImageView(26371): at android.widget.LinearLayout.measureVertical(LinearLayout.java:660)

06-15 12:40:21.650: W/ImageView(26371): at android.widget.LinearLayout.onMeasure(LinearLayout.java:553)

06-15 12:40:21.650: W/ImageView(26371): at android.view.View.measure(View.java:12758)

06-15 12:40:21.650: W/ImageView(26371): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4698)

06-15 12:40:21.650: W/ImageView(26371): at android.widget.FrameLayout.onMeasure(FrameLayout.java:293)

06-15 12:40:21.650: W/ImageView(26371): at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(Phonewindow.java:2092)

06-15 12:40:21.650: W/ImageView(26371): at android.view.View.measure(View.java:12758)

06-15 12:40:21.650: W/ImageView(26371): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1064)

06-15 12:40:21.650: W/ImageView(26371): at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2445)

06-15 12:40:21.650: W/ImageView(26371): at android.os.Handler.dispatchMessage(Handler.java:99)

06-15 12:40:21.650: W/ImageView(26371): at android.os.Looper.loop(Looper.java:137)

06-15 12:40:21.650: W/ImageView(26371): at android.app.ActivityThread.main(ActivityThread.java:4424)

06-15 12:40:21.650: W/ImageView(26371): at java.lang.reflect.Method.invokeNative(Native Method)

06-15 12:40:21.650: W/ImageView(26371): at java.lang.reflect.Method.invoke(Method.java:511)

06-15 12:40:21.650: W/ImageView(26371): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)

06-15 12:40:21.650: W/ImageView(26371): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:554)

06-15 12:40:21.650: W/ImageView(26371): at dalvik.system.NativeStart.main(Native Method)

06-15 12:40:21.670: D/memalloc(26371): /dev/pmem: Unmapping buffer base:0x4bfd3000 size:6631424 offset:6144000

06-15 12:40:21.670: D/memalloc(26371): /dev/pmem: Unmapping buffer base:0x511c9000 size:7118848 offset:6631424

06-15 12:40:21.670: D/memalloc(26371): /dev/pmem: Unmapping buffer base:0x5189d000 size:9195520 offset:8708096

06-15 12:40:21.670: D/memalloc(120): /dev/pmem: Freeing buffer base:0x4206b000 size:487424 offset:6144000 fd:47

06-15 12:40:21.670: D/memalloc(120): /dev/pmem: Freeing buffer base:0x422dd000 size:487424 offset:8708096 fd:116

Setting the exposure compensation:

Huawei Camera:

06-15 12:48:08.690: I/Camera(26568): setCameraParameters begine, get parameter=android.hardware.Camera$Parameters@418bfdb0

06-15 12:48:08.690: E/QualcommCamera(123): Qchar* android::get_parameters(camera_device*): E

06-15 12:48:08.690: V/QualcommCameraHardware(123): getParameters: EX

06-15 12:48:08.700: E/QualcommCamera(123): get_parameters X

06-15 12:48:08.700: E/QualcommCamera(123): Qvoid android::put_parameters(camera_device*, char*): E

06-15 12:48:08.700: E/QualcommCamera(123): put_parameters X

06-15 12:48:08.710: I/Util(26568): getSupportedHdrMode=null

06-15 12:48:08.720: I/Camera(26568): targetHeight = 480

06-15 12:48:08.720: I/Camera(26568): switchPreviewSize, size = (640*480)

06-15 12:48:08.720: E/mm-camera(123): reset rejected because clients are active

06-15 12:48:08.720: D/Camera(26568): optimalSize.width:640 and optimalSize.height:480

06-15 12:48:08.720: I/Camera(26568): in setPreviewFrameAspectRatio,mRestartPreviewNeed = false

06-15 12:48:08.730: E/QualcommCamera(123): Qint android::get_camera_info(int, camera_info*): E

06-15 12:48:08.730: I/QualcommCameraHardware(123): Found a matching camera info for ID 0

06-15 12:48:08.730: I/QualcommCameraHardware(123): HAL_getCameraInfo: orientation = 90

06-15 12:48:08.730: I/QualcommCameraHardware(123): HAL_getCameraInfo: modes supported = 5

06-15 12:48:08.730: I/Util(26568): HwExtCameraClass not support

06-15 12:48:08.730: I/Util(26568): HwExtCameraClass not support

06-15 12:48:08.730: I/Camera(26568): brightnessValue = -100

06-15 12:48:08.740: I/Util(26568): HwExtCameraClass not support

06-15 12:48:08.740: I/Util(26568): HwExtCameraClass not support

06-15 12:48:08.740: I/Camera(26568): saturationValue = -100

06-15 12:48:08.740: I/Camera(26568): updateCameraParametersFocus focus Mode : auto

06-15 12:48:08.750: E/QualcommCamera(123): Qint android::set_parameters(camera_device*, const char*): E

06-15 12:48:08.750: V/QualcommCameraHardware(123): setParameters: E params = 0x412bfef0

06-15 12:48:08.750: I/QualcommCameraHardware(123): ZSL is enabled 0

06-15 12:48:08.750: V/QualcommCameraHardware(123): requested preview size 640 x 480

06-15 12:48:08.750: V/QualcommCameraHardware(123): No Record Size requested, use the preview dimensions

06-15 12:48:08.750: I/QualcommCameraHardware(123): setRecordSize: preview dimensions: 640x480

06-15 12:48:08.750: I/QualcommCameraHardware(123): setRecordSize: video dimensions: 640x480

06-15 12:48:08.750: V/QualcommCameraHardware(123): requested picture size 2592 x 1944

06-15 12:48:08.750: V/QualcommCameraHardware(123): requested jpeg thumbnail size 512 x 384

06-15 12:48:08.750: V/QualcommCameraHardware(123): No Record Size requested, use the preview dimensions

06-15 12:48:08.750: I/QualcommCameraHardware(123): setRecordSize: preview dimensions: 640x480

06-15 12:48:08.750: I/QualcommCameraHardware(123): setRecordSize: video dimensions: 640x480

06-15 12:48:08.750: I/QualcommCameraHardware(123): Setting preview format to native

06-15 12:48:08.750: V/QualcommCameraHardware(123): native_set_parms status = 0

06-15 12:48:08.760: I/QualcommCameraHardware(123): Parameter MCE is not supported for this sensor

06-15 12:48:08.760: V/QualcommCameraHardware(123): setting sharpness 10

06-15 12:48:08.760: V/QualcommCameraHardware(123): Setting saturation 5

06-15 12:48:08.760: V/QualcommCameraHardware(123): native_set_parms status = 0

06-15 12:48:08.760: E/QualcommCameraHardware(123): android::status_t android::QualcommCameraHardware::setTouchAfAec(const android::CameraParameters&)

06-15 12:48:08.760: E/QualcommCameraHardware(123): Touch Area Center (cx, cy) = (-320, -240)

06-15 12:48:08.760: V/QualcommCameraHardware(123): setting contrast 5

06-15 12:48:08.760: V/QualcommCameraHardware(123): No Record Size requested, use the preview dimensions

06-15 12:48:08.760: I/QualcommCameraHardware(123): setRecordSize: preview dimensions: 640x480

06-15 12:48:08.760: I/QualcommCameraHardware(123): setRecordSize: video dimensions: 640x480

06-15 12:48:08.760: V/QualcommCameraHardware(123): strtextures = OFF

06-15 12:48:08.760: I/QualcommCameraHardware(123): Setting preview format to native

06-15 12:48:08.760: V/QualcommCameraHardware(123): native_set_parms status = 0

06-15 12:48:08.760: I/QualcommCameraHardware(123): setRedeyeReduction: setting Redeye Reduction value of disable

06-15 12:48:08.760: E/CAM_FD(123): config_proc_CAMERA_SET_REDEYE_REDUCTION: mode =0

06-15 12:48:08.760: E/QualcommCameraHardware(123): FPS Range Values: 5000x31000

06-15 12:48:08.760: V/QualcommCameraHardware(123): Zsl is not enabled

06-15 12:48:08.760: I/QualcommCameraHardware(123): setSnapshotCount setting num-snaps-per-shutter to 1

06-15 12:48:08.760: E/QualcommCameraHardware(123): FocusMode =auto

06-15 12:48:08.760: V/QualcommCameraHardware(123): Continuous Auto Focus 0

06-15 12:48:08.760: V/QualcommCameraHardware(123): requested preview frame rate is 31

06-15 12:48:08.760: V/QualcommCameraHardware(123): fps same as previous fps

06-15 12:48:08.760: E/QualcommCameraHardware(123): DEBBUG: setExposureCompensation E

06-15 12:48:08.760: E/QualcommCameraHardware(123): DEBBUG: setExposureCompensation ret = 1 X

06-15 12:48:08.760: V/QualcommCameraHardware(123): native_set_parms status = 0

06-15 12:48:08.770: I/QualcommCameraHardware(123): setHighFrameRate: setting HFR value of off(1)

06-15 12:48:08.770: V/QualcommCameraHardware(123): setParameters: X

06-15 12:48:08.770: I/Camera(26568): setCameraParameters end

FV-5 Camera:

06-15 12:50:37.890: D/memalloc(120): /dev/pmem: Allocated buffer base:0x41a8f000 size:458752 offset:15286272 fd:116

06-15 12:50:37.890: D/memalloc(26371): /dev/pmem: Mapped buffer base:0x502a7000 size:15745024 offset:15286272 fd:88

06-15 12:50:37.900: E/QualcommCamera(123): Qchar* android::get_parameters(camera_device*): E

06-15 12:50:37.900: V/QualcommCameraHardware(123): getParameters: EX

06-15 12:50:37.900: E/QualcommCamera(123): get_parameters X

06-15 12:50:37.900: E/QualcommCamera(123): Qvoid android::put_parameters(camera_device*, char*): E

06-15 12:50:37.900: E/QualcommCamera(123): put_parameters X

06-15 12:50:37.910: E/QualcommCamera(123): Qint android::set_parameters(camera_device*, const char*): E

06-15 12:50:37.920: V/QualcommCameraHardware(123): setParameters: E params = 0x412bfef0

06-15 12:50:37.920: I/QualcommCameraHardware(123): ZSL is enabled 0

06-15 12:50:37.920: V/QualcommCameraHardware(123): requested preview size 640 x 480

06-15 12:50:37.920: V/QualcommCameraHardware(123): No Record Size requested, use the preview dimensions

06-15 12:50:37.920: I/QualcommCameraHardware(123): setRecordSize: preview dimensions: 640x480

06-15 12:50:37.920: I/QualcommCameraHardware(123): setRecordSize: video dimensions: 640x480

06-15 12:50:37.920: V/QualcommCameraHardware(123): requested picture size 640 x 480

06-15 12:50:37.920: V/QualcommCameraHardware(123): requested jpeg thumbnail size 512 x 384

06-15 12:50:37.920: V/QualcommCameraHardware(123): No Record Size requested, use the preview dimensions

06-15 12:50:37.920: I/QualcommCameraHardware(123): setRecordSize: preview dimensions: 640x480

06-15 12:50:37.920: I/QualcommCameraHardware(123): setRecordSize: video dimensions: 640x480

06-15 12:50:37.920: I/QualcommCameraHardware(123): Setting preview format to native

06-15 12:50:37.920: V/QualcommCameraHardware(123): native_set_parms status = 0

06-15 12:50:37.920: I/QualcommCameraHardware(123): Parameter MCE is not supported for this sensor

06-15 12:50:37.920: V/QualcommCameraHardware(123): setting sharpness 10

06-15 12:50:37.920: V/QualcommCameraHardware(123): Setting saturation 5

06-15 12:50:37.920: V/QualcommCameraHardware(123): native_set_parms status = 0

06-15 12:50:37.920: E/QualcommCameraHardware(123): android::status_t android::QualcommCameraHardware::setTouchAfAec(const android::CameraParameters&)

06-15 12:50:37.920: E/QualcommCameraHardware(123): Touch Area Center (cx, cy) = (320, 240)

06-15 12:50:37.930: I/QualcommCameraHardware(123): Contrast value will not be set when the scenemode selected is auto

06-15 12:50:37.930: V/QualcommCameraHardware(123): No Record Size requested, use the preview dimensions

06-15 12:50:37.930: I/QualcommCameraHardware(123): setRecordSize: preview dimensions: 640x480

06-15 12:50:37.930: I/QualcommCameraHardware(123): setRecordSize: video dimensions: 640x480

06-15 12:50:37.930: V/QualcommCameraHardware(123): strtextures = OFF

06-15 12:50:37.930: I/QualcommCameraHardware(123): Setting preview format to native

06-15 12:50:37.930: V/QualcommCameraHardware(123): native_set_parms status = 0

06-15 12:50:37.930: I/QualcommCameraHardware(123): setRedeyeReduction: setting Redeye Reduction value of disable

06-15 12:50:37.930: E/CAM_FD(123): config_proc_CAMERA_SET_REDEYE_REDUCTION: mode =0

06-15 12:50:37.930: E/QualcommCameraHardware(123): FPS Range Values: 5000x31000

06-15 12:50:37.930: V/QualcommCameraHardware(123): Zsl is not enabled

06-15 12:50:37.930: I/QualcommCameraHardware(123): setSnapshotCount setting num-snaps-per-shutter to 1

06-15 12:50:37.930: E/QualcommCameraHardware(123): FocusMode =auto

06-15 12:50:37.930: V/QualcommCameraHardware(123): Continuous Auto Focus 0

06-15 12:50:37.930: V/QualcommCameraHardware(123): checkAreaParameters: Area values are 153,725,446,1000,1000

06-15 12:50:37.930: V/QualcommCameraHardware(123): checkAreaParameters: Area values are -1000,-1000,1000,1000,1000

06-15 12:50:37.930: V/QualcommCameraHardware(123): requested preview frame rate is 30

06-15 12:50:37.930: V/QualcommCameraHardware(123): fps same as previous fps

06-15 12:50:37.930: I/QualcommCameraHardware(123): setHighFrameRate: setting HFR value of off(1)

06-15 12:50:37.930: V/QualcommCameraHardware(123): setParameters: X

There are several errors in Set and Get parameters with QualcommCamera.

Maybe a driver issue.

Edited by rhen
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.