2014-01-10 20:51:20 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2014 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.
|
|
|
|
*/
|
|
|
|
|
2014-01-18 21:16:11 +01:00
|
|
|
#ifndef VP9_ENCODER_VP9_PICKMODE_H_
|
|
|
|
#define VP9_ENCODER_VP9_PICKMODE_H_
|
|
|
|
|
2014-04-19 03:27:47 +02:00
|
|
|
#include "vp9/encoder/vp9_encoder.h"
|
2014-01-10 20:51:20 +01:00
|
|
|
|
2014-01-18 21:16:11 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2014-06-20 19:11:34 +02:00
|
|
|
typedef struct {
|
|
|
|
uint8_t *data;
|
|
|
|
int stride;
|
|
|
|
int in_use;
|
|
|
|
} PRED_BUFFER;
|
|
|
|
|
2014-01-10 20:51:20 +01:00
|
|
|
int64_t vp9_pick_inter_mode(VP9_COMP *cpi, MACROBLOCK *x,
|
|
|
|
const struct TileInfo *const tile,
|
|
|
|
int mi_row, int mi_col,
|
|
|
|
int *returnrate,
|
|
|
|
int64_t *returndistortion,
|
2014-07-08 17:36:25 +02:00
|
|
|
BLOCK_SIZE bsize,
|
|
|
|
PICK_MODE_CONTEXT *ctx);
|
2014-01-18 21:16:11 +01:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} // extern "C"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif // VP9_ENCODER_VP9_PICKMODE_H_
|