Add new API for video encode decision callback 76/239576/7 submit/tizen/20200818.102105 submit/tizen/20200819.022508
authorJeongmo Yang <jm80.yang@samsung.com>
Tue, 28 Jul 2020 01:27:31 +0000 (10:27 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Fri, 14 Aug 2020 05:56:50 +0000 (14:56 +0900)
commitd8d3c78a1faf33118268a2bc6a5be4b39c6b704a
tree253ee794ba8a153e0569fdcdcc9261ce24390f3b
parentfb889179964c5d7e31f68ea163a992acb9445adc
Add new API for video encode decision callback

- API prototype
typedef gboolean (*mm_camcorder_video_encode_decision_callback)(MMCamcorderVideoStreamDataType *stream, void *user_param);
int mm_camcorder_set_video_encode_decision_callback(MMHandleType camcorder, mm_camcorder_video_encode_decision_callback callback, void* user_data);

- Detail of change
: Add above APIs
: Add sub function to invoke video stream callbacks for preview and video stream

[Version] 0.10.208
[Profile] Common
[Issue Type] New feature

Change-Id: I690dddc872e72cf7ba192a99aa19747673640ac3
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/libmm-camcorder.spec
src/include/mm_camcorder.h
src/include/mm_camcorder_gstcommon.h
src/include/mm_camcorder_internal.h
src/include/mm_camcorder_videorec.h
src/mm_camcorder.c
src/mm_camcorder_gstcommon.c
src/mm_camcorder_internal.c
src/mm_camcorder_videorec.c