请教如下两个问题:
问题1、一个摄像头,它的输出图像大小为320*240,它的拍照模式下preview大小为320*240,但是摄像模式的大小为352*288,为什么?问题2、我摄像头输出大小为640*480,我修改了camera应用层中的preview设置大小为640*480,拍照ok,但是摄像模式下的preview大小还是352*288,所以摄像模式异常。如下图,上部分中有横条纹,当遮挡摄像头时,条纹中有变化。如果将驱动程序中的sensor输出设置为352*288,则摄像模式OK。请问这是问什么? 
从拍照模式切换到摄像模式时的logcat如下:
I/ActivityManager(  966): Starting activity: Intent { act=android.media.action.V
IDEO_CAMERA flg=0x6000000 cmp=com.android.camera/.VideoCamera }
V/camera  ( 1335): stopPreview
W/ActivityManager(  966): Activity pause timeout for HistoryRecord{4401e200 com
.android.camera/.Camera}
W/OrientationEventListener( 1335): Cannot detect sensors. Invalid disable
V/videocamera( 1335): startPreview
D/CameraHardware(  893): Set Parameter...!!
D/CameraHardwaioctl_s_power Function!
re(  893): preview width:640,height:480
D/CameraHardware(  893): Validating 1600, 640 and 1200, 480
D/CameraHardware(  893): Validating 1024, 640 and 768, 480
D/CameraHardware(  893): Validating 640, 640 and 480, 480
D/CameraHardware(  893): picture width:640,height:480
D/CameraHardware(  893): Validating 1600, 640 and 1200, 480
D/CameraHardware(  893): Validating 1024, 640 and 768, 480
D/CameraHardware(  893): Validating 640, 640 and 480, 480
D/CameraHardware(  893): Preview Format:yuv422sp,Picture Format:jpeg
D/CameraHardware(  893): Set Parameter...!!
D/CameraHardware(  893): preview width:352,height:288
D/CameraHardw
Read Reg is :0x0 .
are(  893): Validating 1600, 352 and 1200, 288
D/CameraHardware(  893): Validating 1024, 352 and 768, 288
D/CameraHardware(  893): Validating 640, 352 and 480, 288
D/CameraHardware(  893): Validating 352, 352 and 288, 288
D/CameraHardware(  893): picture width:640,height:480
D/CameraHardware(  893): Validating 1600, 640 and 1200, 480
D/CameraHardware(  893): Validating 1024, 640 and 768, 480
D/CameraHardware(  893): Validating 640, 640 and 480, 480
D/CameraHardware(  893): Preview Format:yuv422sp,Picture Format:jpeg
D/Camera  ( 1335): app passed NULL surface
D/CameraHardware(  893): startPreview :opening device!!!!,width:352,height:288
D/dalvikvm( 1335): GC_FOR_MALLOC freed 5352 objecDetect GC0308 ID is: 0x9b
ts / 406168 bytes in 28ms
E/CameraHardware(  893): return Preview Heap
V/GLRootView( 1335): onSurfaceChanged: 591x480, gl10: com.google.android.gles_jn
i.GLImpl@44095c48
V/GLRootView( 1335): layout content pane 591x480
I/ActivityManager(  966): Displayed activity com.android.camera/.VideoCamera: 92
4 ms (total 924 ms)
V/videocamera( 1335): initializeRecorder
E/audio_input(  893): unsupported parameter: x-pvmf/media-input-node/cap-config-
interface;valtype=key_specific_value
E/audio_input(  893): VerifyAndSetParameter failed
E/CameraInput(  893): Unsupported parameter(x-pvmf/media-input-node/cap-config-i
nterface;valtype=key_specific_value)
E/CameraInput(  893): VerifiyAndSetParameter failed on parameter #0
D/AuthorDriver(  893): setParamVideoEncodingBitrate() 360000
V/videocamera( 1335): Current camera video filename: /mnt/sdcard/DCIM/Camera/VID
_19700101_003959.3gp
I/MediaRecorderJNI( 1335): prepare: surface=0x20e818 (id=4)
E/PVOMXEncNode(  893): PVMFOMXEncNode-Video_H263::DoPrepare(): Got Component OMX
.PV.h263enc handle
W/CameraInput(  893): refCount 0
E/PVOMXEncNode(  893): PVMFOMXEncNode-Audio_AMRNB::DoPrepare(): Got Component OM
X.PV.amrencnb handle
D/CameraInput(  893): Intended mFrameWidth=352, mFrameHeight=288
D/CameraHardware(  893): Set Parameter...!!
D/CameraHardware(  893): preview width:352,height:288
D/CameraHardware(  893): Validating 1600, 352 and 1200, 288
D/CameraHardware(  893): Validating 1024, 352 and 768, 288
D/CameraHardware(  893): Validating 640, 352 and 480, 288
D/CameraHardware(  893): Validating 352, 352 and 288, 288
D/CameraHardware(  893): picture width:640,height:480
D/CameraHardware(  893): Validating 1600, 640 and 1200, 480
D/CameraHardware(  893): Validating 1024, 640 and 768, 480
D/CameraHardware(  893): Validating 640, 640 and 480, 480
D/CameraHardware(  893): Preview Format:yuv422sp,Picture Format:jpeg
D/CameraInput(  893): Actual mFrameWidth=352, mFrameHeight=288
W/MediaThumbRequest( 1132): Can't create mini thumbnail for /mnt/sdcard/DCIM/Cam
era/VID_19700101_000149.3gp
V/MediaStore( 1335): Create the thumbnail in memory: origId=15, kind=3, isVideo=
true