778ec421e7
This commit merges those parts of the CONFIG_NEW_MVREF that specifically relate to choosing a better set of candidate MV references into the NEWBESTREFMV experiment. CONFIG_NEW_MVREF will then be used for changes relating to the explicit coding of a cost optimized MV reference in the bitstream as part of MV coding. Change-Id: Ied982c0ad72093eab29e38b8cd74d5c3d7458b10
34 lines
805 B
C
34 lines
805 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_NEWBESTREFMV
|
|
|
|
#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
|