Commit 043de633 authored by Angie Chiang's avatar Angie Chiang
Browse files

Turn off has_subpel_mv_component check

This CL aim at facilitating hardware implementation
The check will be turned on once we have faster motion vector
coding system

Performance drop
lowres 0.157%
midres 0.260%

Change-Id: Iedc961f44efadfe84ff9edab408f44845bffcfe9
parent e7e37208
......@@ -474,9 +474,11 @@ void av1_setup_pre_planes(MACROBLOCKD *xd, int idx,
// Detect if the block have sub-pixel level motion vectors
// per component.
#define CHECK_SUBPEL 0
static INLINE int has_subpel_mv_component(const MODE_INFO *const mi,
const MACROBLOCKD *const xd,
int dir) {
const MB_MODE_INFO *const mbmi = &mi->mbmi;
const BLOCK_SIZE bsize = mbmi->sb_type;
int plane;
......@@ -517,6 +519,12 @@ static INLINE int has_subpel_mv_component(const MODE_INFO *const mi,
return 0;
return 1;
static INLINE int av1_is_interp_needed(const MACROBLOCKD *const xd) {
Supports Markdown
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