Port alt reference frame filter improvement to VP9
Use sharp filter to generate motion compensated reference for temporal filtering. It improves the average coding performance of VP9 speed 0: derf 0.34% hevcmr 0.38% stdhd 0.58% Change-Id: I1772a051be545de8c343055274e5ca0929d19cda
This commit is contained in:
		@@ -45,8 +45,7 @@ static void temporal_filter_predictors_mb_c(MACROBLOCKD *xd,
 | 
			
		||||
                                            int x, int y) {
 | 
			
		||||
  const int which_mv = 0;
 | 
			
		||||
  const MV mv = { mv_row, mv_col };
 | 
			
		||||
  const InterpKernel *const kernel =
 | 
			
		||||
    vp9_filter_kernels[xd->mi[0]->interp_filter];
 | 
			
		||||
  const InterpKernel *const kernel = vp9_filter_kernels[EIGHTTAP_SHARP];
 | 
			
		||||
 | 
			
		||||
  enum mv_precision mv_precision_uv;
 | 
			
		||||
  int uv_stride;
 | 
			
		||||
@@ -86,6 +85,7 @@ static void temporal_filter_predictors_mb_c(MACROBLOCKD *xd,
 | 
			
		||||
    return;
 | 
			
		||||
  }
 | 
			
		||||
#endif  // CONFIG_VP9_HIGHBITDEPTH
 | 
			
		||||
  (void)xd;
 | 
			
		||||
  vp9_build_inter_predictor(y_mb_ptr, stride,
 | 
			
		||||
                            &pred[0], 16,
 | 
			
		||||
                            &mv,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user