• Urvang Joshi's avatar
    Code cleanup: mainly rd_pick_partition and methods called from there. · 52648448
    Urvang Joshi authored
    - Const correctness
    - Refactoring
    - Make variables local when possible etc
    - Remove -Wcast-qual to allow explicitly casting away const.
    Cherry-picked from aomedia/master: c27fcccc
    And then a number of more const correctness changes to make sure other
    experiments build OK.
    Change-Id: I77c18d99d21218fbdc9b186d7ed3792dc401a0a0