]> granicus.if.org Git - libvpx/commit
Implement get_mv_cost()
authorAngie Chiang <angiebird@google.com>
Thu, 31 Jan 2019 02:30:56 +0000 (18:30 -0800)
committerAngie Chiang <angiebird@google.com>
Thu, 31 Jan 2019 02:30:56 +0000 (18:30 -0800)
commit9d86430ed5fd90971cffb2d060b329345fadb0ab
treec7704eaa04f617af502becdf52e879b37ccacfaf
parent5dcdeb4cf8a619324099ed1715d5689055ff5494
Implement get_mv_cost()

The mv_cost contains mv_mode cost and mv_diff cost.

The mv_mode cost is inferred from default_inter_mode_probs.
The mv_diff cost is estimated used the log2 function.

Change-Id: I62702bdb5c3fec018e3302765f5dd749fceebc12
vp9/encoder/vp9_encoder.c