summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-08-30Replace tbm_bo_map/unmap() by tbm_bo_get_handle()submit/tizen/20220830.012836accepted/tizen/unified/20220831.133851Jeongmo Yang2-5/+3
- The data pointer could be unavailable after tbm_bo_unmap(). [Version] 0.4.88 [Issue Type] Bug fix Change-Id: I1118b46853c15b6b08b7f110213c10e9f0958194 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-08-26camera_test: Add menu for extra preview testsubmit/tizen/20220829.030011accepted/tizen/unified/20220829.215641Jeongmo Yang2-2/+46
[Version] 0.4.87 [Issue Type] Update Change-Id: Id2db982f9a3eee42aa13c2c3e89af521cac3f36f Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-08-25Improve thread handlingJeongmo Yang2-58/+92
[Version] 0.4.86 [Issue Type] Improvement Change-Id: I65ff5ba811be594eb53ccfdccbfcd468fe444e99 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-08-18[ACR-1715] Change parameter of some APIssubmit/tizen/20220825.025917Jeongmo Yang5-38/+39
- Parameter changed APIs : camera_device_connection_changed_cb() : camera_supported_device_cb() - Add new structure for camera device changed callback. : camera_device_s [Version] 0.4.85 [Issue Type] ACR Change-Id: I0526a5052802a003fc845d823a8a0623ed5483c7 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-08-03Correct test binary name in manifestsubmit/tizen/20220803.072259accepted/tizen/unified/20220805.131907Jeongmo Yang2-2/+2
[Version] 0.4.84-1 [Issue Type] Bug fix Change-Id: Ifc9aa1888d6d031bd88dd5b98d91d60d6310141f Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-07-14Fix coverity issue - Resource Leaksubmit/tizen/20220714.062206accepted/tizen/unified/20220715.141308Jeongmo Yang2-2/+4
[Version] 0.4.84 [Issue Type] Coverity Change-Id: I9acd47d700065f466640f0e8c37a92215e3561e1 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-07-13Update error handling for some APIsJeongmo Yang2-8/+21
[Version] 0.4.83 [Issue Type] Error handling Change-Id: I0ecc5e4c64cc8696591c98730f0f3f14abe87092 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-06-24Remove duplicated code.(phase#2)submit/tizen/20220701.103121accepted/tizen/unified/20220704.213051Jeongmo Yang12-3089/+686
- Add macros to check handle. - Add sub functions for duplicated code. - Rename camera_test to camera_test_headed. - Add common source file for camera_test_headed/headless. [Version] 0.4.82 [Issue Type] SAM Improvement Change-Id: I2901b473e968dcbd132bf0db6c2d9fbb74978800 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-06-22Remove duplicated code.(phase#1)Jeongmo Yang2-190/+31
[Version] 0.4.81 [Issue Type] SAM Improvement Change-Id: I76b561f0bdb09c1db00f05556d79412c4a28f9e6 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-06-21[ACR-1688] Add new APIs for network cameraJeongmo Yang8-1050/+1152
- New API list : camera_create_network() : camera_device_manager_initialize() : camera_device_manager_deinitialize() : camera_device_manager_foreach_supported_device() : camera_device_manager_add_device_connection_changed_cb() : camera_device_manager_remove_device_connection_changed_cb() : camera_is_supported_extra_preview() : camera_set_extra_preview_cb() : camera_unset_extra_preview_cb() : camera_set_extra_preview_stream_format() : camera_get_extra_preview_stream_format() : camera_attr_set_extra_preview_bitrate() : camera_attr_get_extra_preview_bitrate() : camera_attr_set_extra_preview_gop_interval() : camera_attr_get_extra_preview_gop_interval() : camera_attr_get_preview_frame_rotation() [Version] 0.4.80 [Issue Type] New feature Change-Id: I7686cd0de15679e51efcd69c297ebac1239408e9 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-05-24Update for line coverage measurement automationsubmit/tizen/20220524.122628accepted/tizen/unified/20220525.134548Jeongmo Yang1-7/+5
[Version] 0.4.79-1 [Issue Type] Line coverage Change-Id: I67f314edefdd4bf4d7f089f7c36025a46a6e1443 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-05-24Add TIZEN_FEATURE_NO_TIMEOUT_FOR_PREVIEWJeongmo Yang3-6/+29
- In TV profile, set timeout for preview. - Additional change : Add error handling when service disconnected. [Version] 0.4.79 [Issue Type] Improvement Change-Id: I1579eb5ec4dc6b2d4c5fa932edfa15db734ebb27 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-05-19Add comments for line coverage testJeongmo Yang2-2/+13
- Code which could not be tested by TCT - Code for error handling [Version] 0.4.78-2 [Issue Type] Line coverage Change-Id: I292e0940240ea8af0bac1e346cdf93508a0560e0 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-05-19Set smack label for executable in manifestJeongmo Yang3-9/+7
- Remove post command for smack label in spec file. [Version] 0.4.78-1 [Issue Type] Smack label Change-Id: I0b17d6e261b5de3de3f2773ec833b4668938fb7b Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-05-13Add missed tabJeongmo Yang2-5/+5
[Version] 0.4.78 [Issue Type] Coding rule Change-Id: I11a19605f7c01de7a3c73f3b54b6bc688aca5eb7 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-05-11Create missed thread for preview callbacksubmit/tizen/20220511.062357accepted/tizen/unified/20220511.210840Jeongmo Yang2-1/+11
- The thread for preview callback is created in camera_start_preview(), but, it could be skipped with recorder_prepare() when video recording. [Version] 0.4.77 [Issue Type] Bug fix Change-Id: I89aeaea03b392226a2c19c224445237599f6ce43 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-04-08Support zero-copy with encoded formatsubmit/tizen/20220427.095935accepted/tizen/unified/20220428.162729Jeongmo Yang5-116/+197
[Version] 0.4.76 [Issue Type] New feature Change-Id: Ibaee3a220365656f943907cc14d150e3e401ecd8 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-03-22Code clean up for camera_test.cJeongmo Yang1-41/+10
Change-Id: I8f0680bcaad6d30af73d1871c2f682309ae51aad Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-03-21Add new testsuite package for headless targetJeongmo Yang7-6/+2057
- Minor change : Rename package for testsuite.(tool -> test) : Remove build warning. [Version] 0.4.75 [Issue Type] New feature Change-Id: Idb84c05f2679529538de9d7508b921d7fa9283cd Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-02-14Support encoded and RGB data in __camera_create_media_packet()submit/tizen/20220223.001807accepted/tizen/unified/20220224.125816Jeongmo Yang3-114/+101
- Minor change : Remove unnecessary word in some function name. : Remove unnecessary comments. : Remove duplicated code. : Update _camera_media_packet_dispose(). [Version] 0.4.74 [Issue Type] Update Change-Id: I6f19e783560d8beab324b3a32e9d8664be2ded08 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-01-26Add sub function for media packet formatJeongmo Yang2-45/+62
- Minor change : Rename some static functions. [Version] 0.4.73 [Issue Type] Update Change-Id: Ic24589c732f717c154c6291f3500a9f6ba7b327f Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-01-26Add sub function to create tbm surfaceJeongmo Yang6-87/+71
- Minor change : Remove duplicated structure and definition. : Add missing dependency in pc file. [Version] 0.4.72 [Issue Type] Update Change-Id: I3196a2ae26fa2d874a7604f9ecde0a2f0eb4e840 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-01-26Change installation path for gcovsubmit/tizen/20220126.073702accepted/tizen/unified/20220128.144405Jeongmo Yang1-3/+3
[Version] 0.4.71-1 [Issue Type] Update Change-Id: I1f4bb6778aad842686e7d495ce08bdb50574fa01 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-01-10fix up! Remove thread for preview callback when stop previewsubmit/tizen/20220110.092727accepted/tizen/unified/20220111.123039Jeongmo Yang2-5/+21
- The thread leak is occurred with below sequence and it causes deadlock after some time. 1. Process A calls camera_start_preview(). -> create thread for preview callback 2. Process B calls camera_start_preview(). 3. Process A gets interrupted callback and the state of camera handle is changed to CAMERA_STATE_CREATED. Then, process A's preview callback thread is remained, because it is released in camera_stop_preview(), but, it's skipped by interrupt. [Version] 0.4.71 [Issue Type] Bug fix Change-Id: Ifaafb52ed3e549d3a6203754ec6fa90079893cb5 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-01-06Reduce length of thread namesubmit/tizen/20220106.070305accepted/tizen/unified/20220107.120842Jeongmo Yang2-6/+6
- According to glib manual, some systems restrict the length of thread name to 16 bytes. Previously, the thread name for camera API was not shown properly(checked by "ps -eTl"), and it has been fixed by reducing length of thread name. [Version] 0.4.70 [Issue Type] Update Change-Id: Ic79ff1719afe1a145db793463139e240b2bf397c Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2022-01-05camera_test: Add missed image formatJeongmo Yang2-2/+13
[Version] 0.4.69 [Issue Type] Test Change-Id: I2cecfb3ebad289835db711a2ff3462e8e6f30d6a Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-12-06fix up! Remove thread for preview callback when stop previewsubmit/tizen/20211213.031250submit/tizen/20211207.021806accepted/tizen/unified/20211214.124906Jeongmo Yang2-27/+41
- The deadlock is occurred with below sequence. 1. camera_start_preview() -> create thread for preview callback 2. camera_start_capture() 3. got capture_completed_cb() 4. camera_start_preview() -> create new thread for preview callback and the old one is remained. 5. camera_stop_preview() -> send signal to remove thread for preview callback, but 1 thread is remained. [Version] 0.4.68 [Issue Type] Bug fix Change-Id: Id137ef203b1e0c85f597c05ae818ecb2a1b6c679 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-12-03Remove thread for preview callback when stop previewsubmit/tizen/20211203.034808Jeongmo Yang2-42/+52
- Minor change : Add sub function to release fds from server. : Create thread for preview callback when start preview. : Close fds when release remained messages. [Version] 0.4.67 [Issue Type] Improvement Change-Id: Ic52013a49839e05adaf91bc5132b9964e4d86cbd Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-12-03Add remarks for camera_device_manager_initialize/deinitialize()Jeongmo Yang2-1/+5
[Version] 0.4.66 [Issue Type] Doxygen Change-Id: I881909ec6d37a6ddb5684b9ed62a0d610aa6f275 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-11-09Provide the rotation of each preview framesubmit/tizen/20211110.120232accepted/tizen/unified/20211112.135809Jeongmo Yang6-13/+73
- A new internal API is added. : camera_attr_get_preview_frame_rotation() : It should be called in camera_preview_cb(), otherwise, it will return CAMERA_ERROR_INVALID_OPERATION. - A rotation method is set in media packet for preview frame. It could be get with media_packet_get_rotate_method(). [Version] 0.4.65 [Issue Type] New feature Change-Id: Ic728c4a9a6d285f6fb5ca570ee85bc4e53cfd859 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-11-08Replace g_cond_signal() by g_cond_broadcast()submit/tizen/20211108.090241accepted/tizen/unified/20211109.042919Jeongmo Yang2-3/+3
- It seems that signal could be missed with multi-thread API calls. [Version] 0.4.64 [Issue Type] Enhancement Change-Id: I319c12ab2b1451568aeb86e05642fc69b7952672 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-09-15Add new internal APIs for extra preview GOP intervaltizen_6.5.m2_releasesubmit/tizen_6.5/20211028.161701submit/tizen/20210915.115302accepted/tizen/unified/20210916.014246accepted/tizen/6.5/unified/20211028.094459Jeongmo Yang4-8/+149
[Version] 0.4.63 [Issue Type] New feature Change-Id: I89999a855ae63f405fb5a6bd12b36b96b1c798a8 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-09-02Add new internal APIs for extra preview bitratesubmit/tizen/20210903.031152accepted/tizen/unified/20210906.123742Jeongmo Yang4-1/+115
[Version] 0.4.62 [Issue Type] New feature Change-Id: I1f7490b88b6d432c28b004bc452ead1489a545d2 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-07-01Add missed frame information for VP8 and VP9 formatssubmit/tizen/20210702.012854accepted/tizen/unified/20210702.133335Jeongmo Yang2-10/+21
[Version] 0.4.61 [Issue Type] Bug fix Change-Id: I87b1c5e3cc26b9bcdbf1035918b0a4d5544c41bc Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-06-24Remove internal APIs for device list changed callbacksubmit/tizen/20210625.064135accepted/tizen/unified/20210630.144040Jeongmo Yang5-139/+5
[Version] 0.4.60 [Issue Type] Remove Change-Id: I4ddfda2d5ae3085df0f0b970b278859c4db6dcc7 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-06-18Add new internal APIs for device managersubmit/tizen/20210618.081505accepted/tizen/unified/20210621.123140Jeongmo Yang5-7/+136
- camera_device_manager_add_device_connection_changed_cb() - camera_device_manager_remove_device_connection_changed_cb() [Version] 0.4.59 [Issue Type] New feature Change-Id: I54c99c25843c5a565521e033947b4d3ee4ffd3af Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-06-17Add new internal APIs for extra preview stream formatJeongmo Yang6-22/+200
[Version] 0.4.58 [Issue Type] New feature Change-Id: I9c5297d86aa230500ab8a445e09f88c821a3bfa2 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-06-07[ACR-1634] Add new pixel format - VP8, VP9submit/tizen/20210615.011749accepted/tizen/unified/20210615.120241Jeongmo Yang3-7/+21
[Version] 0.4.57 [Issue Type] New feature Change-Id: I9b1ad416b37f0b4e8aa5f67db531d6cf4e051ac9 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-05-13New internal APIs for focus levelsubmit/tizen/20210531.033817accepted/tizen/unified/20210602.122556Jeongmo Yang4-1/+148
[Version] 0.4.56 [Issue Type] New feature Change-Id: I3021b27507a8ecc515d124c8bc6f9ce1c0aaeab4 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-04-28Add new internal APIs for extra previewJeongmo Yang5-59/+238
[Version] 0.4.55 [Issue Type] New feature Change-Id: I2c48a36eb958642b99bcb7ec18ce900399868c76 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-04-23Support media bridge as source moduleJeongmo Yang4-34/+147
[Version] 0.4.54 [Issue Type] New feature Change-Id: Ibdc78bc0812feb78dd74d4e55e2d3bb91d9a8d06 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-04-14Fix invalid return valuesubmit/tizen/20210415.030456accepted/tizen/unified/20210416.011740Jeongmo Yang2-1/+6
- camera_unset_media_packet_preview_cb() returns CAMERA_ERROR_NONE even though it's not supported in some targets. [Version] 0.4.53 [Issue Type] Bug fix Change-Id: Iea9a51010ba3152797a2e48bca412cf55f8ab4e1 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-04-09camera_test: Update preview callback functionJeongmo Yang3-51/+105
[Version] 0.4.52 [Issue Type] Test Change-Id: If9eaa6f22294e5382f565bd6a47cc22c460dd7a6 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-04-07Revise code for fd and tbm bo managementsubmit/tizen/20210408.091908accepted/tizen/unified/20210412.012103Jeongmo Yang4-107/+129
- Additional minor change : Correct the condition to send message for preview callback return. : Add log to trace fd and buffer. : Add menu for writing preview data in preview callback in camera_test. [Version] 0.4.51 [Issue Type] Revise Change-Id: Ic04c7d77743331a6eb7ce2114fc436f15bfbc64b Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-04-05camera_test: Add menu for media packet preview callbacksubmit/tizen/20210405.122916accepted/tizen/unified/20210406.083555Jeongmo Yang2-3/+38
[Version] 0.4.50 [Issue Type] Test Change-Id: Ie54f3a0a3c409de4bf4d764ae00e8508289e0010 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-04-02Refactoring code related with media packetJeongmo Yang3-285/+247
- Replace deprecated APIs by new added APIs - Remove duplicated and unncessary code [Version] 0.4.49 [Issue Type] Refactoring Change-Id: I4a229fe93803c52a11baeb44028f8a11562c54e7 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-03-18Fix SAM defect - GlobalVariablesubmit/tizen/20210318.073807accepted/tizen/unified/20210319.141018Jeongmo Yang5-17/+21
- Remove global extern variable - Use static for global varable [Version] 0.4.48 [Issue Type] SAM Improvement Change-Id: Id986a3c86f2d5a73ba888cb67396246168df3433 Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-03-18Apply Tizen coding rule for static functionJeongmo Yang2-67/+69
[Version] 0.4.47 [Issue Type] Coding rule Change-Id: I5465d47d231e5835fb36f2336d8c7732a27173df Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-03-05Add missing dependency for pc filesubmit/tizen/20210305.070633accepted/tizen/unified/20210308.070949Jeongmo Yang2-2/+2
[Version] 0.4.46-1 [Issue Type] Bug fix Change-Id: If1220e7859b75b5326b1f99ef763f41bf538e25b Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
2021-03-03Add comments for line coverage testsubmit/tizen/20210303.101433accepted/tizen/unified/20210304.131107Jeongmo Yang2-2/+3
[Version] 0.4.46 [Issue Type] Line coverage Change-Id: Ie56b0e564c7a7c7c053f3f2ade9c3a01d7646c6e Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>