diff options
author | Jingning Han <jingning@google.com> | 2014-12-23 09:30:24 -0800 |
---|---|---|
committer | Jingning Han <jingning@google.com> | 2014-12-23 09:33:58 -0800 |
commit | eb1795f64363c670c7034855fe62968e05b6a884 (patch) | |
tree | 68321385eea0a6891bd9b11a4a494e2c7107afa3 /vp9/encoder/vp9_pickmode.c | |
parent | f4eab151c57fe7e3b608249ce0be53675e271143 (diff) | |
download | libvpx-eb1795f64363c670c7034855fe62968e05b6a884.tar libvpx-eb1795f64363c670c7034855fe62968e05b6a884.tar.gz libvpx-eb1795f64363c670c7034855fe62968e05b6a884.tar.bz2 libvpx-eb1795f64363c670c7034855fe62968e05b6a884.zip |
Set ref frame scaling factor in RTC inter mode decision
Properly set the corresponding scaling factor of the reference
frame in the non-RD mode decision process. This allows the mode
search process to account for the scaled reference frame when
selecting coding mode.
Change-Id: I9d41bff6931c98e5a82b413e37ac5e6e14b93b23
Diffstat (limited to 'vp9/encoder/vp9_pickmode.c')
-rw-r--r-- | vp9/encoder/vp9_pickmode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_pickmode.c b/vp9/encoder/vp9_pickmode.c index 319a47833..9c3a0a8bc 100644 --- a/vp9/encoder/vp9_pickmode.c +++ b/vp9/encoder/vp9_pickmode.c @@ -662,6 +662,7 @@ void vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x, clamp_mv2(&frame_mv[NEARMV][ref_frame].as_mv, xd); mbmi->ref_frame[0] = ref_frame; + set_ref_ptrs(cm, xd, ref_frame, NONE); for (this_mode = NEARESTMV; this_mode <= NEWMV; ++this_mode) { int rate_mv = 0; |