Add PictureID and NonReference to codec information

The PictureID and NonReference information is now routed from the
encoder to the RTP packetizer through CodecSpecificInfo and 
RTPVideoHeaderVP8.
Review URL: http://webrtc-codereview.appspot.com/51003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@155 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
hlundin@google.com
2011-07-07 08:04:23 +00:00
parent dcdf311b6c
commit f0a476bf76
11 changed files with 523 additions and 506 deletions

View File

@@ -41,10 +41,14 @@ struct RTPVideoHeaderH263
bool bits; // H.263 mode B, Xor the lasy byte of previus packet with the
// first byte of this packet
};
enum {kNoPictureId = -1};
struct RTPVideoHeaderVP8
{
bool startBit; // Start of partition
bool stopBit; // Stop of partition
bool startBit; // Start of partition.
bool stopBit; // Stop of partition.
WebRtc_Word16 pictureId; // Picture ID index, 15 bits;
// kNoPictureId if PictureID does not exist.
bool nonReference; // Frame is discardable.
};
union RTPVideoTypeHeader
{