Delete picture id and tl0 index from CodecSpecificInfo.
This is a followup to https://webrtc-review.googlesource.com/61640, moving the responsibility for setting these values to the PayloadRouter. Bug: webrtc:8830 Change-Id: I8e5a02cf7bb7417166f04d5511aab7a778799bc1 Reviewed-on: https://webrtc-review.googlesource.com/83164 Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23654}
This commit is contained in:
@ -28,21 +28,14 @@ class RTPFragmentationHeader; // forward declaration
|
||||
// Note: if any pointers are added to this struct, it must be fitted
|
||||
// with a copy-constructor. See below.
|
||||
struct CodecSpecificInfoVP8 {
|
||||
// TODO(nisse): Used on receive side only. Move elsewhere?
|
||||
int16_t pictureId; // Negative value to skip pictureId.
|
||||
bool nonReference;
|
||||
uint8_t simulcastIdx;
|
||||
uint8_t temporalIdx;
|
||||
bool layerSync;
|
||||
// TODO(nisse): Used on receive side only. Move elsewhere?
|
||||
int tl0PicIdx; // Negative value to skip tl0PicIdx.
|
||||
int8_t keyIdx; // Negative value to skip keyIdx.
|
||||
};
|
||||
|
||||
struct CodecSpecificInfoVP9 {
|
||||
// TODO(nisse): Used on receive side only. Move elsewhere?
|
||||
int16_t picture_id; // Negative value to skip pictureId.
|
||||
|
||||
bool first_frame_in_picture; // First frame, increment picture_id.
|
||||
bool inter_pic_predicted; // This layer frame is dependent on previously
|
||||
// coded frame(s).
|
||||
@ -50,8 +43,6 @@ struct CodecSpecificInfoVP9 {
|
||||
bool ss_data_available;
|
||||
bool non_ref_for_inter_layer_pred;
|
||||
|
||||
// TODO(nisse): Used on receive side only. Move elsewhere?
|
||||
int tl0_pic_idx; // Negative value to skip tl0PicIdx.
|
||||
uint8_t temporal_idx;
|
||||
uint8_t spatial_idx;
|
||||
bool temporal_up_switch;
|
||||
|
Reference in New Issue
Block a user