Packing Altref along with succeeding frame and length encoding frames
authorVignesh Venkatasubramanian <vigneshv@google.com>
Mon, 29 Oct 2012 22:57:44 +0000 (15:57 -0700)
committerJohn Koleszar <jkoleszar@google.com>
Fri, 9 Nov 2012 20:04:53 +0000 (12:04 -0800)
commitbc9670eee0c2a8731cca5e967d8e90a3a13911c3
tree5b74dd9e8866d9041fb6baebdcb31058df83d723
parent5338d983d655664614fffc29142331a928ce018f
Packing Altref along with succeeding frame and length encoding frames

The altref frame is packed along with the next P frame. So that
outside of the codec there are now only two types of frames P and I.
Also, now it is one frame in and one frame out with respect to the
codec. Apart from that, all the frames are length encoded with the
length of each frame appended to the frame itself. There are
two categories of frames and each of them will look as follows:

  - Packed frames (an altref along with the succeeding p frame)
    - altref_frame_data | altref_lenngth | frame_data | length
  - Unpacked frames (all frames other than the above)
    - frame_data | length

Change-Id: If1eabf5c473f7d46b3f2d026bd30c803588c5330
vp9/vp9_cx_iface.c
vpx/src/vpx_decoder.c