diff options
author | Adrian Grange <agrange@google.com> | 2014-05-13 10:07:36 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@gerrit.golo.chromium.org> | 2014-05-13 10:07:36 -0700 |
commit | 9e0b5abc301f24d16e91fe75690e7391425ca1a9 (patch) | |
tree | 28ff8a5752059a169874bcfc06653d2e0ee49cb0 /vp9 | |
parent | 38f3cf125efe262f661d4f1e95d6eba0fb349e57 (diff) | |
parent | 8d2fff7cb45b141b341d9430618b444892d59066 (diff) | |
download | libvpx-9e0b5abc301f24d16e91fe75690e7391425ca1a9.tar libvpx-9e0b5abc301f24d16e91fe75690e7391425ca1a9.tar.gz libvpx-9e0b5abc301f24d16e91fe75690e7391425ca1a9.tar.bz2 libvpx-9e0b5abc301f24d16e91fe75690e7391425ca1a9.zip |
Merge "Move frame stats output to after update"
Diffstat (limited to 'vp9')
-rw-r--r-- | vp9/encoder/vp9_encoder.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c index 52f958fcb..2756bf0fa 100644 --- a/vp9/encoder/vp9_encoder.c +++ b/vp9/encoder/vp9_encoder.c @@ -2236,9 +2236,6 @@ static void encode_frame_to_data_rate(VP9_COMP *cpi, } } -#if 0 - output_frame_level_debug_stats(cpi); -#endif if (cpi->refresh_golden_frame == 1) cpi->frame_flags |= FRAMEFLAGS_GOLDEN; else @@ -2254,6 +2251,10 @@ static void encode_frame_to_data_rate(VP9_COMP *cpi, cm->last_frame_type = cm->frame_type; vp9_rc_postencode_update(cpi, *size); +#if 0 + output_frame_level_debug_stats(cpi); +#endif + if (cm->frame_type == KEY_FRAME) { // Tell the caller that the frame was coded as a key frame *frame_flags = cpi->frame_flags | FRAMEFLAGS_KEY; |