AnsweredAssumed Answered

imx6 android4.4.2 usb camera

Question asked by 佳杰 吴 on Jan 18, 2016
Latest reply on Aug 23, 2017 by Phuong Tran

Now i use imx6d board with android4.4.2, when i take picture by usb camera,it shows like that:

IMG_2281.JPG

 

but preview is OK.

logcat says :

I/FslCameraHAL( 2416): device thread exit...

I/FslCameraHAL( 2416): StreamAdapter stop running

I/FslCameraHAL( 2416): stream thread received STREAM_STOP command

I/FslCameraHAL( 2416): StreamAdapter stop end

I/FslCameraHAL( 2416): PreviewStream release running

I/FslCameraHAL( 2416): StreamAdapter release running

I/FslCameraHAL( 2416): stream thread exiting...

E/BufferQueue( 3502): [unnamed-3502-2] cancelBuffer: slot 0 is not owned by the client (state=2)

E/BufferQueue( 3502): [unnamed-3502-2] cancelBuffer: slot 4 is not owned by the client (state=3)

I/FslCameraHAL( 2416): CaptureStream::configure

E/FslCameraHAL( 2416): getGpsCoordinates: error reading jpeg Coordinates tag

E/FslCameraHAL( 2416): getGpsTimeStamp: error reading jpeg TimeStamp tag

E/FslCameraHAL( 2416): getGpsProcessingMethod: error reading jpeg ProcessingMethod tag

I/FslCameraHAL( 2416): pixel format: 0x56595559

I/FslCameraHAL( 2416): Width * Height 640 x 480 format 0x56595559, fps: 15

I/FslCameraHAL( 2416): allocateBufferFromIon buffer num:2

I/FslCameraHAL( 2416): CaptureStream::start

I/FslCameraHAL( 2416): StreamAdapter start running

I/FslCameraHAL( 2416): stream thread received STREAM_START command

E/        ( 2416): g2d_open: fail with status -7

I/FslCameraHAL( 2416): Created device thread

I/FslCameraHAL( 2416): device thread exit...

E/FslCameraHAL( 2416): getGpsCoordinates: error reading jpeg Coordinates tag

E/FslCameraHAL( 2416): getGpsTimeStamp: error reading jpeg TimeStamp tag

E/FslCameraHAL( 2416): getGpsProcessingMethod: error reading jpeg ProcessingMethod tag

I/FslCameraHAL( 2416): pixel format: 0x3231564e

I/vpu-lib ( 2416): Product Info: i.MX6Q/D/S

I/FslCameraHAL( 2416): vpu lib version : major.minor.rel=5.4.25

I/FslCameraHAL( 2416): vpu fw version : major.minor.rel_rcode=3.1.1_r46058

I/vpu-lib ( 2416): <gpu> alloc handle: 0x40da5d48, paddr: 0x44416000, vaddr: 0x45a34000

I/vpu-lib ( 2416): <gpu> alloc handle: 0x40c35bc0, paddr: 0x428de000, vaddr: 0x43efc000

I/vpu-lib ( 2416): <gpu> alloc handle: 0x40c35bd8, paddr: 0x42d78000, vaddr: 0x44396000

I/vpu-lib ( 2416): <gpu> alloc handle: 0x40b45b28, paddr: 0x44598000, vaddr: 0x45bb6000

I/vpu-lib ( 2416): <gpu> alloc handle: 0x40f7d120, paddr: 0x43090000, vaddr: 0x446ae000

I/vpu-lib ( 2416): <gpu> free handle: 0x40c35bc0, paddr: 0x428de000, vaddr: 0x43efc000

I/vpu-lib ( 2416): <gpu> free handle: 0x40da5d48, paddr: 0x44416000, vaddr: 0x45a34000

I/vpu-lib ( 2416): <gpu> free handle: 0x40c35bd8, paddr: 0x42d78000, vaddr: 0x44396000

I/vpu-lib ( 2416): <gpu> free handle: 0x40b45b28, paddr: 0x44598000, vaddr: 0x45bb6000

I/vpu-lib ( 2416): <gpu> free handle: 0x40f7d120, paddr: 0x43090000, vaddr: 0x446ae000

I/FslCameraHAL( 2416): insertExifThumbnailImage. ReplaceThumbnail(). ret=1

E/FslCameraHAL( 2416): handleRequest:No more requests available

I/FslCameraHAL( 2416): handleRequest exiting

I/FslCameraHAL( 2416): stopAllStreams running

I/FslCameraHAL( 2416): CaptureStream::stop

I/FslCameraHAL( 2416): StreamAdapter stop running

I/FslCameraHAL( 2416): StreamAdapter stop end

I/FslCameraHAL( 2416): stream thread received STREAM_STOP command

W/Camera2-CaptureSequencer( 2416): Mismatched capture timestamps: Metadata frame 215139879694, captured buffer 215684377360

I/FslCameraHAL( 2416): CaptureStream::release

I/FslCameraHAL( 2416): StreamAdapter release running

I/FslCameraHAL( 2416): stream thread exiting...

I/FslCameraHAL( 2416): freeBufferToIon buffer num:2

I/FslCameraHAL( 2416): stopAllStreams end

I/FslCameraHAL( 2416): handleRequest end...

D/dalvikvm( 3502): GC_FOR_ALLOC freed 192K, 6% free 8484K/8968K, paused 16ms, total 16ms

V/CAM_PhotoModule( 3502): mPictureDisplayedToJpegCallbackTime = 625ms

V/CAM_PhotoModule( 3502): stopPreview

V/CAM_PhotoModule( 3502): Preview size is 640x480

V/CAM_PhotoModule( 3502): startPreview

Outcomes