Create public EncodedFrame interface.

The plan is to:
 1. Move FrameObject to api/video.
 2. Rename FrameObject to EncodedFrame.
 3. Move EncodedFrame out of the video_coding namespace.

This is the 1st CL.

Bug: webrtc:8909
Change-Id: I2e5100eda6c51bcefb32295e03b73cf1f5c213a4
Reviewed-on: https://webrtc-review.googlesource.com/55560
Commit-Queue: Tommi <tommi@webrtc.org>
Reviewed-by: Tommi <tommi@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#22135}
This commit is contained in:
philipel
2018-02-21 14:30:34 +01:00
committed by Commit Bot
parent 257cb101d5
commit d5a272ff51
7 changed files with 116 additions and 54 deletions

View File

@ -17,13 +17,6 @@
namespace webrtc {
namespace video_coding {
FrameObject::FrameObject()
: picture_id(0),
spatial_layer(0),
timestamp(0),
num_references(0),
inter_layer_predicted(false) {}
RtpFrameObject::RtpFrameObject(PacketBuffer* packet_buffer,
uint16_t first_seq_num,
uint16_t last_seq_num,