diff options
author | John Koleszar <jkoleszar@google.com> | 2010-12-15 08:11:07 -0500 |
---|---|---|
committer | John Koleszar <jkoleszar@google.com> | 2010-12-15 08:11:07 -0500 |
commit | f7224e14c86869857b257e36d45262235fc40ee1 (patch) | |
tree | f81a93e2ec26749f5a90cfe3a6b25557fca43f28 /vp8/encoder/onyx_if.c | |
parent | f6dc56a1c986f23bbb45e1f2143daa4f3951e968 (diff) | |
parent | 3ac73173a4c7e5be0a9846bc323699e7365c60ee (diff) | |
download | libvpx-f7224e14c86869857b257e36d45262235fc40ee1.tar libvpx-f7224e14c86869857b257e36d45262235fc40ee1.tar.gz libvpx-f7224e14c86869857b257e36d45262235fc40ee1.tar.bz2 libvpx-f7224e14c86869857b257e36d45262235fc40ee1.zip |
Merge remote branch 'internal/upstream' into HEAD
Conflicts:
vp8/common/entropy.c
Change-Id: Ic95302e327f80afd0261ac5bd9881f38296def47
Diffstat (limited to 'vp8/encoder/onyx_if.c')
-rw-r--r-- | vp8/encoder/onyx_if.c | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c index 37f22fe7e..6f912c99d 100644 --- a/vp8/encoder/onyx_if.c +++ b/vp8/encoder/onyx_if.c @@ -4220,8 +4220,7 @@ static void encode_frame_to_data_rate // Update the GF useage maps. // This is done after completing the compression of a frame when all modes etc. are finalized but before loop filter vp8_update_gf_useage_maps(cpi, cm, &cpi->mb); -//////////////////////////////// -//////////////////////////////// + // This frame's MVs are saved and will be used in next frame's MV prediction. if(cm->show_frame) //do not save for altref frame { @@ -4230,21 +4229,6 @@ static void encode_frame_to_data_rate MODE_INFO *tmp = cm->mip; //point to beginning of allocated MODE_INFO arrays. //static int last_video_frame = 0; - /* - if (cm->current_video_frame == 0) //first frame: set to 0 - { - for (mb_row = 0; mb_row < cm->mb_rows+1; mb_row ++) - { - for (mb_col = 0; mb_col < cm->mb_cols+1; mb_col ++) - { - cpi->lfmv[mb_col + mb_row*(cm->mode_info_stride)].as_int = 0; - cpi->lf_ref_frame_sign_bias[mb_col + mb_row*(cm->mode_info_stride)] = 0; - cpi->lf_ref_frame[mb_col + mb_row*(cm->mode_info_stride)] = 0; - } - } - }else - */ - if(cm->frame_type != KEY_FRAME) { for (mb_row = 0; mb_row < cm->mb_rows+1; mb_row ++) @@ -4256,20 +4240,12 @@ static void encode_frame_to_data_rate cpi->lf_ref_frame_sign_bias[mb_col + mb_row*(cm->mode_info_stride)] = cm->ref_frame_sign_bias[tmp->mbmi.ref_frame]; cpi->lf_ref_frame[mb_col + mb_row*(cm->mode_info_stride)] = tmp->mbmi.ref_frame; - //printf("[%d, %d] ", cpi->lfmv[mb_col + mb_row*(cm->mode_info_stride-1)].as_mv.row, cpi->lfmv[mb_col + mb_row*(cm->mode_info_stride-1)].as_mv.col); tmp++; } } - - //last_video_frame = cm->current_video_frame; } } -//printf("after: %d %d \n", cm->current_video_frame, cm->show_frame ); - - - - // Update the GF useage maps. // This is done after completing the compression of a frame when all modes etc. are finalized but before loop filter |