webrtc::VideoRenderer class, replacing it by rtc::VideoSinkInterface. The next step is to convert all places where a renderer is attached to rtc::VideoSourceInterface, and at that point, the SmoothsRenderedFrames method can be replaced by a flag rtc::VideoSinkWants::smoothed_frames. Delete unused method IsTextureSupported. Delete unused time argument to RenderFrame. Let webrtc::VideoRenderer inherit rtc::VideoSinkInterface. Rename RenderFrame --> OnFrame. TBR=kjellander@webrtc.org BUG=webrtc:5426 Review URL: https://codereview.webrtc.org/1814763002 Cr-Commit-Position: refs/heads/master@{#12070}
51 lines
1.3 KiB
Python
51 lines
1.3 KiB
Python
# Define rules for which include paths are allowed in our source.
|
|
include_rules = [
|
|
# Base is only used to build Android APK tests and may not be referenced by
|
|
# WebRTC production code.
|
|
"-base",
|
|
"-chromium",
|
|
"+external/webrtc/webrtc", # Android platform build.
|
|
"+gflags",
|
|
"+libyuv",
|
|
"+testing",
|
|
"-webrtc", # Has to be disabled; otherwise all dirs below will be allowed.
|
|
# Individual headers that will be moved out of here, see webrtc:
|
|
"+webrtc/audio_receive_stream.h",
|
|
"+webrtc/audio_send_stream.h",
|
|
"+webrtc/audio_sink.h",
|
|
"+webrtc/audio_state.h",
|
|
"+webrtc/call.h",
|
|
"+webrtc/common.h",
|
|
"+webrtc/common_types.h",
|
|
"+webrtc/config.h",
|
|
"+webrtc/engine_configurations.h",
|
|
"+webrtc/frame_callback.h",
|
|
"+webrtc/stream.h",
|
|
"+webrtc/transport.h",
|
|
"+webrtc/typedefs.h",
|
|
"+webrtc/video_decoder.h",
|
|
"+webrtc/video_encoder.h",
|
|
"+webrtc/video_frame.h",
|
|
"+webrtc/video_receive_stream.h",
|
|
"+webrtc/video_renderer.h",
|
|
"+webrtc/video_send_stream.h",
|
|
|
|
"+webrtc/base",
|
|
"+webrtc/modules/include",
|
|
"+webrtc/test",
|
|
"+webrtc/tools",
|
|
]
|
|
|
|
# The below rules will be removed when webrtc: is fixed.
|
|
specific_include_rules = {
|
|
"audio_send_stream\.h": [
|
|
"+webrtc/modules/audio_coding",
|
|
],
|
|
"video_frame\.h": [
|
|
"+webrtc/common_video",
|
|
],
|
|
"video_renderer\.h": [
|
|
"+webrtc/media/base",
|
|
],
|
|
}
|