2010-05-18 17:58:33 +02:00
|
|
|
/*
|
2010-09-09 14:16:39 +02:00
|
|
|
* Copyright (c) 2010 The WebM project authors. All Rights Reserved.
|
2010-05-18 17:58:33 +02:00
|
|
|
*
|
2010-06-18 18:39:21 +02:00
|
|
|
* Use of this source code is governed by a BSD-style license
|
2010-06-04 22:19:40 +02:00
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
2010-06-18 18:39:21 +02:00
|
|
|
* in the file PATENTS. All contributing project authors may
|
2010-06-04 22:19:40 +02:00
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
2010-05-18 17:58:33 +02:00
|
|
|
*/
|
|
|
|
|
2012-11-30 01:36:10 +01:00
|
|
|
#ifndef VP9_COMMON_VP9_RECONINTRA_H_
|
|
|
|
#define VP9_COMMON_VP9_RECONINTRA_H_
|
2010-05-18 17:58:33 +02:00
|
|
|
|
2012-12-19 00:31:19 +01:00
|
|
|
#include "vpx/vpx_integer.h"
|
2012-11-28 19:41:40 +01:00
|
|
|
#include "vp9/common/vp9_blockd.h"
|
2012-05-15 01:21:01 +02:00
|
|
|
|
2013-02-27 00:52:05 +01:00
|
|
|
void vp9_recon_intra_mbuv(MACROBLOCKD *xd);
|
|
|
|
|
|
|
|
B_PREDICTION_MODE vp9_find_dominant_direction(uint8_t *ptr,
|
2013-03-16 17:26:52 +01:00
|
|
|
int stride, int n,
|
|
|
|
int tx, int ty);
|
2013-02-27 00:52:05 +01:00
|
|
|
|
2013-03-16 17:26:52 +01:00
|
|
|
B_PREDICTION_MODE vp9_find_bpred_context(MACROBLOCKD *xd, BLOCKD *x);
|
2013-02-27 00:52:05 +01:00
|
|
|
|
2012-11-07 15:50:25 +01:00
|
|
|
#if CONFIG_COMP_INTERINTRA_PRED
|
2013-02-27 00:52:05 +01:00
|
|
|
void vp9_build_interintra_16x16_predictors_mb(MACROBLOCKD *xd,
|
|
|
|
uint8_t *ypred,
|
|
|
|
uint8_t *upred,
|
|
|
|
uint8_t *vpred,
|
|
|
|
int ystride,
|
|
|
|
int uvstride);
|
|
|
|
|
|
|
|
void vp9_build_interintra_16x16_predictors_mby(MACROBLOCKD *xd,
|
|
|
|
uint8_t *ypred,
|
|
|
|
int ystride);
|
|
|
|
|
|
|
|
void vp9_build_interintra_16x16_predictors_mbuv(MACROBLOCKD *xd,
|
|
|
|
uint8_t *upred,
|
|
|
|
uint8_t *vpred,
|
|
|
|
int uvstride);
|
2012-12-19 00:31:19 +01:00
|
|
|
#endif // CONFIG_COMP_INTERINTRA_PRED
|
|
|
|
|
2013-02-27 00:52:05 +01:00
|
|
|
void vp9_build_interintra_32x32_predictors_sb(MACROBLOCKD *xd,
|
|
|
|
uint8_t *ypred,
|
|
|
|
uint8_t *upred,
|
|
|
|
uint8_t *vpred,
|
|
|
|
int ystride,
|
|
|
|
int uvstride);
|
|
|
|
|
|
|
|
void vp9_build_interintra_64x64_predictors_sb(MACROBLOCKD *xd,
|
|
|
|
uint8_t *ypred,
|
|
|
|
uint8_t *upred,
|
|
|
|
uint8_t *vpred,
|
|
|
|
int ystride,
|
|
|
|
int uvstride);
|
2010-05-18 17:58:33 +02:00
|
|
|
|
2012-12-19 00:31:19 +01:00
|
|
|
#endif // VP9_COMMON_VP9_RECONINTRA_H_
|