Merge "Move frame stats output to after update"
This commit is contained in:
commit
9e0b5abc30
@ -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)
|
if (cpi->refresh_golden_frame == 1)
|
||||||
cpi->frame_flags |= FRAMEFLAGS_GOLDEN;
|
cpi->frame_flags |= FRAMEFLAGS_GOLDEN;
|
||||||
else
|
else
|
||||||
@ -2254,6 +2251,10 @@ static void encode_frame_to_data_rate(VP9_COMP *cpi,
|
|||||||
cm->last_frame_type = cm->frame_type;
|
cm->last_frame_type = cm->frame_type;
|
||||||
vp9_rc_postencode_update(cpi, *size);
|
vp9_rc_postencode_update(cpi, *size);
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
output_frame_level_debug_stats(cpi);
|
||||||
|
#endif
|
||||||
|
|
||||||
if (cm->frame_type == KEY_FRAME) {
|
if (cm->frame_type == KEY_FRAME) {
|
||||||
// Tell the caller that the frame was coded as a key frame
|
// Tell the caller that the frame was coded as a key frame
|
||||||
*frame_flags = cpi->frame_flags | FRAMEFLAGS_KEY;
|
*frame_flags = cpi->frame_flags | FRAMEFLAGS_KEY;
|
||||||
|
Loading…
Reference in New Issue
Block a user