summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-31Merge "Stop being silly."HEADandroid-wear-n-preview-3android-wear-n-preview-2android-wear-n-preview-1android-wear-7.1.1_r1android-n-preview-5android-n-preview-4android-n-preview-3android-n-preview-2android-n-preview-1android-n-mr2-preview-2android-n-mr2-preview-1android-n-mr1-preview-2android-n-mr1-preview-1android-n-iot-release-smart-display-r2android-n-iot-release-smart-displayandroid-n-iot-release-polk-at1android-n-iot-release-lg-thinq-wk7android-n-iot-release-ihome-igv1android-n-iot-preview-4android-n-iot-preview-2android-m-preview-2android-cts_7.1_r1android-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-cts-7.0_r9android-cts-7.0_r8android-cts-7.0_r7android-cts-7.0_r6android-cts-7.0_r5android-cts-7.0_r4android-cts-7.0_r33android-cts-7.0_r32android-cts-7.0_r31android-cts-7.0_r30android-cts-7.0_r3android-cts-7.0_r29android-cts-7.0_r28android-cts-7.0_r27android-cts-7.0_r26android-cts-7.0_r25android-cts-7.0_r24android-cts-7.0_r23android-cts-7.0_r22android-cts-7.0_r21android-cts-7.0_r20android-cts-7.0_r2android-cts-7.0_r19android-cts-7.0_r18android-cts-7.0_r17android-cts-7.0_r16android-cts-7.0_r15android-cts-7.0_r14android-cts-7.0_r13android-cts-7.0_r12android-cts-7.0_r11android-cts-7.0_r10android-cts-7.0_r1android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1android-7.0.0_r9android-7.0.0_r8android-7.0.0_r7android-7.0.0_r6android-7.0.0_r5android-7.0.0_r4android-7.0.0_r36android-7.0.0_r35android-7.0.0_r34android-7.0.0_r33android-7.0.0_r32android-7.0.0_r31android-7.0.0_r30android-7.0.0_r3android-7.0.0_r29android-7.0.0_r28android-7.0.0_r27android-7.0.0_r24android-7.0.0_r21android-7.0.0_r19android-7.0.0_r17android-7.0.0_r15android-7.0.0_r14android-7.0.0_r13android-7.0.0_r12android-7.0.0_r11android-7.0.0_r10android-7.0.0_r1nougat-releasenougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-devnougat-mr1.8-releasenougat-mr1.7-releasenougat-mr1.6-releasenougat-mr1.5-releasenougat-mr1.4-releasenougat-mr1.3-releasenougat-mr1.2-releasenougat-mr1.1-releasenougat-mr1-wear-releasenougat-mr1-volantis-releasenougat-mr1-security-releasenougat-mr1-releasenougat-mr1-flounder-releasenougat-mr1-devnougat-mr1-cts-releasenougat-mr0.5-releasenougat-iot-releasenougat-dr1-releasenougat-devnougat-cts-releasenougat-bugfix-releasen-iot-preview-4n-iot-preview-2mastermainElliott Hughes
2015-07-31Stop being silly.Elliott Hughes
Change-Id: Ica91ccfabce697dd4915508516694a37e5b92e24
2015-01-07Merge "Remove HAVE_UNWIND_CONTEXT_STRUCT."android-wear-5.1.1_r1android-wear-5.1.0_r1android-m-preview-1android-m-previewandroid-cts-6.0_r9android-cts-6.0_r8android-cts-6.0_r7android-cts-6.0_r6android-cts-6.0_r5android-cts-6.0_r4android-cts-6.0_r32android-cts-6.0_r31android-cts-6.0_r30android-cts-6.0_r3android-cts-6.0_r29android-cts-6.0_r28android-cts-6.0_r27android-cts-6.0_r26android-cts-6.0_r25android-cts-6.0_r24android-cts-6.0_r23android-cts-6.0_r22android-cts-6.0_r21android-cts-6.0_r20android-cts-6.0_r2android-cts-6.0_r19android-cts-6.0_r18android-cts-6.0_r17android-cts-6.0_r16android-cts-6.0_r15android-cts-6.0_r14android-cts-6.0_r13android-cts-6.0_r12android-cts-6.0_r1android-6.0.1_r9android-6.0.1_r81android-6.0.1_r80android-6.0.1_r8android-6.0.1_r79android-6.0.1_r78android-6.0.1_r77android-6.0.1_r74android-6.0.1_r73android-6.0.1_r72android-6.0.1_r70android-6.0.1_r7android-6.0.1_r69android-6.0.1_r68android-6.0.1_r67android-6.0.1_r66android-6.0.1_r65android-6.0.1_r63android-6.0.1_r62android-6.0.1_r61android-6.0.1_r60android-6.0.1_r59android-6.0.1_r58android-6.0.1_r57android-6.0.1_r56android-6.0.1_r55android-6.0.1_r54android-6.0.1_r53android-6.0.1_r52android-6.0.1_r51android-6.0.1_r50android-6.0.1_r5android-6.0.1_r49android-6.0.1_r48android-6.0.1_r47android-6.0.1_r46android-6.0.1_r45android-6.0.1_r43android-6.0.1_r42android-6.0.1_r41android-6.0.1_r40android-6.0.1_r4android-6.0.1_r33android-6.0.1_r32android-6.0.1_r31android-6.0.1_r30android-6.0.1_r3android-6.0.1_r28android-6.0.1_r27android-6.0.1_r26android-6.0.1_r25android-6.0.1_r24android-6.0.1_r22android-6.0.1_r21android-6.0.1_r20android-6.0.1_r18android-6.0.1_r17android-6.0.1_r16android-6.0.1_r13android-6.0.1_r12android-6.0.1_r11android-6.0.1_r10android-6.0.1_r1android-6.0.0_r7android-6.0.0_r6android-6.0.0_r5android-6.0.0_r41android-6.0.0_r4android-6.0.0_r3android-6.0.0_r26android-6.0.0_r25android-6.0.0_r24android-6.0.0_r23android-6.0.0_r2android-6.0.0_r13android-6.0.0_r12android-6.0.0_r11android-6.0.0_r1master-soongmarshmallow-releasemarshmallow-mr3-releasemarshmallow-mr2-releasemarshmallow-mr1-releasemarshmallow-mr1-devmarshmallow-dr1.6-releasemarshmallow-dr1.5-releasemarshmallow-dr1.5-devmarshmallow-dr-releasemarshmallow-dr-dragon-releasemarshmallow-dr-devmarshmallow-devmarshmallow-cts-releaseElliott Hughes
2015-01-07Remove HAVE_UNWIND_CONTEXT_STRUCT.Elliott Hughes
Change-Id: If08e90ade539f60f6d3132499a757d0ac70adcd6
2014-12-16Merge "Cleanup Obsolete LOCAL_PRELINK_MODULE."Ying Wang
2014-12-16Cleanup Obsolete LOCAL_PRELINK_MODULE.Ying Wang
Bug: 18675947 Change-Id: I07a35782fa2f021574c4ec937920448288594288
2014-03-07am 514f09d3: libexif is now libjheadandroid-wear-5.0.0_r1android-cts-5.1_r9android-cts-5.1_r8android-cts-5.1_r7android-cts-5.1_r6android-cts-5.1_r5android-cts-5.1_r4android-cts-5.1_r3android-cts-5.1_r28android-cts-5.1_r27android-cts-5.1_r26android-cts-5.1_r25android-cts-5.1_r24android-cts-5.1_r23android-cts-5.1_r22android-cts-5.1_r21android-cts-5.1_r20android-cts-5.1_r2android-cts-5.1_r19android-cts-5.1_r18android-cts-5.1_r17android-cts-5.1_r16android-cts-5.1_r15android-cts-5.1_r14android-cts-5.1_r13android-cts-5.1_r10android-cts-5.1_r1android-cts-5.0_r9android-cts-5.0_r8android-cts-5.0_r7android-cts-5.0_r6android-cts-5.0_r5android-cts-5.0_r4android-cts-5.0_r3android-5.1.1_r9android-5.1.1_r8android-5.1.1_r7android-5.1.1_r6android-5.1.1_r5android-5.1.1_r4android-5.1.1_r38android-5.1.1_r37android-5.1.1_r36android-5.1.1_r35android-5.1.1_r34android-5.1.1_r33android-5.1.1_r30android-5.1.1_r3android-5.1.1_r29android-5.1.1_r28android-5.1.1_r26android-5.1.1_r25android-5.1.1_r24android-5.1.1_r23android-5.1.1_r22android-5.1.1_r20android-5.1.1_r2android-5.1.1_r19android-5.1.1_r18android-5.1.1_r17android-5.1.1_r16android-5.1.1_r15android-5.1.1_r14android-5.1.1_r13android-5.1.1_r12android-5.1.1_r10android-5.1.1_r1android-5.1.0_r5android-5.1.0_r4android-5.1.0_r3android-5.1.0_r1android-5.0.2_r3android-5.0.2_r1android-5.0.1_r1android-5.0.0_r7android-5.0.0_r6android-5.0.0_r5.1android-5.0.0_r5android-5.0.0_r4android-5.0.0_r3android-5.0.0_r2android-5.0.0_r1lollipop-wear-releaselollipop-releaselollipop-mr1-wfc-releaselollipop-mr1-releaselollipop-mr1-fi-releaselollipop-mr1-devlollipop-mr1-cts-releaselollipop-devlollipop-cts-releaseMarco Nelissen
* commit '514f09d3e6226ab7fc5979803f1343ae4989e49b': libexif is now libjhead
2014-03-06libexif is now libjheadMarco Nelissen
b/12203995 Change-Id: Ifaae299dec2b782ee37bb1eacd157e9e1f509b5b
2013-12-19libexif is now libjheadMarco Nelissen
Change-Id: Ifaae299dec2b782ee37bb1eacd157e9e1f509b5b
2013-07-12always pass the BufferQueue explicitely to consumersMathias Agopian
Change-Id: Ieef876f56bb7d503696e59f406108700459f1a69
2013-07-08Pass additional arg to acquireBuffer calls.Andy McFadden
Bug 7900302 Change-Id: I96343fecd26423aef8b300895993418447d81546
2013-04-09Add liblogYing Wang
Bug: 8580410 Change-Id: Ie88b9489c314cad95246be5b8f3ff3d0963cbb63
2013-03-28cleanupJean-Baptiste Queru
Change-Id: Icd870d9a70be5535961d7ffabf215e461a6148a6
2013-03-25bump hwc to allow 4 big layersDake Gu
Wolfie search + home + wallpaper need 3 layers. Tested on Wolfie and Q. On Q, it's still falling back and does not hurt. Change-Id: I75f5e94aa23b7f8823d48a57a135934bfdadcb6b
2013-03-12remove Surface uses in favor of IGraphicBufferProducerMathias Agopian
Change-Id: I49137037ab1a09e8acfa623d81f7b073a651b3df
2013-02-14Refactoring: Rename SurfaceTextureClient to SurfaceMathias Agopian
Change-Id: If4d56220d57d866b2f914753ef1cf8396ca7a961
2012-12-18Rename ISurfaceTexture and SurfaceTextureAndy McFadden
The C++ class names don't match what the classes do, so rename ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to GLConsumer. Bug 7736700 Change-Id: Ib65a7b0495d0bd405e1d487014ff21ca956b177a
2012-11-26am bfe5c01b: am df9b42ba: Fix references to omap4-aahNick Sanders
* commit 'bfe5c01b8109e775269a1f95f991056c2938bbe8': Fix references to omap4-aah
2012-11-26am df9b42ba: Fix references to omap4-aahtools_r22.2tools_r22jb-mr1.1-dev-plus-aospNick Sanders
* commit 'df9b42baf2a15dbb0a0dd2ad96a4dcf4aea7d19a': Fix references to omap4-aah
2012-11-20Fix references to omap4-aahNick Sanders
Some references still point to older omap4xxx Change-Id: I8e363e927f45618c3c32716c88722ea888a9a5f8
2012-11-13keep history after resetEd Heyl
2012-11-13keep history after resetEd Heyl
2012-11-13am bb9fa8d7: fixed merge conflict with f39254e8779c9ed990ed8a728632f7956c27de7eEd Heyl
* commit 'bb9fa8d7ccd01c5b73cd5776909ddecb3536dbfe': (109 commits) CameraHal: Add external gamma table configuration USBCAMERA: Enable fps print. Revert "CameraHal: V4LCameraAdapter: Add support for MJPEG" Camera_test: Add support for UYVY reprocessing CameraHal: Add support for UYVY reprocessing Camera_test: Bayer reprocessing fixes Camera_test: Reprocessing related updates Camera_test: Add mechanism to explicitly set image streaming CameraHal: Add support for reprocessing with buffer borders CameraHal: Add error handling during frame callbacks CameraHal: Further reprocess optimizations CameraHal: Don't wait on preview frames during reprocess CameraHal: Adds reprocess related PPMs Camera: Set minimum undequeuable on tap-in Camera_test: BQ: Always write cropped NV12 Camera_test: Fixes crop handling, locking of buffers Camera_test: BQ: Add support for writing cropped CameraHal: Improve performance when queuing shots CameraHal: Fix back to back normal capture CameraHal: OMX: Change shot queue flow ...
2012-11-13am f39254e8: Add libdrmdecrypt and sgxMike J. Chen
* commit 'f39254e8779c9ed990ed8a728632f7956c27de7e': Add libdrmdecrypt and sgx
2012-11-12fixed merge conflict with f39254e8779c9ed990ed8a728632f7956c27de7eEd Heyl
Change-Id: I6a4a579e763e7f88a85546b11f9a216604c2c15f
2012-11-07CameraHal: Add external gamma table configurationVladimir Petrov
- Added support to set external gamma table. Application can set camera parameter with key "gamma-table" and value in the form: "(OffsetR0:SlopeR0,OffsetR1:SlopeR1,...,OffsetRN:SlopeRN)," "(OffsetG0:SlopeG0,OffsetG1:SlopeG1,...,OffsetGN:SlopeGN)," "(OffsetB0:SlopeB0,OffsetB1:SlopeB1,...,OffsetBN:SlopeBN)" Depends on hardware/ti/domx change I199d28e2: http://review.omapzoom.org/#/c/27885/ Change-Id: I5dabde9b693cf8cb501ec8584729cd4fa174939c Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07USBCAMERA: Enable fps print.Saravanan Solaiyappan
This patch enables the FPS information print. Change-Id: I9f679dba10bdb5100c79436929f1da474233f185 Signed-off-by: Saravanan Solaiyappan <saravanan.s@ti.com>
2012-11-07Revert "CameraHal: V4LCameraAdapter: Add support for MJPEG"Saravanan Solaiyappan
This reverts commit c02cd8fb7a0b8c9f8bb1f065f5cb086c802a7088. Change-Id: I70433150f7f5384a28ba9c05ab2dec80d7398da5 Signed-off-by: Saravanan Solaiyappan <saravanan.s@ti.com>
2012-11-07Camera_test: Add support for UYVY reprocessingEmilian Peev
- Added format HAL_PIXEL_FORMAT_TI_UYVY. Change-Id: I444eb6239fc3eb19acdf2620db53efc52dafbc51 Signed-off-by: Emilian Peev <epeev@mm-sol.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07CameraHal: Add support for UYVY reprocessingEmilian Peev
NOTE: Currently UYVY is mapped to 'CameraParameters::PIXEL_FORMAT_YUV422I' which is not entirely correct. The Google pixelformat expects YUYV ordering of the components. Change-Id: Ia82e08363d6804e51c447eb845da2ca23fc29ae9 Signed-off-by: Emilian Peev <epeev@mm-sol.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07Camera_test: Bayer reprocessing fixesVladimir Petrov
- 'pixformat' inside 'setInput()' was not correctly initialized. It has to hold the pixelformat of the incoming buffer. - Bayer buffers should not be aligned. - Updates the copying of the incoming Bayer buffers. Change-Id: I5e47daa7f783158bb60d756d08fe121078970ead Signed-off-by: Emilian Peev <epeev@mm-sol.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07Camera_test: Reprocessing related updatesEmilian Peev
- Disable stream capture when reprocess starts. This was causing a deadlock when trying to access the tap-out. - Allows picture format configuration during stream capture which is needed when the client needs to select a different one before reprocess. Change-Id: Ie94ed7ee03c5c21e4e5b56aa60479cddc51f5ce8 Signed-off-by: Emilian Peev <epeev@mm-sol.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07Camera_test: Add mechanism to explicitly set image streamingVladimir Petrov
- Add ability to explicitly set image streaming mode on buffer source thread. Change-Id: I96ad1b7b2a72b4d4764b6fc292730de99e084bb6 Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07CameraHal: Add support for reprocessing with buffer bordersEmilian Peev
- The header of the processed buffer should be set correctly in order for the camera component to properly match the start of the valid data. Depends on frameworks/av change I788dd738: http://review.omapzoom.org/#/c/29677/ Depends on hardware/libhardware change Ie37ab311: http://review.omapzoom.org/#/c/29676/ Change-Id: I003b7cfae41ddf6bb46661e0803a4fb1b60a99e6 Signed-off-by: Emilian Peev <epeev@mm-sol.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07CameraHal: Add error handling during frame callbacksEmilian Peev
- ST can be abandoned by the client, so we need to handle this case inside 'handleFrameCallback' without crashing. - 'freeBufferList()' should only release buffers associated with it. Change-Id: Ib052aa6a6c2b5cb495d4e8bcc804cd3a3b87c95f Signed-off-by: Emilian Peev <epeev@mm-sol.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07CameraHal: Further reprocess optimizationsEmilian Peev
- Image port was disabled twice. There is no need for that since this is done during 'stopImageCapture()'. - Re-configuring extra data on the image port during image capture stop seems unneeded as well. The extra data on this port is always configured during image capture start. - Omit vector shot and extra data configurations during reprocessing. Change-Id: I4d766fff581c8043b4cc436882a35f0a87731a3c Signed-off-by: Emilian Peev <epeev@mm-sol.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07CameraHal: Don't wait on preview frames during reprocessEmilian Peev
- Preview frame wait condition is adding around 30-40 ms. to the reprocess execution time and this doesn't seem to be required by Ducati. Change-Id: I3b708c9d395aa8b9d85cc0289a705b254a5e09a0 Signed-off-by: Emilian Peev <epeev@mm-sol.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07CameraHal: Adds reprocess related PPMsEmilian Peev
Change-Id: I019247d8175ae46be307616ae2011938f0b604b1 Signed-off-by: Emilian Peev <epeev@mm-sol.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07Camera: Set minimum undequeuable on tap-inVladimir Petrov
- Will set the minimum undequeuable count on tap-in instead of setting "1", which in most cases is incorrect value. Change-Id: I145b12f86d410415f6ed67a058392c89adb6d3c6 Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07Camera_test: BQ: Always write cropped NV12Vladimir Petrov
- Write cropped NV12 regardless of offset to handle cases where image is cropped and both top and left are zero. Change-Id: Id8789b2d9745a67916295819303ba7fa399e8826 Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07Camera_test: Fixes crop handling, locking of buffersDavid Schleef
- SurfaceTextureMapper->lock() writes an array of pointers. Providing just one causes stack corruption with NV12 buffers. - Fixes handling of buffers with crop. Change-Id: Ie792a31bc034d49d13f0ed7384e480c1ab945c08 Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07Camera_test: BQ: Add support for writing croppedTyler Luu
- Add support for writing cropped buffers in camera_test return from surface texture. Camera_test needs to calculate the crop rectangle from the transform matrix. Using the calculated values camera_test will write the buffer accordingly. Change-Id: I8884f06a98ddf404343424a4bec4a82a22dc01fe Signed-off-by: Tyler Luu <tluu@ti.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07CameraHal: Improve performance when queuing shotsEmilian Peev
- When queued shot is running and parameters like tap-out/ins don't change we could skip some of the overhead involved in triggering image capture using the new shots. Change-Id: I9738ed0abbc266da0354c216f852bc2f8971d58c Signed-off-by: Emilian Peev <epeev@mm-sol.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07CameraHal: Fix back to back normal captureTyler Luu
- With new logic in startImageCapture we have to set the buffer as IDLE before signaling end image capture. Change-Id: Ica4d1c222f9ce5f3bef8ada7c3cb8e6ca306d8d5 Signed-off-by: Tyler Luu <tluu@ti.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07CameraHal: OMX: Change shot queue flowTyler Luu
- Since flow through base camera adapter has changed to make call flow for accumulating shots similar to regular capture, OMX capture needs to change it's slow a bit. We should be accumlating burst counters in UseBuffer and go through whole list of buffers trying to find an IDLE one when starting capture. Change-Id: I91bebbb176d29504631095b29ce2a15a44b79f39 Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07CameraHal: Init capture reference count logic to derived adaptersTyler Luu
- Moving initializing for capture reference count to derived adapters since useBuffers call for capture is going to called queuing shots as well. - This patch needs to include V4L adapter before merging on mainline. Change-Id: Ifc4986a68173234ec636ef943b62009f7df1e041 Signed-off-by: Tyler Luu <tluu@ti.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07CameraHal: Change state machine flow for queuing shotsTyler Luu
- Instead of having to have CameraHal deal with logic to queue shots, move the code flow to state machine and respective camera adapters, so they can interally handle it. Now call flow for queuing shots and regular capture should be the same from CameraHal perspective. Change-Id: I9a74008aeaabc8dd169c78f6a85201f50580d25c Signed-off-by: Tyler Luu <tluu@ti.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07CameraHal: Avoid deadlocks when re-using a tapoutEmilian Peev
- Locking inside 'takePicture()' is sometimes possible when re-using the same SurfaceTexture. This is due to the blocking nature of the dequeue call inside 'BufferSourceAdapter::handleFrameReturn()' which does acquire 'mLock' upon entering. The solution is to handle this particular case by reusing the buffers that were previously allocated and avoiding any calls to the Adapter which might try to lock 'mLock'. Change-Id: I6c4e49fd84df2659c0466b6f89c88916f93a6b8d Signed-off-by: Emilian Peev <epeev@mm-sol.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07CameraHal: Fix erroneous free of image buffersTyler Luu
- We were freeing image buffers erroneously when camera adapter called freeImageBufs during the buffer size query call after we already cleared mBufferSourceAdapter_Out. This caused freeImageBufs to take an incorrect path. - When trying to figure out number of tap out buffers to allocate, use NO_BUFFERS_IMAGE_CAPTURE_SYSTEM_HEAP as the default when tap out hasn't been configured yet. Change-Id: I045ef357578c7eafd12fef58ef50542a711c8233 Signed-off-by: Tyler Luu <tluu@ti.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
2012-11-07CameraHal: Allocate buffers when source is setTyler Luu
- Allocate the buffers for a particular surface when it is set. This allows applications to set multiple surfaces before capturing or reprocessing, so they don't have to take the penalty of buffer allocation during. - Partialy revert change I0c1b8854. Depends on hardware/libhardware change I01831e05: http://review.omapzoom.org/#/c/28152/ Change-Id: I13aa2b19387e2a21f8ca08203b132154c14d481b Signed-off-by: Tyler Luu <tluu@ti.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>