summaryrefslogtreecommitdiffstats
path: root/libcamera
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add additional statements to accept the crespo4g productMaarten Hooft2011-02-281-1/+2
| | | | | | | | Change-Id: I0e410d7b641c19a773c3bc57cb78e8aa3e27a3ff
* | am 5efdae1f: am fcba3707: Merge "libcamera: Add checking of preview sizes on ↵Wu-cheng Li2011-02-242-1/+28
|\ \ | |/ | | | | | | | | | | setting parameters" into gingerbread * commit '5efdae1f12dd66b9a93ce27953bab8b77927e3b7': libcamera: Add checking of preview sizes on setting parameters
| * Merge "libcamera: Add checking of preview sizes on setting parameters" into ↵Wu-cheng Li2011-02-242-1/+28
| |\ | | | | | | | | | gingerbread
| | * libcamera: Add checking of preview sizes on setting parametersJeong-Seok Yang2011-02-152-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug fix: If it try to set invalid preview sizes, driver will be stuck in an unrecoverable state. Thus, It is fixed to return error when setting parameters bug:3429909 Change-Id: If51b47439c140410fa03e3a0b66492633f194e53 Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
* | | am 5c24b742: am 2c6102e3: Fix the bug that the month of gps timestamp exif ↵Wu-cheng Li2011-02-221-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | is off by 1. * commit '5c24b7425b8bf3580189b98b5b8bd8ab50bff1b1': Fix the bug that the month of gps timestamp exif is off by 1.
| * | Fix the bug that the month of gps timestamp exif is off by 1.Wu-cheng Li2011-02-201-1/+1
| |/ | | | | | | | | bug:3468433 Change-Id: Iab4132bdf6515a4fb93e56c2ec31b04ea260f7be
* | am 2f969b94: am 2083387f: libcamera: for setting fixed frame rate on only ↵Jeong-Seok Yang2011-01-291-0/+8
|\ \ | |/ | | | | | | | | | | camcording mode * commit '2f969b94c12bac9cee7c001c041c1532f1a25cf2': libcamera: for setting fixed frame rate on only camcording mode
| * libcamera: for setting fixed frame rate on only camcording modeJeong-Seok Yang2011-01-271-0/+8
| | | | | | | | | | | | | | | | | | Camera sensor change its frame rate by brightness. It makes video that have too low fps in the dark. So it use fixed frame rate on camcording mode. Change-Id: I293c480ffdc4daed138ad9a11231f16c6c2b2f8b Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
* | am ff93a1bc: am 68733d59: libcamera: Add lock for recording videoJeong-Seok Yang2011-01-292-0/+6
|\ \ | |/ | | | | | | * commit 'ff93a1bc8935a649893782d24bffa940ba450a2f': libcamera: Add lock for recording video
| * libcamera: Add lock for recording videoJeong-Seok Yang2011-01-272-0/+6
| | | | | | | | | | | | | | | | bug fix: Flag about recording video was used without locking. So, It was occured a error when recording stops. Change-Id: Ie19ec12d17a5a70e44f5ca8743e8ae5672c16a34 Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
* | am 15580c57: am b446deb3: libcamera: Increase buffer to 11 from 8 for fixing ↵Jeong-Seok Yang2011-01-211-1/+1
|\ \ | |/ | | | | | | | | | | tearing * commit '15580c57be18962cc6451c3be2b90aad66afab3e': libcamera: Increase buffer to 11 from 8 for fixing tearing
| * libcamera: Increase buffer to 11 from 8 for fixing tearingJeong-Seok Yang2011-01-201-1/+1
| | | | | | | | | | | | | | | | | | | | Bug fix: Camcording video has tearing issues on low resolution or in daylight condition. It is caused overwriting buffers before processing recording. So we increase number of buffers. Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com> Change-Id: I2a02183174a18472df2506c5f20f324644161c32
* | am 395193b9: am 050e57e0: S5PC11X: libcamera: buffer cleanupMike J. Chen2011-01-214-244/+283
|\ \ | |/ | | | | | | * commit '395193b9992fa3ebed47700446d9d2ccf4428a45': S5PC11X: libcamera: buffer cleanup
| * S5PC11X: libcamera: buffer cleanupMike J. Chen2011-01-194-244/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | Cleanup how buffers are managed. Before, buffers for preview and capture and record were mixed together, with one thread cleaning up buffers for another. Now, each mode cleans up its own buffers. Implement asychronous buffer release for record case to fix a bug where we allowed FIMC to update a buffer that was still in use by encoder, resulting in encoding a frame that was part one image and part another. Change-Id: I42d0032cea61197a1f3a665a7248b700599d5a6a Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
* | am 39eb0ad9: am 0bd85d7b: SP5C11X: libcamera: #ifdef/#defines cleanupMike J. Chen2011-01-215-739/+26
|\ \ | |/ | | | | | | * commit '39eb0ad9be2c0db48ba56bab3b99273c36be428b': SP5C11X: libcamera: #ifdef/#defines cleanup
| * SP5C11X: libcamera: #ifdef/#defines cleanupMike J. Chen2011-01-195-739/+26
| | | | | | | | | | | | | | | | | | | | Remove a bunch of #ifdef conditionals to cleanup the code. The #else cases have generally not been tested for months now and we don't use them, and this makes it easier to follow for the next round of logic cleanup coming up. Change-Id: I4a78901916ed9393ef9b904a1e8037cd645be3b4 Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
* | am 75270b4b: am c755f3cd: libcamera: change shutterspeed units to microsecondsSimon Wilson2010-12-201-1/+2
|\ \ | |/ | | | | | | * commit '75270b4b5bcbb573c13f117c68373cbc7b9bc16a': libcamera: change shutterspeed units to microseconds
| * libcamera: change shutterspeed units to microsecondsSimon Wilson2010-12-171-1/+2
| | | | | | | | | | | | | | This is to avoid shutter speeds less than 1ms from underflowing during the conversion to the denominator portion of 1/1000s. Change-Id: Ib6df304c38dd22a23aa31bc731c95030a089f05e
* | am 6f8afee5: am daed2d55: 5PC11X: libcamera: move lens to default position ↵kyoungho.yun2010-12-071-0/+2
|\ \ | |/ | | | | | | | | | | when preview starts * commit '6f8afee5f86b790b0390de1beb2ad9a025d22c93': 5PC11X: libcamera: move lens to default position when preview starts
| * 5PC11X: libcamera: move lens to default position when preview startskyoungho.yun2010-12-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | After taking a picture, the focus is maintained. So if user change from camera mode to video mode after taking a picture very closely to object, focus in video mode is not normal. So move lens to default position when preview starts. Change-Id: I3e41acbb22ad8a754755feae304c287dce690425 Signed-off-by: kyoungho.yun <kyoungho.yun@samsung.com>
* | am 3f7ec364: am 1b7e599f: Merge "libcamera: add 1900 to tm_year to fix gps ↵Simon Wilson2010-12-011-1/+1
|\ \ | |/ | | | | | | | | | | date" into gingerbread * commit '3f7ec3645a6efb05234fb9fcd48f65dd67dfc02e': libcamera: add 1900 to tm_year to fix gps date
| * libcamera: add 1900 to tm_year to fix gps dateSimon Wilson2010-11-231-1/+1
| | | | | | | | Change-Id: I6b4d1457861dc25b464a530ea308d9a7b86690a7
* | am aa068fa0: am ae5be4a1: libcamera: Skip some frames on overlay for image ↵Jeong-Seok Yang2010-11-112-1/+33
|\ \ | |/ | | | | | | | | | | quality. * commit 'aa068fa0d6c6fc978cf3f78bb645f5e062201375': libcamera: Skip some frames on overlay for image quality.
| * libcamera: Skip some frames on overlay for image quality.Jeong-Seok Yang2010-11-112-1/+33
| | | | | | | | | | | | | | | | | | | | | | 1. Skip some frames to adjust AWB automatically on initial time. 2. Skip a frame when applying image effect End-user doesn't see ugly frames when using camera applications by above 2 approaches. Change-Id: I8b4cc868a0a40164bfb3bc1e150c6d2dd351a1ba Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
* | am cb1461b5: am 1f5810e6: Merge "libcamera: Fix a problem when switching ↵Wu-cheng Li2010-11-101-18/+24
|\ \ | |/ | | | | | | | | | | recording mode in night scnen" into gingerbread * commit 'cb1461b5c065c9d924d236132cb72e936a5ea58a': libcamera: Fix a problem when switching recording mode in night scnen
| * libcamera: Fix a problem when switching recording mode in night scnenJeong-Seok Yang2010-11-101-18/+24
| | | | | | | | | | | | | | | | | | | | | | Bug fix: Exception occured when switching recording video mode in night scene mode. Change-Id: I8861082983bbcf02efbc246c26f37e1fcaa0d402 Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com> pid:3848 bug:3181349
* | am a616e93b: am f893585c: Merge "libcamera: for reliability" into gingerbreadMaarten Hooft2010-11-043-8/+28
|\ \ | |/ | | | | | | * commit 'a616e93b29f731fa4c706499a928e4a8d433396f': libcamera: for reliability
| * libcamera: for reliabilityJeong-Seok Yang2010-11-033-8/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Adding checking preview status in CameraHardwareSec::stopPreview(). So if its status is not previewing, It doesn't call SecCamera::stopPreview. Thus, buffers what be used by picture thread will not be cleared. 2. Adding killing thread and clear buffers in CameraHardwareSec::cancelPicture() 3. CameraHardwareSec::SplitFrame was modified to remove potential problem about memory access. fix : bug 3093595 Change-Id: Iefa85df297a6abdbb5fb7772b58e0c949aeda0de Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
* | am be3947f9: am d80f7c76: Merge "libcamera: use camera make/model from ↵Simon Wilson2010-11-031-2/+8
|\ \ | |/ | | | | | | | | | | properties" into gingerbread * commit 'be3947f9d232fb006fa94eeeaa8dbea5fe073e80': libcamera: use camera make/model from properties
| * libcamera: use camera make/model from propertiesSimon Wilson2010-11-021-2/+8
| | | | | | | | Change-Id: Ie8dea300c4ee5b9c1cd055301ae26fe44ceef68e
* | am 2096d4d3: am 4467633b: libcamera: for enabling checking preview to ↵Jeong-Seok Yang2010-11-011-0/+2
|\ \ | |/ | | | | | | | | | | defense ESD * commit '2096d4d3f00e9ebb3cb552ad612835b020c710d8': libcamera: for enabling checking preview to defense ESD
| * libcamera: for enabling checking preview to defense ESDJeong-Seok Yang2010-11-011-0/+2
| | | | | | | | | | | | | | | | Check preview status to prevent abnormal working by electronic discharge. Change-Id: Ie2d7f9de2cc2efa1c5d26bf445b9e75adff49650 Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
* | am 54008a32: am b625b09e: S5PC11X: libcamera: fix new CTS failures and use ↵Mike J. Chen2010-10-292-11/+20
|\ \ | |/ | | | | | | | | | | of closed fd * commit '54008a32aecb88aed085d0b36ec47e8c8c5ba5e6': S5PC11X: libcamera: fix new CTS failures and use of closed fd
| * S5PC11X: libcamera: fix new CTS failures and use of closed fdMike J. Chen2010-10-292-11/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * put back fps high limit for front camera to 30 because CTS showed it was getting frames faster than the advertised limit of 15. since this is just a range, and user can't request a specific frame rate anyway, there's no harm in advertising that we "might" return faster frame rates. * move stopRecord() in deinit to after m_cam_fd is closed, since it uses it * fix framerate check in setParameter() since now front and back have different default frame rates Change-Id: Id4a3eb35b99890782644a4c4315c637a57ae50bb Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
* | am 4e4cd0fe: am b3320b82: Merge "libcamera: for keeping user settings of vga ↵Simon Wilson2010-10-291-9/+4
|\ \ | |/ | | | | | | | | | | camera" into gingerbread * commit '4e4cd0fe1b9bb2832ae87ff24eb92b2b9edcae85': libcamera: for keeping user settings of vga camera
| * libcamera: for keeping user settings of vga cameraJeong-Seok Yang2010-10-291-9/+4
| | | | | | | | | | | | | | | | User settings(i.e. color effects) was not kept when switching camera between VGA camera and 5MP camera. It is fixed. Change-Id: I76dd7cea6902b0adf5f1340deaf02448b41a5e8a Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
* | am 0b46e2ae: am dbc622a6: Revert "libcamera: for setting fixed frame rate on ↵James Dong2010-10-291-12/+1
|\ \ | |/ | | | | | | | | | | only camcording mode" * commit '0b46e2aeab4ba2327daa9e53c33b19264266d81b': Revert "libcamera: for setting fixed frame rate on only camcording mode"
| * Revert "libcamera: for setting fixed frame rate on only camcording mode"James Dong2010-10-291-12/+1
| | | | | | | | | | | | | | | | This reverts commit a75b35c7a434a8e15015ed29b7168dac8d85dfb8. bug - 3066130 Change-Id: I4d37d5cb0794c2790ec5b1d2848d916640562f95
* | am c851ede3: am 802890e7: S5PC11X: libcamera: threading and error cleanupMike J. Chen2010-10-293-127/+227
|\ \ | |/ | | | | | | * commit 'c851ede3ce7536b2b4974beb6a6cb4b020d0042a': S5PC11X: libcamera: threading and error cleanup
| * S5PC11X: libcamera: threading and error cleanupMike J. Chen2010-10-283-127/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleanup the way the camera HAL manages its threads so that the exit path should no longer fail in a race condition. The destructor waits for all threads to exit and heaps are destroyed before closing the fd to driver. Remove deadlock case (a HAL interface should not call a callback, because the callback would try to grab a lock that is already being held). Removed mutex usage that wasn't needed (CameraServices already has a mutex). Add checks that could mess up the state of the sensor driver (setting parameters or starting preview when a capture was still in progress). We return errors in these cases instead. Change-Id: I30d832de582a002dad1c087bd7cc7de43237eb19 Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
* | am 5d4d68f2: am 256aeac7: libcamera: only show postview if preview size is VGASimon Wilson2010-10-291-0/+8
|\ \ | |/ | | | | | | * commit '5d4d68f25c9419219fe257b57f5514cc679d5c3d': libcamera: only show postview if preview size is VGA
| * libcamera: only show postview if preview size is VGASimon Wilson2010-10-281-0/+8
| | | | | | | | | | | | | | | | The camera sensors do not support postview sizes any other than VGA, so if preview size is not VGA, skip showing the postview. Change-Id: Iae984e214a80f33e58fa4b8ec42bcdb1c33fae74
* | am 9568ea05: am a75b35c7: libcamera: for setting fixed frame rate on only ↵Jeong-Seok Yang2010-10-281-1/+12
|\ \ | |/ | | | | | | | | | | camcording mode * commit '9568ea0573113abd43b99640bade3f1f17f6213b': libcamera: for setting fixed frame rate on only camcording mode
| * libcamera: for setting fixed frame rate on only camcording modeJeong-Seok Yang2010-10-291-1/+12
| | | | | | | | | | | | | | | | | | | | | | Camera sensor change its frame rate by brightness. It makes video that have too low fps in the dark. So it use fixed frame rate on camcording mode. Change-Id: I6ca4cf13e733629c75d244e79443b36b5dba59a5 Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com> pid:3640
* | am 096a5ced: am 0f5a5274: libcamera: Fix EXIF informationsJeong-Seok Yang2010-10-282-14/+36
|\ \ | |/ | | | | | | * commit '096a5ced3e3d3868cb6b575d8fd209f9e8c7772e': libcamera: Fix EXIF informations
| * libcamera: Fix EXIF informationsJeong-Seok Yang2010-10-282-14/+36
| | | | | | | | | | | | | | | | | | Binary version, ISO, focal-length, and flash informations in EXIF are fixed correctly. Change-Id: I2dbfd217ae1e1bb875848ba89c4633a93d337779 Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com> pid:3604
* | am dec8051e: am 3e5e64b5: libcamera: Adjust some parametersJeong-Seok Yang2010-10-271-6/+13
|\ \ | |/
| * libcamera: Adjust some parametersJeong-Seok Yang2010-10-281-6/+13
| | | | | | | | | | | | | | | | | | fps for VGA: 7-15 focal length for VGA: 0.9 mm Change-Id: Ie4c66e153ea925715795f3f7bbc280eb1c0fb819 Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com> pid:3639
* | am 88bfb935: am efbd4cb5: S5PC11X: libcamera: Fix nightshot mode exceptionMike J. Chen2010-10-271-17/+17
|\ \ | |/
| * S5PC11X: libcamera: Fix nightshot mode exceptionMike J. Chen2010-10-281-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | Move the check for fps range changes before the scene mode check. Otherwise, we would change the fps range out from under the caller and a previously valid setting would become invalid suddenly. Change-Id: I998a406387f76cd3f0a586ec61a86ea0fc3a311c Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com> pid:3654