1. 09 Nov, 2012 1 commit
    • Vignesh Venkatasubramanian's avatar
      Packing Altref along with succeeding frame and length encoding frames · bc9670ee
      Vignesh Venkatasubramanian authored
      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
  2. 07 Nov, 2012 3 commits
    • James Zern's avatar
    • Yaowu Xu's avatar
      merge full pixel refmv experiment · 0cedaa36
      Yaowu Xu authored
      Change-Id: Ib39ad47a7d188f3b45416937b7eeb28c3e79b74c
    • James Zern's avatar
      Fix variance (signed integer) overflow · 98473443
      James Zern authored
      In the variance calculations the difference is summed and later squared.
      When the sum exceeds sqrt(2^31) the value is treated as a negative when
      it is shifted which gives incorrect results.
      To fix this we force the multiplication to be unsigned.
      The alternative fix is to shift sum down by 4 before multiplying.
      However that will reduce precision.
      For 16x16 blocks the maximum sum is 65280 and sqrt(2^31) is 46340 (and
      This change is based on:
      16982342 Missed some variance casts
      fea3556e Fix variance overflow
      Change-Id: I2c61856cca9db54b9b81de83b4505ea81a050a0f
  3. 06 Nov, 2012 12 commits
  4. 05 Nov, 2012 4 commits
  5. 03 Nov, 2012 1 commit
  6. 02 Nov, 2012 5 commits
  7. 01 Nov, 2012 3 commits
  8. 31 Oct, 2012 10 commits
  9. 30 Oct, 2012 1 commit
    • Yunqing Wang's avatar
      Convert the transforms to integer forms. · 8a9e4e8a
      Yunqing Wang authored
      Converted the forward and inverse transforms to integer forms.
      Modify #define TEST_INT 1/0
      in the code to call integer/float version of transforms.
      The tests showed that average OVERALL PSNR loss was less than 0.1%.
      Change-Id: I1dfa4eeab6412597e3b970ce299cf0e116a917e6