[M120 Migration][MM] Camera and WebRTC patches migration. 44/304844/9
authorSun-woo Nam <sunny.nam@samsung.com>
Wed, 24 Jan 2024 07:37:11 +0000 (23:37 -0800)
committerSun-woo Nam <sunny.nam@samsung.com>
Wed, 7 Feb 2024 06:58:14 +0000 (22:58 -0800)
commit83043661f476e56d81abd6df3de60e0e836f07b9
treea87df8cd28d846e6cf1796e81d74a5a2c4bf09d1
parentf9f90f958fd0c991340841d3830d06f9a1ca40f8
[M120 Migration][MM] Camera and WebRTC patches migration.

This commit includes commits below.

- Add MJPEG support
Add support for MJPEG camera stream, jpeg frames are internally sent
with PIXEL_FORMAT_ENCODED instead of PIXEL_FORMAT_MJPEG, which avoids
the decoding in default camera pipeline and helps redirecting frames
towards the esplusplayer.
https://review.tizen.org/gerrit/#/c/290488/
https://review.tizen.org/gerrit/#/c/291867/ (partial)

- [GUM] Clean internal tizen codes for camera.
https://review.tizen.org/gerrit/#/c/290574/

- [GUM] Get lens orientation
Camera lenses may give rotated video streams. So, in application lens
orientation is obtained and is used for frame rotation.
https://review.tizen.org/gerrit/#/c/291838/

- Implementation of lazy start
Add lazy_start to capture params when request is generated by
user_media_processor to create camera in suspended state and to create
capture client in paused state.
https://review.tizen.org/gerrit/#/c/291188/

- Fix issues in video capture device tizen
We need keep MJPEG and ENCODED
Fix missing type in function GetCaptureApiTypeString()
https://review.tizen.org/gerrit/#/c/291169/

- Support H.264 codec for the public profile.
Set ffmpeg_branding to "Chrome" for enabling H.264 decoders.
https://review.tizen.org/gerrit/#/c/294042/

Change-Id: I02076dfa9c98ec344cbbdc18847d6a99a781d1a1
Signed-off-by: Sun-woo Nam <sunny.nam@samsung.com>
19 files changed:
content/browser/renderer_host/media/video_capture_controller.cc
media/base/video_codecs.h
media/capture/video/video_capture_device_descriptor.cc
media/mojo/mojom/stable/stable_video_decoder_types_mojom_traits.h
services/video_capture/device_factory_impl.cc
third_party/blink/public/platform/modules/video_capture/web_video_capture_impl_manager.h
third_party/blink/renderer/modules/mediastream/local_video_capturer_source.cc
third_party/blink/renderer/modules/mediastream/local_video_capturer_source.h
third_party/blink/renderer/modules/mediastream/media_stream_constraints_util.h
third_party/blink/renderer/modules/mediastream/media_stream_video_capturer_source.cc
third_party/blink/renderer/modules/mediastream/user_media_processor.cc
third_party/blink/renderer/platform/exported/video_capture/web_video_capture_impl_manager.cc
tizen_src/build/config/BUILD.gn
tizen_src/build/gn_chromiumefl.sh
tizen_src/chromium_impl/media/capture/video/tizen/camera_device_tizen.cc
tizen_src/chromium_impl/media/capture/video/tizen/camera_device_tizen.h
tizen_src/chromium_impl/media/capture/video/tizen/video_capture_device_factory_tizen.cc
tizen_src/chromium_impl/media/capture/video/tizen/video_capture_device_tizen.cc
tizen_src/chromium_impl/media/capture/video/tizen/video_capture_device_tizen.h