38e1c79185
Extend experiment to use both vectors from MBs coded using compound prediction as candidates. In final sort only consider best 4 candidates for now but make sure 0,0 is always one of them. Other minor changes to new MV reference code. Pass in Mv list to vp8_find_best_ref_mvs(). Change-Id: Ib96220c33c6b80bd1d5e0fbe8b68121be7997095
34 lines
802 B
C
34 lines
802 B
C
/*
|
|
* Copyright (c) 2012 The WebM project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#include "onyxc_int.h"
|
|
#include "blockd.h"
|
|
|
|
// MR reference entropy header file.
|
|
#if CONFIG_NEW_MVREF
|
|
|
|
#ifndef __INC_MVREF_COMMON_H
|
|
#define __INC_MVREF_COMMON_H
|
|
|
|
unsigned int mv_distance(int_mv *mv1, int_mv *mv2);
|
|
|
|
void find_mv_refs(
|
|
MACROBLOCKD *xd,
|
|
MODE_INFO *here,
|
|
MODE_INFO *lf_here,
|
|
MV_REFERENCE_FRAME ref_frame,
|
|
int_mv * mv_ref_list,
|
|
int *ref_sign_bias
|
|
);
|
|
|
|
#endif
|
|
|
|
#endif
|