Fork
0
代码
介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
Fork
0
master
ohos_webrtc
/
modules
/
video_capture
下载当前目录
zhong-luping
添加鸿蒙适配脚本以及部分缺少的模块
81b248c6
创建于
2024年2月26日
历史提交
文件
最后提交记录
最后更新时间
linux
Video Capture PipeWire: Implement camera rotation support Support the Pipewire videotransform meta via the already existing shared infrastructure. This is needed for mobile devices which often have a 90 degree rotated camera - which is likely the reason there is already support in the shared code paths. Bug: webrtc:15464 Change-Id: I15223055d8675502ae326d270ebd2debbcfbfa50 Reviewed-on:
https://webrtc-review.googlesource.com/c/src/+/318641
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Per Kjellander <perkj@webrtc.org> Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/main@{
#40708
}
2 年前
test
Revert "Disable VideoCaptureTest due to flakyness" This reverts commit 4ee5e5f294dcd342851bbe80004ddd661fc6f3ed. Reason for revert: HW fixed (hopefully) Original change's description: > Disable VideoCaptureTest due to flakyness > > Bug: webrtc:15229 > Change-Id: I3303b13be74d9eae5c52ecb2b920c23ac7d063d4 > Reviewed-on:
https://webrtc-review.googlesource.com/c/src/+/308220
> Owners-Override: Mirko Bonadei <mbonadei@webrtc.org> > Commit-Queue: Björn Terelius <terelius@webrtc.org> > Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> > Cr-Commit-Position: refs/heads/main@{
#40244
} Bug: webrtc:15229 Change-Id: I30ad37236ffcb56d7ffe4d3efa3d03705be25c47 Reviewed-on:
https://webrtc-review.googlesource.com/c/src/+/311804
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/main@{
#40437
}
2 年前
windows
In VideoCaptureDS::{Start|Stop}Capture do not lock Sequence- and RaceCheckers ensure thread safety, and show that these locks protect nothing. Bug: webrtc:15181 Change-Id: I7c26cd9aea5fa72ad9435de5ec1b9135ac22b1e8 Reviewed-on:
https://webrtc-review.googlesource.com/c/src/+/305649
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Per Kjellander <perkj@webrtc.org> Cr-Commit-Position: refs/heads/main@{
#40345
}
2 年前
BUILD.gn
添加鸿蒙适配脚本以及部分缺少的模块 Signed-off-by: zhongluping <278527840@qq.com>
2 年前
DEPS
Including libyuv headers using fully qualified paths. Using fully qualified paths to include libyuv headers allows WebRTC to avoid to rely on the //third_party/libyuv:libyuv_config target to set the -I compiler flag. Today some WebRTC targets depend on //third_party/libyuv only to include //third_party/libyuv:libyuv_config but with fully qualified paths this should not be needed anymore. A follow-up CL will remove //third_party/libyuv from some targets that don't need it because they are not including libyuv headers. Bug: webrtc:8605 Change-Id: Icec707ca761aaf2ea8088e7f7a05ddde0de2619a No-Try: True Reviewed-on:
https://webrtc-review.googlesource.com/28220
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Magnus Flodman <mflodman@webrtc.org> Cr-Commit-Position: refs/heads/master@{
#21209
}
8 年前
OWNERS
add ilnik as owner of modules/video_capture Bug: none Change-Id: I050ed4508e1787806986efb7389585c9dbacdcb1 Reviewed-on:
https://webrtc-review.googlesource.com/c/src/+/261730
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Per Kjellander <perkj@webrtc.org> Cr-Commit-Position: refs/heads/main@{
#36834
}
3 年前
device_info_impl.cc
modules/video_capture: add NV12 support on Linux Add native NV12 support on Linux v4l2 video_capture module. Bug: webrtc:14650 Change-Id: I97e2010be4f15168b218da4855be8b0e985008a5 Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com> Reviewed-on:
https://webrtc-review.googlesource.com/c/src/+/282841
Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{
#38753
}
3 年前
device_info_impl.h
Remove top-level const from parameters in function declarations. This is a safe cleanup change since top-level const applied to parameters in function declarations (that are not also definitions) are ignored by the compiler. Hence, such changes do not change the type of the declared functions and are simply no-ops. Bug: webrtc:13610 Change-Id: Ibafb92c45119a6d8bdb6f9109aa8dad6385163a9 Reviewed-on:
https://webrtc-review.googlesource.com/c/src/+/249086
Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Ali Tofigh <alito@webrtc.org> Cr-Commit-Position: refs/heads/main@{
#35802
}
4 年前
raw_video_sink_interface.h
Add callback for raw frames for video capture This is needed for Chromium. The video capture API in Chromium expects the raw frames and it will always convert or copy the frame. With the existing API that would mean copying the frame twice. Bug: webrtc:13177 Change-Id: I71f6e2dc6d5a812c3641ac691b75d50178fa0de7 Reviewed-on:
https://webrtc-review.googlesource.com/c/src/+/264548
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/main@{
#39095
}
3 年前
video_capture.h
Add callback for raw frames for video capture This is needed for Chromium. The video capture API in Chromium expects the raw frames and it will always convert or copy the frame. With the existing API that would mean copying the frame twice. Bug: webrtc:13177 Change-Id: I71f6e2dc6d5a812c3641ac691b75d50178fa0de7 Reviewed-on:
https://webrtc-review.googlesource.com/c/src/+/264548
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/main@{
#39095
}
3 年前
video_capture_config.h
Reformat the WebRTC code base Running clang-format with chromium's style guide. The goal is n-fold: * providing consistency and readability (that's what code guidelines are for) * preventing noise with presubmit checks and git cl format * building on the previous point: making it easier to automatically fix format issues * you name it Please consider using git-hyper-blame to ignore this commit. Bug: webrtc:9340 Change-Id: I694567c4cdf8cee2860958cfe82bfaf25848bb87 Reviewed-on:
https://webrtc-review.googlesource.com/81185
Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Cr-Commit-Position: refs/heads/master@{
#23660
}
7 年前
video_capture_defines.h
Include module_common_types.h only where needed Bug: None Change-Id: I73d493f8f186b429c7be808f4dfac0398f150931 Reviewed-on:
https://webrtc-review.googlesource.com/c/src/+/153891
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{
#29277
}
6 年前
video_capture_factory.cc
Add pipewire/portal video capture support This makes it possible to access cameras through xdg-desktop-portal and pipewire. For pipewire, a shared state is needed between the enumeration and the creation of camera object. So a new API is needed with a shared options object that holds the state and can be used to choose which backend to try. Bug: webrtc:13177 Change-Id: Iaad2333b41e4e6fb112f4558ea4b623e59afcbd1 Reviewed-on:
https://webrtc-review.googlesource.com/c/src/+/261620
Reviewed-by: Alexander Cooper <alcooper@chromium.org> Commit-Queue: Alexander Cooper <alcooper@chromium.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/main@{
#39251
}
3 年前
video_capture_factory.h
Build video capture implementation for chromium It will be used to support cameras via xdg desktop portal / pipewire in chromium. This includes exporting additional classes that will be used by chromium. Bug: webrtc:13177 Change-Id: I7524ffb47ed2eb7af1de4d7fd741fbb15277a0a1 Reviewed-on:
https://webrtc-review.googlesource.com/c/src/+/264553
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/main@{
#39350
}
3 年前
video_capture_factory_null.cc
Add support for stand-alone Fuchsia build. When target_os is set to "fuchsia": BUILD: suppress Wundef flag DEPS: download the Fuchsia SDK audio_encoding: add header include video_capture: video_capture_factory is not yet implemented for Fuchsia so we add a null capture factory when building for Fuchsia. Bug: webrtc:14061 Change-Id: Id6ca7418859c85293a0a5e2a8427807ee039db2c Reviewed-on:
https://webrtc-review.googlesource.com/c/src/+/262200
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Minyue Li <minyue@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/main@{
#37030
}
3 年前
video_capture_impl.cc
Check ConvertToI420 result for all errors in VideoCaptureImpl::IncomingFrame Bug: webrtc:15415 Change-Id: Ia303e1803d8238c4db68c7dc8d207b0ccfccadba Reviewed-on:
https://webrtc-review.googlesource.com/c/src/+/316343
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/main@{
#40762
}
2 年前
video_capture_impl.h
In VideoCaptureImpl and subclasses add thread and lock annotations This annotates all unannotated members in VideoCaptureImpl and its subclasses with either of: - api_checker_: access on the api thread only - capture_checker_: access in callbacks/on the capture thread while capture is active, on the api thread otherwise - a Mutex if it is already protected by it Bug: webrtc:15181 Change-Id: I5084e7752a4716c29b85a9b403a88696f66d811f Reviewed-on:
https://webrtc-review.googlesource.com/c/src/+/305647
Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Per Kjellander <perkj@webrtc.org> Cr-Commit-Position: refs/heads/main@{
#40335
}
2 年前
video_capture_options.cc
PipeWire video capture: split portal and PipeWire implementations Allows to use camera portal separately in implementations where each implementation needs to be called in different places. This is targeted for Firefox support, where we need to ask for camera access in the FF frontend code, otherwise making camera access requests in the backend WebRTC code might result into presenting portal dialogs asking for access from the javascript API. Bug: webrtc:15202 Change-Id: Ida8b010bb93e08a9e5ddd9dd8a2a3549ee7fde8b Reviewed-on:
https://webrtc-review.googlesource.com/c/src/+/305222
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Alexander Cooper <alcooper@chromium.org> Commit-Queue: Jan Grulich <grulja@gmail.com> Cr-Commit-Position: refs/heads/main@{
#40148
}
2 年前
video_capture_options.h
Use a constant for invalid PipeWire file descriptor We use value -1 on over all the places through our code so it might be better to define a constant and use it instead to make the code more understandable on first look. Bug: webrtc:15203 Change-Id: I4fc3e561bc7a7778c43ec6cfde7acebef2af79e8 Reviewed-on:
https://webrtc-review.googlesource.com/c/src/+/306620
Reviewed-by: Alexander Cooper <alcooper@chromium.org> Commit-Queue: Jan Grulich <grulja@gmail.com> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/main@{
#40156
}
2 年前