vp9_mcomp: don't mark setup_center_error() inline
this function is a bit too involved for the hint; avoids a -Winline warning Change-Id: Ib82e424764aa78b37ddb94116e2b009a6de31d35
This commit is contained in:
parent
471302a07b
commit
7ea431df98
@ -286,20 +286,20 @@ static INLINE const uint8_t *pre(const uint8_t *buf, int stride, int r, int c) {
|
|||||||
bestmv->row *= 8; \
|
bestmv->row *= 8; \
|
||||||
bestmv->col *= 8;
|
bestmv->col *= 8;
|
||||||
|
|
||||||
static INLINE unsigned int setup_center_error(const MACROBLOCKD *xd,
|
static unsigned int setup_center_error(const MACROBLOCKD *xd,
|
||||||
const MV *bestmv,
|
const MV *bestmv,
|
||||||
const MV *ref_mv,
|
const MV *ref_mv,
|
||||||
int error_per_bit,
|
int error_per_bit,
|
||||||
const vp9_variance_fn_ptr_t *vfp,
|
const vp9_variance_fn_ptr_t *vfp,
|
||||||
const uint8_t *const src,
|
const uint8_t *const src,
|
||||||
const int src_stride,
|
const int src_stride,
|
||||||
const uint8_t *const y,
|
const uint8_t *const y,
|
||||||
int y_stride,
|
int y_stride,
|
||||||
const uint8_t *second_pred,
|
const uint8_t *second_pred,
|
||||||
int w, int h, int offset,
|
int w, int h, int offset,
|
||||||
int *mvjcost, int *mvcost[2],
|
int *mvjcost, int *mvcost[2],
|
||||||
unsigned int *sse1,
|
unsigned int *sse1,
|
||||||
int *distortion) {
|
int *distortion) {
|
||||||
unsigned int besterr;
|
unsigned int besterr;
|
||||||
#if CONFIG_VP9_HIGHBITDEPTH
|
#if CONFIG_VP9_HIGHBITDEPTH
|
||||||
if (second_pred != NULL) {
|
if (second_pred != NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user