Niels Möller cc26fef5b2 Use a CopyOnWriteBuffer to back EncodedImage data
Intended to make copy construction and assignment of EncodedImage
cheaper, but otherwise not have any effect on users of the class.

Bug: webrtc:9378, chromium:931692
Change-Id: I22cf8c05f6ef7b7b5cf7ef08fd0dfc5c61211196
Reviewed-on: https://webrtc-review.googlesource.com/c/123442
Reviewed-by: Philip Eliasson <philipel@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26760}
2019-02-20 07:41:51 +00:00

37 lines
774 B
Python

specific_include_rules = {
# Until the new VideoStreamDecoder is implemented the current decoding
# pipeline will be used, and therefore EncodedFrame needs to inherit
# VCMEncodedFrame.
"encoded_frame.h": [
"+modules/video_coding/encoded_frame.h",
],
# Used for a private member variable.
"encoded_image\.h": [
"+rtc_base/copy_on_write_buffer.h",
],
"i010_buffer\.h": [
"+rtc_base/memory/aligned_malloc.h",
],
"i420_buffer\.h": [
"+rtc_base/memory/aligned_malloc.h",
],
"video_frame\.h": [
],
"video_frame_buffer\.h": [
"+rtc_base/ref_count.h",
],
"video_stream_decoder_create.cc": [
"+video/video_stream_decoder_impl.h",
],
"video_stream_encoder_create.cc": [
"+video/video_stream_encoder.h",
],
}