Skip to content

Commit

Permalink
Other improvements.
Browse files Browse the repository at this point in the history
Added yuv_helper (#57)

ABGRToI420, ARGBToI420 & ARGBToRGB24 (#65)

more yuv wrappers (#87)

Fix naming for yuv helper (#113)

Fix missing `RTC_OBJC_TYPE` macros (#100)

Co-authored-by: Théo Monnom <theo.monnom@outlook.com>
Co-authored-by: Hiroshi Horie <548776+hiroshihorie@users.noreply.github.com>
  • Loading branch information
2 people authored and cloudwebrtc committed May 30, 2024
1 parent 4e9a298 commit 9225e04
Show file tree
Hide file tree
Showing 87 changed files with 1,235 additions and 238 deletions.
1 change: 1 addition & 0 deletions api/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ rtc_library("libjingle_peerconnection_api") {
"video:encoded_image",
"video:video_bitrate_allocator_factory",
"video:video_frame",
"video:yuv_helper",
"video:video_rtp_headers",
"video_codecs:video_codecs_api",

Expand Down
9 changes: 9 additions & 0 deletions api/peer_connection_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,15 @@ class RTC_EXPORT PeerConnectionInterface : public webrtc::RefCountInterface {
// The burst interval of the pacer, see TaskQueuePacedSender constructor.
absl::optional<TimeDelta> pacer_burst_interval;

// When this flag is set, ports not bound to any specific network interface
// will be used, in addition to normal ports bound to the enumerated
// interfaces. Without this flag, these "any address" ports would only be
// used when network enumeration fails or is disabled. But under certain
// conditions, these ports may succeed where others fail, so they may allow
// the application to work in a wider variety of environments, at the expense
// of having to allocate additional candidates.
bool enable_any_address_ports = false;

//
// Don't forget to update operator== if adding something.
//
Expand Down
13 changes: 13 additions & 0 deletions api/video/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,19 @@ rtc_library("video_frame") {
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
}

rtc_library("yuv_helper") {
visibility = [ "*" ]
sources = [
"yuv_helper.cc",
"yuv_helper.h",
]

deps = [
"../../rtc_base/system:rtc_export",
"//third_party/libyuv",
]
}

if (is_android) {
java_cpp_enum("video_frame_enums") {
sources = [ "video_frame_buffer.h" ]
Expand Down
Loading

0 comments on commit 9225e04

Please sign in to comment.