Commit c79088fb authored by Zoe Liu's avatar Zoe Liu
Browse files

Remove the unused code on frame_distortion

Change-Id: I965ba1e9a4e286769ed1d492950ca8d6f7c73678
parent dc250207
......@@ -4079,11 +4079,6 @@ static void encode_frame_internal(AV1_COMP *cpi) {
// If intrabc is allowed but never selected, reset the allow_intrabc flag.
if (cm->allow_intrabc && !cpi->intrabc_used) cm->allow_intrabc = 0;
#endif // CONFIG_INTRABC
#if 0
// Keep record of the total distortion this time around for future use
cpi->last_frame_distortion = cpi->frame_distortion;
#endif
}
static void make_consistent_compound_tools(AV1_COMMON *cm) {
......
......@@ -2507,12 +2507,6 @@ void av1_change_config(struct AV1_COMP *cpi, const AV1EncoderConfig *oxcf) {
rc->is_last_bipred_frame = 0;
rc->is_bipred_frame = 0;
#if 0
// Experimental RD Code
cpi->frame_distortion = 0;
cpi->last_frame_distortion = 0;
#endif
set_tile_info(cpi);
cpi->ext_refresh_frame_flags_pending = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment