8b92f1e023
Adds support for compound inter-intra prediction with superblocks. Also, fixes a bug that disabled intra modes for superblocks. Change-Id: I4d711317e1bc19df8c2f32dc645429f7fff31036
45 lines
2.2 KiB
C
45 lines
2.2 KiB
C
/*
|
|
* Copyright (c) 2010 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.
|
|
*/
|
|
|
|
#ifndef VP9_COMMON_VP9_RECONINTRA_H_
|
|
#define VP9_COMMON_VP9_RECONINTRA_H_
|
|
|
|
#include "vp9/common/vp9_blockd.h"
|
|
|
|
extern void vp9_recon_intra_mbuv(MACROBLOCKD *xd);
|
|
extern B_PREDICTION_MODE vp9_find_dominant_direction(unsigned char *ptr,
|
|
int stride, int n);
|
|
extern B_PREDICTION_MODE vp9_find_bpred_context(BLOCKD *x);
|
|
#if CONFIG_COMP_INTERINTRA_PRED
|
|
extern void vp9_build_interintra_16x16_predictors_mb(MACROBLOCKD *xd,
|
|
unsigned char *ypred,
|
|
unsigned char *upred,
|
|
unsigned char *vpred,
|
|
int ystride,
|
|
int uvstride);
|
|
extern void vp9_build_interintra_16x16_predictors_mby(MACROBLOCKD *xd,
|
|
unsigned char *ypred,
|
|
int ystride);
|
|
extern void vp9_build_interintra_16x16_predictors_mbuv(MACROBLOCKD *xd,
|
|
unsigned char *upred,
|
|
unsigned char *vpred,
|
|
int uvstride);
|
|
#if CONFIG_SUPERBLOCKS
|
|
extern void vp9_build_interintra_32x32_predictors_sb(MACROBLOCKD *xd,
|
|
unsigned char *ypred,
|
|
unsigned char *upred,
|
|
unsigned char *vpred,
|
|
int ystride,
|
|
int uvstride);
|
|
#endif
|
|
#endif
|
|
|
|
#endif // __INC_RECONINTRA_H
|