Skip to content

Commit 60c85fb

Browse files
theomonnomhiroshihorie
authored andcommitted
Other improvements.
Added yuv_helper (#57) ABGRToI420, ARGBToI420 & ARGBToRGB24 (#65) more yuv wrappers (#87) Fix naming for yuv helper (#113) Fix camera rotation (#92) Fix missing `RTC_OBJC_TYPE` macros (#100) Co-authored-by: Théo Monnom <[email protected]> Co-authored-by: Hiroshi Horie <[email protected]>
1 parent bc75a4b commit 60c85fb

File tree

87 files changed

+1262
-262
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+1262
-262
lines changed

api/BUILD.gn

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ rtc_library("libjingle_peerconnection_api") {
368368
"video:encoded_image",
369369
"video:video_bitrate_allocator_factory",
370370
"video:video_frame",
371+
"video:yuv_helper",
371372
"video:video_rtp_headers",
372373
"video_codecs:video_codecs_api",
373374

api/peer_connection_interface.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -680,6 +680,15 @@ class RTC_EXPORT PeerConnectionInterface : public webrtc::RefCountInterface {
680680
// The burst interval of the pacer, see TaskQueuePacedSender constructor.
681681
absl::optional<TimeDelta> pacer_burst_interval;
682682

683+
// When this flag is set, ports not bound to any specific network interface
684+
// will be used, in addition to normal ports bound to the enumerated
685+
// interfaces. Without this flag, these "any address" ports would only be
686+
// used when network enumeration fails or is disabled. But under certain
687+
// conditions, these ports may succeed where others fail, so they may allow
688+
// the application to work in a wider variety of environments, at the expense
689+
// of having to allocate additional candidates.
690+
bool enable_any_address_ports = false;
691+
683692
//
684693
// Don't forget to update operator== if adding something.
685694
//

api/video/BUILD.gn

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,19 @@ rtc_library("video_frame") {
8181
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
8282
}
8383

84+
rtc_library("yuv_helper") {
85+
visibility = [ "*" ]
86+
sources = [
87+
"yuv_helper.cc",
88+
"yuv_helper.h",
89+
]
90+
91+
deps = [
92+
"../../rtc_base/system:rtc_export",
93+
"//third_party/libyuv",
94+
]
95+
}
96+
8497
if (is_android) {
8598
java_cpp_enum("video_frame_enums") {
8699
sources = [ "video_frame_buffer.h" ]

0 commit comments

Comments
 (0)